@thinkwise/testwise 0.1.75 → 0.1.97
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Testwise.ts +13 -4
- package/components/BaseComponentObjects.ts +1 -1
- package/components/actionbar/Actionbar.ts +45 -38
- package/components/actionbar/ActionbarObjects.ts +53 -17
- package/components/actionbar/CustomActionBar.ts +10 -0
- package/components/cardlist/Cardlist.ts +14 -0
- package/components/cardlist/CardlistObjects.ts +5 -0
- package/components/chart/Chart.ts +14 -0
- package/components/chart/ChartObjects.ts +5 -0
- package/components/combined-filter/CombinedFIlterObjects.ts +5 -0
- package/components/combined-filter/CombinedFilter.ts +14 -0
- package/components/cube-view-bar/CubeViewBar.ts +14 -0
- package/components/cube-view-bar/CubeViewBarObjects.ts +5 -0
- package/components/filter/FilterForm.ts +11 -8
- package/components/filter/FilterFormObjects.ts +5 -0
- package/components/filter/FindForm.ts +2 -10
- package/components/grid/Grid.ts +4 -2
- package/components/grid/GridObjects.ts +1 -1
- package/components/index.ts +21 -2
- package/components/maps/Maps.ts +14 -0
- package/components/maps/MapsObjects.ts +5 -0
- package/components/menu/ListBarMenuComponent.ts +37 -0
- package/components/menu/ListBarMenuComponentObjects.ts +14 -0
- package/components/pivot-grid/PivotGrid.ts +14 -0
- package/components/pivot-grid/PivotGridFieldList.ts +14 -0
- package/components/pivot-grid/PivotGridFieldListObjects.ts +5 -0
- package/components/pivot-grid/PivotGridObjects.ts +5 -0
- package/components/pop-up/PopUpComponent.ts +7 -5
- package/components/pop-up/PopUpComponentObjects.ts +4 -5
- package/components/prefilter-list/PrefilterList.ts +14 -0
- package/components/prefilter-list/PrefilterListObjects.ts +5 -0
- package/components/preview/Preview.ts +14 -0
- package/components/preview/PreviewObjects.ts +5 -0
- package/components/report-bar/ReportBar.ts +14 -0
- package/components/report-bar/ReportBarObjects.ts +5 -0
- package/components/report-tiles/ReportTiles.ts +14 -0
- package/components/report-tiles/ReportTilesObjects.ts +5 -0
- package/components/scheduler/Scheduler.ts +14 -0
- package/components/scheduler/SchedulerObjects.ts +5 -0
- package/components/snackbar/SnackBar.ts +29 -0
- package/components/snackbar/SnackBarObjects.ts +14 -0
- package/components/splitter/Splitter.ts +11 -0
- package/components/splitter/SplitterObjects.ts +5 -0
- package/components/tab/ComponentTab.ts +5 -0
- package/components/tab/ComponentTabObjects.ts +3 -0
- package/components/tab/DetailTab.ts +1 -1
- package/components/tab/DetailTabObjects.ts +2 -1
- package/components/tab/Tab.ts +14 -0
- package/components/tab/TabObjects.ts +5 -0
- package/components/task/TaskTiles.ts +28 -0
- package/components/task/TaskTilesObjects.ts +24 -0
- package/components/topbar/TopBar.ts +14 -0
- package/components/topbar/TopBarObjects.ts +12 -0
- package/components/tree-view/TreeView.ts +14 -0
- package/components/tree-view/TreeViewObjects.ts +5 -0
- package/dist/Testwise.d.ts +2 -1
- package/dist/Testwise.js +14 -5
- package/dist/Testwise.js.map +1 -1
- package/dist/bdd.d.ts +6 -0
- package/dist/bdd.js +9 -0
- package/dist/bdd.js.map +1 -0
- package/dist/biome.json +1 -1
- package/dist/components/BaseComponentObjects.d.ts +1 -1
- package/dist/components/actionbar/Actionbar.d.ts +31 -26
- package/dist/components/actionbar/Actionbar.js +34 -26
- package/dist/components/actionbar/Actionbar.js.map +1 -1
- package/dist/components/actionbar/ActionbarObjects.d.ts +23 -11
- package/dist/components/actionbar/ActionbarObjects.js +30 -11
- package/dist/components/actionbar/ActionbarObjects.js.map +1 -1
- package/dist/components/actionbar/CustomActionBar.d.ts +5 -0
- package/dist/components/actionbar/CustomActionBar.js +7 -0
- package/dist/components/actionbar/CustomActionBar.js.map +1 -0
- package/dist/components/cardlist/Cardlist.d.ts +7 -0
- package/dist/components/cardlist/Cardlist.js +10 -0
- package/dist/components/cardlist/Cardlist.js.map +1 -0
- package/dist/components/cardlist/CardlistObjects.d.ts +3 -0
- package/dist/components/cardlist/CardlistObjects.js +4 -0
- package/dist/components/cardlist/CardlistObjects.js.map +1 -0
- package/dist/components/chart/Chart.d.ts +7 -0
- package/dist/components/chart/Chart.js +10 -0
- package/dist/components/chart/Chart.js.map +1 -0
- package/dist/components/chart/ChartObjects.d.ts +3 -0
- package/dist/components/chart/ChartObjects.js +4 -0
- package/dist/components/chart/ChartObjects.js.map +1 -0
- package/dist/components/combined-filter/CombinedFIlterObjects.d.ts +3 -0
- package/dist/components/combined-filter/CombinedFIlterObjects.js +4 -0
- package/dist/components/combined-filter/CombinedFIlterObjects.js.map +1 -0
- package/dist/components/combined-filter/CombinedFilter.d.ts +7 -0
- package/dist/components/combined-filter/CombinedFilter.js +10 -0
- package/dist/components/combined-filter/CombinedFilter.js.map +1 -0
- package/dist/components/cube-view-bar/CubeViewBar.d.ts +7 -0
- package/dist/components/cube-view-bar/CubeViewBar.js +10 -0
- package/dist/components/cube-view-bar/CubeViewBar.js.map +1 -0
- package/dist/components/cube-view-bar/CubeViewBarObjects.d.ts +3 -0
- package/dist/components/cube-view-bar/CubeViewBarObjects.js +4 -0
- package/dist/components/cube-view-bar/CubeViewBarObjects.js.map +1 -0
- package/dist/components/filter/FilterForm.d.ts +6 -4
- package/dist/components/filter/FilterForm.js +7 -7
- package/dist/components/filter/FilterForm.js.map +1 -1
- package/dist/components/filter/FilterFormObjects.d.ts +3 -0
- package/dist/components/filter/FilterFormObjects.js +4 -0
- package/dist/components/filter/FilterFormObjects.js.map +1 -0
- package/dist/components/filter/FindForm.d.ts +1 -4
- package/dist/components/filter/FindForm.js +1 -8
- package/dist/components/filter/FindForm.js.map +1 -1
- package/dist/components/grid/Grid.js +4 -1
- package/dist/components/grid/Grid.js.map +1 -1
- package/dist/components/grid/GridObjects.js +1 -1
- package/dist/components/grid/GridObjects.js.map +1 -1
- package/dist/components/index.d.ts +21 -2
- package/dist/components/index.js +21 -2
- package/dist/components/index.js.map +1 -1
- package/dist/components/maps/Maps.d.ts +7 -0
- package/dist/components/maps/Maps.js +10 -0
- package/dist/components/maps/Maps.js.map +1 -0
- package/dist/components/maps/MapsObjects.d.ts +3 -0
- package/dist/components/maps/MapsObjects.js +4 -0
- package/dist/components/maps/MapsObjects.js.map +1 -0
- package/dist/components/menu/ListBarMenuComponent.d.ts +10 -0
- package/dist/components/menu/ListBarMenuComponent.js +29 -0
- package/dist/components/menu/ListBarMenuComponent.js.map +1 -0
- package/dist/components/menu/ListBarMenuComponentObjects.d.ts +7 -0
- package/dist/components/menu/ListBarMenuComponentObjects.js +8 -0
- package/dist/components/menu/ListBarMenuComponentObjects.js.map +1 -0
- package/dist/components/pivot-grid/PivotGrid.d.ts +7 -0
- package/dist/components/pivot-grid/PivotGrid.js +10 -0
- package/dist/components/pivot-grid/PivotGrid.js.map +1 -0
- package/dist/components/pivot-grid/PivotGridFieldList.d.ts +7 -0
- package/dist/components/pivot-grid/PivotGridFieldList.js +10 -0
- package/dist/components/pivot-grid/PivotGridFieldList.js.map +1 -0
- package/dist/components/pivot-grid/PivotGridFieldListObjects.d.ts +3 -0
- package/dist/components/pivot-grid/PivotGridFieldListObjects.js +4 -0
- package/dist/components/pivot-grid/PivotGridFieldListObjects.js.map +1 -0
- package/dist/components/pivot-grid/PivotGridObjects.d.ts +3 -0
- package/dist/components/pivot-grid/PivotGridObjects.js +4 -0
- package/dist/components/pivot-grid/PivotGridObjects.js.map +1 -0
- package/dist/components/pop-up/PopUpComponent.d.ts +5 -5
- package/dist/components/pop-up/PopUpComponent.js +6 -4
- package/dist/components/pop-up/PopUpComponent.js.map +1 -1
- package/dist/components/pop-up/PopUpComponentObjects.d.ts +3 -4
- package/dist/components/pop-up/PopUpComponentObjects.js +3 -4
- package/dist/components/pop-up/PopUpComponentObjects.js.map +1 -1
- package/dist/components/prefilter-list/PrefilterList.d.ts +7 -0
- package/dist/components/prefilter-list/PrefilterList.js +10 -0
- package/dist/components/prefilter-list/PrefilterList.js.map +1 -0
- package/dist/components/prefilter-list/PrefilterListObjects.d.ts +3 -0
- package/dist/components/prefilter-list/PrefilterListObjects.js +4 -0
- package/dist/components/prefilter-list/PrefilterListObjects.js.map +1 -0
- package/dist/components/preview/Preview.d.ts +7 -0
- package/dist/components/preview/Preview.js +10 -0
- package/dist/components/preview/Preview.js.map +1 -0
- package/dist/components/preview/PreviewObjects.d.ts +3 -0
- package/dist/components/preview/PreviewObjects.js +4 -0
- package/dist/components/preview/PreviewObjects.js.map +1 -0
- package/dist/components/report-bar/ReportBar.d.ts +7 -0
- package/dist/components/report-bar/ReportBar.js +10 -0
- package/dist/components/report-bar/ReportBar.js.map +1 -0
- package/dist/components/report-bar/ReportBarObjects.d.ts +3 -0
- package/dist/components/report-bar/ReportBarObjects.js +4 -0
- package/dist/components/report-bar/ReportBarObjects.js.map +1 -0
- package/dist/components/report-tiles/ReportTiles.d.ts +7 -0
- package/dist/components/report-tiles/ReportTiles.js +10 -0
- package/dist/components/report-tiles/ReportTiles.js.map +1 -0
- package/dist/components/report-tiles/ReportTilesObjects.d.ts +3 -0
- package/dist/components/report-tiles/ReportTilesObjects.js +4 -0
- package/dist/components/report-tiles/ReportTilesObjects.js.map +1 -0
- package/dist/components/scheduler/Scheduler.d.ts +7 -0
- package/dist/components/scheduler/Scheduler.js +10 -0
- package/dist/components/scheduler/Scheduler.js.map +1 -0
- package/dist/components/scheduler/SchedulerObjects.d.ts +3 -0
- package/dist/components/scheduler/SchedulerObjects.js +4 -0
- package/dist/components/scheduler/SchedulerObjects.js.map +1 -0
- package/dist/components/snackbar/SnackBar.d.ts +10 -0
- package/dist/components/snackbar/SnackBar.js +21 -0
- package/dist/components/snackbar/SnackBar.js.map +1 -0
- package/dist/components/snackbar/SnackBarObjects.d.ts +8 -0
- package/dist/components/snackbar/SnackBarObjects.js +10 -0
- package/dist/components/snackbar/SnackBarObjects.js.map +1 -0
- package/dist/components/splitter/Splitter.d.ts +6 -0
- package/dist/components/splitter/Splitter.js +8 -0
- package/dist/components/splitter/Splitter.js.map +1 -0
- package/dist/components/splitter/SplitterObjects.d.ts +3 -0
- package/dist/components/splitter/SplitterObjects.js +4 -0
- package/dist/components/splitter/SplitterObjects.js.map +1 -0
- package/dist/components/tab/ComponentTab.d.ts +1 -0
- package/dist/components/tab/ComponentTab.js +4 -0
- package/dist/components/tab/ComponentTab.js.map +1 -1
- package/dist/components/tab/ComponentTabObjects.d.ts +1 -0
- package/dist/components/tab/ComponentTabObjects.js +1 -0
- package/dist/components/tab/ComponentTabObjects.js.map +1 -1
- package/dist/components/tab/DetailTab.js +1 -1
- package/dist/components/tab/DetailTab.js.map +1 -1
- package/dist/components/tab/DetailTabObjects.d.ts +1 -0
- package/dist/components/tab/DetailTabObjects.js +1 -0
- package/dist/components/tab/DetailTabObjects.js.map +1 -1
- package/dist/components/tab/Tab.d.ts +7 -0
- package/dist/components/tab/Tab.js +10 -0
- package/dist/components/tab/Tab.js.map +1 -0
- package/dist/components/tab/TabObjects.d.ts +3 -0
- package/dist/components/tab/TabObjects.js +4 -0
- package/dist/components/tab/TabObjects.js.map +1 -0
- package/dist/components/task/{TaskTile.d.ts → TaskTiles.d.ts} +4 -4
- package/dist/components/task/TaskTiles.js +20 -0
- package/dist/components/task/TaskTiles.js.map +1 -0
- package/dist/components/task/{TaskTileObjects.d.ts → TaskTilesObjects.d.ts} +1 -1
- package/dist/components/task/TaskTilesObjects.js +18 -0
- package/dist/components/task/TaskTilesObjects.js.map +1 -0
- package/dist/components/topbar/TopBar.d.ts +7 -0
- package/dist/components/topbar/TopBar.js +9 -0
- package/dist/components/topbar/TopBar.js.map +1 -0
- package/dist/components/topbar/TopBarObjects.d.ts +7 -0
- package/dist/components/topbar/TopBarObjects.js +9 -0
- package/dist/components/topbar/TopBarObjects.js.map +1 -0
- package/dist/components/tree-view/TreeView.d.ts +7 -0
- package/dist/components/tree-view/TreeView.js +10 -0
- package/dist/components/tree-view/TreeView.js.map +1 -0
- package/dist/components/tree-view/TreeViewObjects.d.ts +3 -0
- package/dist/components/tree-view/TreeViewObjects.js +4 -0
- package/dist/components/tree-view/TreeViewObjects.js.map +1 -0
- package/dist/helpers/TestExtensions.d.ts +8 -0
- package/dist/helpers/TestExtensions.js +21 -0
- package/dist/helpers/TestExtensions.js.map +1 -0
- package/dist/interfaces/IComponentObjects.js.map +1 -0
- package/dist/interfaces/IStoredTestResults.d.ts +5 -0
- package/dist/interfaces/IStoredTestResults.js +2 -0
- package/dist/interfaces/IStoredTestResults.js.map +1 -0
- package/dist/package-lock.json +411 -615
- package/dist/package.json +3 -2
- package/dist/page-extensions/GlobalComponents.d.ts +5 -2
- package/dist/page-extensions/GlobalComponents.js +4 -1
- package/dist/page-extensions/GlobalComponents.js.map +1 -1
- package/dist/page-extensions/GoToDeepLink.d.ts +1 -1
- package/dist/page-extensions/LoginFeatures.d.ts +1 -1
- package/dist/page-extensions/UserSimulation.d.ts +1 -1
- package/dist/page-extensions/WaitEventHandler.d.ts +1 -1
- package/dist/page-overrides/ClickOverride.d.ts +1 -1
- package/dist/page-overrides/FillOverride.d.ts +1 -1
- package/dist/page-overrides/FillOverride.js +7 -6
- package/dist/page-overrides/FillOverride.js.map +1 -1
- package/dist/services/ReportingService.js.map +1 -1
- package/dist/types/Test.js +2 -0
- package/dist/types/Test.js.map +1 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.js +1 -1
- package/dist/types/index.js.map +1 -1
- package/interfaces/IStoredTestResults.ts +6 -0
- package/package.json +3 -2
- package/page-extensions/GlobalComponents.ts +14 -2
- package/page-extensions/GoToDeepLink.ts +1 -1
- package/page-extensions/LoginFeatures.ts +1 -1
- package/page-extensions/UserSimulation.ts +1 -1
- package/page-extensions/WaitEventHandler.ts +1 -1
- package/page-overrides/ClickOverride.ts +1 -1
- package/page-overrides/FillOverride.ts +10 -7
- package/promptCredentials.js +124 -124
- package/scripts/setup.js +34 -34
- package/services/ReportingService.ts +2 -6
- package/types/index.ts +1 -1
- package/components/BaseComponent.ts +0 -95
- package/components/Splitter.ts +0 -11
- package/components/TSFComponent.ts +0 -8
- package/components/task/TaskTile.ts +0 -28
- package/components/task/TaskTileObjects.ts +0 -20
- package/dist/components/BaseComponent.d.ts +0 -29
- package/dist/components/BaseComponent.js +0 -67
- package/dist/components/BaseComponent.js.map +0 -1
- package/dist/components/IComponentObjects.js.map +0 -1
- package/dist/components/Splitter.d.ts +0 -5
- package/dist/components/Splitter.js +0 -10
- package/dist/components/Splitter.js.map +0 -1
- package/dist/components/TSFComponent.d.ts +0 -6
- package/dist/components/TSFComponent.js +0 -2
- package/dist/components/TSFComponent.js.map +0 -1
- package/dist/components/task/TaskTile.js +0 -20
- package/dist/components/task/TaskTile.js.map +0 -1
- package/dist/components/task/TaskTileObjects.js +0 -15
- package/dist/components/task/TaskTileObjects.js.map +0 -1
- package/dist/seed-data/screen-schemas/chart.json +0 -25
- package/dist/seed-data/screen-schemas/chart_horizontal.json +0 -25
- package/dist/seed-data/screen-schemas/chart_no_fields.json +0 -14
- package/dist/seed-data/screen-schemas/cube.json +0 -40
- package/dist/seed-data/screen-schemas/cube_horizontal.json +0 -40
- package/dist/seed-data/screen-schemas/cube_no_fields.json +0 -25
- package/dist/seed-data/screen-schemas/form_only.json +0 -20
- package/dist/seed-data/screen-schemas/form_with_tree.json +0 -20
- package/dist/seed-data/screen-schemas/grid_with_card_list.json +0 -20
- package/dist/seed-data/screen-schemas/grid_with_filter_form.json +0 -20
- package/dist/seed-data/screen-schemas/grid_with_map.json +0 -20
- package/dist/seed-data/screen-schemas/grid_with_prefilter_bar.json +0 -20
- package/dist/seed-data/screen-schemas/grid_with_report_bar.json +0 -20
- package/dist/seed-data/screen-schemas/grid_with_report_tiles.json +0 -20
- package/dist/seed-data/screen-schemas/hierarchy.json +0 -43
- package/dist/seed-data/screen-schemas/hierarchy_card_list.json +0 -39
- package/dist/seed-data/screen-schemas/hierarchy_no_filter.json +0 -38
- package/dist/seed-data/screen-schemas/look_up_popup.json +0 -48
- package/dist/seed-data/screen-schemas/master_detail.json +0 -39
- package/dist/seed-data/screen-schemas/master_detail_no_filter.json +0 -34
- package/dist/seed-data/screen-schemas/master_detail_vertical.json +0 -39
- package/dist/seed-data/screen-schemas/master_detail_with_preview.json +0 -25
- package/dist/seed-data/screen-schemas/master_detail_with_task_bar.json +0 -48
- package/dist/seed-data/screen-schemas/master_detail_with_task_tiles.json +0 -44
- package/dist/seed-data/screen-schemas/master_vertical_detail.json +0 -39
- package/dist/seed-data/screen-schemas/pivot_grid.json +0 -25
- package/dist/seed-data/screen-schemas/pivot_grid_horizontal.json +0 -25
- package/dist/seed-data/screen-schemas/pivot_grid_no_fields.json +0 -14
- package/dist/seed-data/screen-schemas/scheduler.json +0 -14
- package/dist/seed-data/screen-schemas/test.json +0 -30
- package/dist/seed-data/screen-schemas/testpoonam.json +0 -40
- package/dist/seed-data/screen-schemas/view_customer_cube.json +0 -36
- package/dist/seed-data/subjects.json +0 -1586
- package/dist/types/CoreTypes.js +0 -2
- package/dist/types/CoreTypes.js.map +0 -1
- /package/dist/{components → interfaces}/IComponentObjects.d.ts +0 -0
- /package/dist/{components → interfaces}/IComponentObjects.js +0 -0
- /package/dist/types/{CoreTypes.d.ts → Test.d.ts} +0 -0
- /package/{components → interfaces}/IComponentObjects.ts +0 -0
- /package/types/{CoreTypes.ts → Test.ts} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Page } from '@playwright/test';
|
|
1
|
+
import type { Locator, Page } from '@playwright/test';
|
|
2
2
|
import { PopUpComponentObjects } from './PopUpComponentObjects.js';
|
|
3
3
|
|
|
4
4
|
export class PopUpComponent {
|
|
@@ -8,11 +8,13 @@ export class PopUpComponent {
|
|
|
8
8
|
this._objects = new PopUpComponentObjects(page);
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
public
|
|
11
|
+
public getContentText = async () => await this._objects.content().textContent();
|
|
12
12
|
|
|
13
|
-
public
|
|
13
|
+
public getContentBody = (): Locator => this._objects.content();
|
|
14
14
|
|
|
15
|
-
public
|
|
15
|
+
public getHeadingText = async () => await this._objects.heading().textContent();
|
|
16
16
|
|
|
17
|
-
public
|
|
17
|
+
public getActionButtonByText(text: string): Locator {
|
|
18
|
+
return this._objects.actionButton(text);
|
|
19
|
+
}
|
|
18
20
|
}
|
|
@@ -7,11 +7,10 @@ export class PopUpComponentObjects {
|
|
|
7
7
|
this._page = page;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
public
|
|
10
|
+
public content = () => this._page.locator('.popup__content');
|
|
11
11
|
|
|
12
|
-
public
|
|
12
|
+
public heading = () => this._page.locator('.popup__title');
|
|
13
13
|
|
|
14
|
-
public
|
|
15
|
-
|
|
16
|
-
public closeButton = () => this._page.getByTestId('popup__tsfmessage__actions__close');
|
|
14
|
+
public actionButton = (text: string) =>
|
|
15
|
+
this._page.locator(`[data-testid^="popup__"][data-testid$="__actions__${text}"]`);
|
|
17
16
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Locator, Page } from '@playwright/test';
|
|
2
|
+
import { PrefilterListObjects } from './PrefilterListObjects.js';
|
|
3
|
+
|
|
4
|
+
export class PrefilterList {
|
|
5
|
+
prefilterListObjects: PrefilterListObjects;
|
|
6
|
+
|
|
7
|
+
constructor(page: Page, context: Locator | null = null) {
|
|
8
|
+
this.prefilterListObjects = new PrefilterListObjects(page, context);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
public get context(): Locator | null {
|
|
12
|
+
return this.prefilterListObjects.context;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Locator, Page } from '@playwright/test';
|
|
2
|
+
import { PreviewObjects } from './PreviewObjects.js';
|
|
3
|
+
|
|
4
|
+
export class Preview {
|
|
5
|
+
previewObjects: PreviewObjects;
|
|
6
|
+
|
|
7
|
+
constructor(page: Page, context: Locator | null = null) {
|
|
8
|
+
this.previewObjects = new PreviewObjects(page, context);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
public get context(): Locator | null {
|
|
12
|
+
return this.previewObjects.context;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Locator, Page } from '@playwright/test';
|
|
2
|
+
import { ReportBarObjects } from './ReportBarObjects.js';
|
|
3
|
+
|
|
4
|
+
export class ReportBar {
|
|
5
|
+
reportBarObjects: ReportBarObjects;
|
|
6
|
+
|
|
7
|
+
constructor(page: Page, context: Locator | null = null) {
|
|
8
|
+
this.reportBarObjects = new ReportBarObjects(page, context);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
public get context(): Locator | null {
|
|
12
|
+
return this.reportBarObjects.context;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Locator, Page } from '@playwright/test';
|
|
2
|
+
import { ReportTilesObjects } from './ReportTilesObjects.js';
|
|
3
|
+
|
|
4
|
+
export class ReportTiles {
|
|
5
|
+
reportTilesObjects: ReportTilesObjects;
|
|
6
|
+
|
|
7
|
+
constructor(page: Page, context: Locator | null = null) {
|
|
8
|
+
this.reportTilesObjects = new ReportTilesObjects(page, context);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
public get context(): Locator | null {
|
|
12
|
+
return this.reportTilesObjects.context;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Locator, Page } from '@playwright/test';
|
|
2
|
+
import { SchedulerObjects } from './SchedulerObjects.js';
|
|
3
|
+
|
|
4
|
+
export class Scheduler {
|
|
5
|
+
treeViewObjects: SchedulerObjects;
|
|
6
|
+
|
|
7
|
+
constructor(page: Page, context: Locator | null = null) {
|
|
8
|
+
this.treeViewObjects = new SchedulerObjects(page, context);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
public get context(): Locator | null {
|
|
12
|
+
return this.treeViewObjects.context;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { Locator, Page } from '@playwright/test';
|
|
2
|
+
import { SnackBarObjects } from './SnackBarObjects.js';
|
|
3
|
+
|
|
4
|
+
export class SnackBarComponent {
|
|
5
|
+
private _objects: SnackBarObjects;
|
|
6
|
+
|
|
7
|
+
constructor(page: Page, snackBarContext: Locator | null = null) {
|
|
8
|
+
this._objects = new SnackBarObjects(page, snackBarContext);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
public getSnackbar = () => this._objects.snackBar();
|
|
12
|
+
|
|
13
|
+
public async getSnackbarText(index: number = 0): Promise<string | null> {
|
|
14
|
+
const snackbarMessage = this._objects.snackBar(index);
|
|
15
|
+
return await snackbarMessage.textContent();
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
public async snackBarText(index: number = 0): Promise<string | null> {
|
|
19
|
+
return await this._objects.snackBar(index).textContent();
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
public showMessagesButton() {
|
|
23
|
+
return this._objects.showMessagesButton();
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
public async showMessageButton() {
|
|
27
|
+
return this._objects.showMessageButton();
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Locator, Page } from '@playwright/test';
|
|
2
|
+
import { BaseComponentObjects } from '../BaseComponentObjects.js';
|
|
3
|
+
|
|
4
|
+
export class SnackBarObjects extends BaseComponentObjects {
|
|
5
|
+
constructor(page: Page, context: Locator | null = null) {
|
|
6
|
+
super(page, context);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
public snackBar = (index: number = 0) => this.context.getByTestId(`snackbars__${index}`);
|
|
10
|
+
|
|
11
|
+
public showMessagesButton = () => this.context.getByTestId('snackbars__show-messages');
|
|
12
|
+
|
|
13
|
+
public showMessageButton = (): Locator => this.context.getByTestId('snackbars__message');
|
|
14
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Locator, Page } from '@playwright/test';
|
|
2
|
+
import { SplitterObjects } from './SplitterObjects.js';
|
|
3
|
+
|
|
4
|
+
export class Splitter {
|
|
5
|
+
splitterObjects: SplitterObjects;
|
|
6
|
+
|
|
7
|
+
// ToDo: this is not the correct implementation, its temporary to allow generation to continue
|
|
8
|
+
constructor(page: Page, context: Locator | null = null) {
|
|
9
|
+
this.splitterObjects = new SplitterObjects(page, context);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -32,4 +32,9 @@ export class ComponentTab extends BaseTab {
|
|
|
32
32
|
public async getFormTab(): Promise<Locator> {
|
|
33
33
|
return this._objects.formTab();
|
|
34
34
|
}
|
|
35
|
+
|
|
36
|
+
// Opens a component tab by its ID in this tabstrip (scoped).
|
|
37
|
+
public async openComponentTabByID(componenttabid: string): Promise<void> {
|
|
38
|
+
await this._objects.componentTab(componenttabid).click();
|
|
39
|
+
}
|
|
35
40
|
}
|
|
@@ -11,4 +11,7 @@ export class ComponentTabObjects extends BaseTabObjects {
|
|
|
11
11
|
this.tabList().locator(`[role="tab"][data-testid^="tabstrip__tab__list"][tabindex="${tabindex}"]`);
|
|
12
12
|
|
|
13
13
|
public formTab = (): Locator => this.tabList().locator(`[role="tab"][data-testid^="tabstrip__tab__form"]`);
|
|
14
|
+
|
|
15
|
+
public componentTab = (componenttabid: string): Locator =>
|
|
16
|
+
this.tabList().locator(`[role="tab"][data-testid^="tabstrip__tab__${componenttabid}"]`);
|
|
14
17
|
}
|
|
@@ -11,7 +11,7 @@ export class DetailTab extends BaseTab {
|
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
public async getDetailTabById(name: string): Promise<Locator> {
|
|
14
|
-
return this._objects.
|
|
14
|
+
return this._objects.detailTab(name);
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
public async getDetailTabByIndex(index: number): Promise<Locator> {
|
|
@@ -6,5 +6,6 @@ export class DetailTabObjects extends BaseTabObjects {
|
|
|
6
6
|
super(page, context);
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
public detailTab = (detailtabid: string): Locator =>
|
|
10
|
+
this.tabList().locator(`[role="tab"][data-testid^="tabstrip__tab__${detailtabid}"]`);
|
|
10
11
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Locator, Page } from '@playwright/test';
|
|
2
|
+
import { TabObjects } from './TabObjects.js';
|
|
3
|
+
|
|
4
|
+
export class Tab {
|
|
5
|
+
tabObjects: TabObjects;
|
|
6
|
+
|
|
7
|
+
constructor(page: Page, context: Locator | null = null) {
|
|
8
|
+
this.tabObjects = new TabObjects(page, context);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
public get context(): Locator {
|
|
12
|
+
return this.tabObjects.context;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { Locator, Page } from '@playwright/test';
|
|
2
|
+
import { TaskTilesObjects } from './TaskTilesObjects.js';
|
|
3
|
+
|
|
4
|
+
export class TaskTiles {
|
|
5
|
+
private _taskTilesObjects: TaskTilesObjects;
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* @param taskTilesContext the taskTiles container element
|
|
9
|
+
*/
|
|
10
|
+
constructor(page: Page, taskTilesContext: Locator | null = null) {
|
|
11
|
+
this._taskTilesObjects = new TaskTilesObjects(page, taskTilesContext);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/** returns all task tile buttons */
|
|
15
|
+
public tasks = (): Locator => this._taskTilesObjects.tasks();
|
|
16
|
+
|
|
17
|
+
public getTaskById = (key: string): Locator => this._taskTilesObjects.taskById(key);
|
|
18
|
+
|
|
19
|
+
public getTaskByLabel = (label: string): Locator => this._taskTilesObjects.taskByLabel(label);
|
|
20
|
+
|
|
21
|
+
public clickById = async (key: string): Promise<void> => {
|
|
22
|
+
await this.getTaskById(key).click();
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
public clickByLabel = async (label: string): Promise<void> => {
|
|
26
|
+
await this.getTaskByLabel(label).click();
|
|
27
|
+
};
|
|
28
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { Locator, Page } from '@playwright/test';
|
|
2
|
+
import { BaseComponentObjects } from '../BaseComponentObjects.js';
|
|
3
|
+
|
|
4
|
+
export class TaskTilesObjects extends BaseComponentObjects {
|
|
5
|
+
constructor(page: Page, context: Locator | null = null) {
|
|
6
|
+
super(page, context);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
/** returns the taskbar container (same as provided context) */
|
|
10
|
+
public container = (): Locator => this.context.getByTestId('tasktiles');
|
|
11
|
+
|
|
12
|
+
/** all task buttons within this taskbar */
|
|
13
|
+
public tasks = (): Locator => this.container().locator('[data-testid^="tasktiles__task-"]');
|
|
14
|
+
|
|
15
|
+
/** task by its data-testid key, e.g. tasktiles__task__task-edit-a-category */
|
|
16
|
+
public taskById = (actionKey: string): Locator => this.container().getByTestId(`tasktiles__task-${actionKey}`);
|
|
17
|
+
|
|
18
|
+
/** task by accessible label, e.g. "Add new category" */
|
|
19
|
+
public taskByLabel = (label: string): Locator =>
|
|
20
|
+
this.container()
|
|
21
|
+
.locator('[data-testid$="__label"]', { hasText: label })
|
|
22
|
+
.locator('..') // label wrapper
|
|
23
|
+
.locator('..'); // tile root
|
|
24
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Locator, Page } from '@playwright/test';
|
|
2
|
+
import { TopBarObjects } from './TopBarObjects.js';
|
|
3
|
+
|
|
4
|
+
export class TopBarComponent {
|
|
5
|
+
private _objects: TopBarObjects;
|
|
6
|
+
|
|
7
|
+
constructor(page: Page, topbarContext: Locator | null = null) {
|
|
8
|
+
this._objects = new TopBarObjects(page, topbarContext);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
public getTopBarTitle = () => this._objects.topBarTitle();
|
|
12
|
+
|
|
13
|
+
public getTopBarBreadcrumb = () => this._objects.topBarBreadcrumb();
|
|
14
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Locator, Page } from '@playwright/test';
|
|
2
|
+
import { BaseComponentObjects } from '../BaseComponentObjects.js';
|
|
3
|
+
|
|
4
|
+
export class TopBarObjects extends BaseComponentObjects {
|
|
5
|
+
constructor(page: Page, context: Locator | null = null) {
|
|
6
|
+
super(page, context);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
public topBarTitle = () => this.context.getByTestId('topbar__title');
|
|
10
|
+
|
|
11
|
+
public topBarBreadcrumb = () => this.context.getByTestId('topbar__breadcrumb');
|
|
12
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Locator, Page } from '@playwright/test';
|
|
2
|
+
import { TreeViewObjects } from './TreeViewObjects.js';
|
|
3
|
+
|
|
4
|
+
export class TreeView {
|
|
5
|
+
treeViewObjects: TreeViewObjects;
|
|
6
|
+
|
|
7
|
+
constructor(page: Page, context: Locator | null = null) {
|
|
8
|
+
this.treeViewObjects = new TreeViewObjects(page, context);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
public get context(): Locator | null {
|
|
12
|
+
return this.treeViewObjects.context;
|
|
13
|
+
}
|
|
14
|
+
}
|
package/dist/Testwise.d.ts
CHANGED
package/dist/Testwise.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { test as base } from '@playwright/test';
|
|
2
|
+
import { test as bddBase } from 'playwright-bdd';
|
|
2
3
|
import { Components, GoToDeepLink, LoginFeatures, UserSimulation } from './page-extensions/index.js';
|
|
3
4
|
import { WaitEventHandler } from './page-extensions/WaitEventHandler.js';
|
|
4
5
|
import { ClickOverride } from './page-overrides/ClickOverride.js';
|
|
@@ -6,9 +7,17 @@ import { FillOverride } from './page-overrides/FillOverride.js';
|
|
|
6
7
|
function combineExtensions(baseTest, ...extensions) {
|
|
7
8
|
return extensions.reduce((test, Extension) => new Extension(test).test, baseTest);
|
|
8
9
|
}
|
|
9
|
-
|
|
10
|
-
// Override section
|
|
11
|
-
ClickOverride,
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
const extensions = [
|
|
11
|
+
// Override section
|
|
12
|
+
ClickOverride,
|
|
13
|
+
FillOverride,
|
|
14
|
+
// Extend section
|
|
15
|
+
Components,
|
|
16
|
+
GoToDeepLink,
|
|
17
|
+
LoginFeatures,
|
|
18
|
+
UserSimulation,
|
|
19
|
+
WaitEventHandler
|
|
20
|
+
];
|
|
21
|
+
export const test = combineExtensions(base, ...extensions);
|
|
22
|
+
export const bddTest = combineExtensions(bddBase, ...extensions);
|
|
14
23
|
//# sourceMappingURL=Testwise.js.map
|
package/dist/Testwise.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Testwise.js","sourceRoot":"","sources":["../Testwise.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,IAAI,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AACrG,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAGhE,SAAS,iBAAiB,CAAC,QAAc,EAAE,GAAG,UAAkD;IAC9F,OAAO,UAAU,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,SAAS,EAAE,EAAE,CAAC,IAAI,SAAS,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AACpF,CAAC;AAED,MAAM,CAAC,MAAM,IAAI,GAAS,iBAAiB,CACzC,IAAI
|
|
1
|
+
{"version":3,"file":"Testwise.js","sourceRoot":"","sources":["../Testwise.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,IAAI,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AACrG,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAGhE,SAAS,iBAAiB,CAAC,QAAc,EAAE,GAAG,UAAkD;IAC9F,OAAO,UAAU,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,SAAS,EAAE,EAAE,CAAC,IAAI,SAAS,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AACpF,CAAC;AAED,MAAM,UAAU,GAAG;IACjB,mBAAmB;IACnB,aAAa;IACb,YAAY;IAEZ,iBAAiB;IACjB,UAAU;IACV,YAAY;IACZ,aAAa;IACb,cAAc;IACd,gBAAgB;CACjB,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS,iBAAiB,CACzC,IAAI,EACJ,GAAG,UAAU,CACd,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAS,iBAAiB,CAC5C,OAAO,EACP,GAAG,UAAU,CACd,CAAC"}
|
package/dist/bdd.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const test: import("./index.js").Test;
|
|
2
|
+
export declare const testwise: {
|
|
3
|
+
Given: import("playwright-bdd").PlaywrightStyleStepCtor<import("playwright-bdd").PlaywrightStyleStepFn<import("playwright/test").PlaywrightTestArgs & import("playwright/test").PlaywrightTestOptions, import("playwright/test").PlaywrightWorkerArgs & import("playwright/test").PlaywrightWorkerOptions>>;
|
|
4
|
+
When: import("playwright-bdd").PlaywrightStyleStepCtor<import("playwright-bdd").PlaywrightStyleStepFn<import("playwright/test").PlaywrightTestArgs & import("playwright/test").PlaywrightTestOptions, import("playwright/test").PlaywrightWorkerArgs & import("playwright/test").PlaywrightWorkerOptions>>;
|
|
5
|
+
Then: import("playwright-bdd").PlaywrightStyleStepCtor<import("playwright-bdd").PlaywrightStyleStepFn<import("playwright/test").PlaywrightTestArgs & import("playwright/test").PlaywrightTestOptions, import("playwright/test").PlaywrightWorkerArgs & import("playwright/test").PlaywrightWorkerOptions>>;
|
|
6
|
+
};
|
package/dist/bdd.js
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/* eslint-disable @typescript-eslint/naming-convention */
|
|
2
|
+
import { createBdd } from 'playwright-bdd';
|
|
3
|
+
// Ensure the extension is .js for ESM compatibility
|
|
4
|
+
import { extendedTest } from './Testwise.js';
|
|
5
|
+
export const test = extendedTest;
|
|
6
|
+
const { Given, When, Then } = createBdd(test);
|
|
7
|
+
// This provides the 'testwise' object via @thinkwise/testwise/bdd
|
|
8
|
+
export const testwise = { Given, When, Then };
|
|
9
|
+
//# sourceMappingURL=bdd.js.map
|
package/dist/bdd.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bdd.js","sourceRoot":"","sources":["../bdd.ts"],"names":[],"mappings":"AAAA,yDAAyD;AACzD,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,oDAAoD;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAE7C,MAAM,CAAC,MAAM,IAAI,GAAG,YAAY,CAAC;AAEjC,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,SAAS,CAAC,IAAI,CAAC,CAAC;AAE9C,kEAAkE;AAClE,MAAM,CAAC,MAAM,QAAQ,GAAG,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC"}
|
package/dist/biome.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Locator, Page } from '@playwright/test';
|
|
2
|
-
import type { IComponentObjects } from '
|
|
2
|
+
import type { IComponentObjects } from '../interfaces/IComponentObjects.js';
|
|
3
3
|
export declare abstract class BaseComponentObjects implements IComponentObjects {
|
|
4
4
|
context: Locator;
|
|
5
5
|
constructor(page: Page, context?: Locator | null);
|
|
@@ -2,23 +2,25 @@ import type { Locator, Page } from '@playwright/test';
|
|
|
2
2
|
declare class ActionbarActions {
|
|
3
3
|
private _objects;
|
|
4
4
|
constructor(page: Page, context?: Locator | null);
|
|
5
|
+
getSearchInput: () => Locator;
|
|
6
|
+
getPrefilterButton: () => Locator;
|
|
7
|
+
getPrefilterButtonById: (id: string) => Locator;
|
|
8
|
+
getFilterButton: () => Locator;
|
|
5
9
|
getAddButton: () => Locator;
|
|
6
|
-
getCancelButton: () => Locator;
|
|
7
10
|
getCopyButton: () => Locator;
|
|
11
|
+
getUpdateButton: () => Locator;
|
|
8
12
|
getDeleteButton: () => Locator;
|
|
9
|
-
getRefreshButton: () => Locator;
|
|
10
13
|
getSaveButton: () => Locator;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
getImportButton: () => Locator;
|
|
14
|
-
getExportImmediatelyButton: () => Locator;
|
|
15
|
-
getMassUpdateButton: () => Locator;
|
|
14
|
+
getCancelButton: () => Locator;
|
|
15
|
+
getRefreshButton: () => Locator;
|
|
16
16
|
getQuickFilterButton: () => Locator;
|
|
17
|
-
getFilterButton: () => Locator;
|
|
18
17
|
getClearAllFiltersButton: () => Locator;
|
|
19
|
-
getRestoreSortOrderButton: () => Locator;
|
|
20
18
|
getSortButton: () => Locator;
|
|
21
|
-
|
|
19
|
+
getRestoreSortOrderButton: () => Locator;
|
|
20
|
+
getImportButton: () => Locator;
|
|
21
|
+
getExportButton: () => Locator;
|
|
22
|
+
getExportImmediatelyButton: () => Locator;
|
|
23
|
+
getMassUpdateButton: () => Locator;
|
|
22
24
|
getUpScreenTypeButton: () => Locator;
|
|
23
25
|
getUpDetailSettingsButton: () => Locator;
|
|
24
26
|
getUpManagePrefiltersButton: () => Locator;
|
|
@@ -26,10 +28,20 @@ declare class ActionbarActions {
|
|
|
26
28
|
getCubeSortButton: () => Locator;
|
|
27
29
|
getCubePivotSettingsButton: () => Locator;
|
|
28
30
|
getCubeChartSettingsButton: () => Locator;
|
|
29
|
-
|
|
31
|
+
getExportPivotButton: () => Locator;
|
|
30
32
|
getDeleteCubeViewButton: () => Locator;
|
|
33
|
+
getSaveAsCubeViewButton: () => Locator;
|
|
31
34
|
getCollapseAllButton: () => Locator;
|
|
32
35
|
getExpandAllButton: () => Locator;
|
|
36
|
+
getTaskButtons: () => Locator;
|
|
37
|
+
getTaskButtonById: (id: string) => Locator;
|
|
38
|
+
getTaskButtonByLabel: (label: string) => Locator;
|
|
39
|
+
getReportButtons: () => Locator;
|
|
40
|
+
getReportButtonById: (id: string) => Locator;
|
|
41
|
+
getReportButtonByLabel: (label: string) => Locator;
|
|
42
|
+
getCubeViewButtons: () => Locator;
|
|
43
|
+
getCubeViewButtonById: (id: string) => Locator;
|
|
44
|
+
getCubeViewButtonByLabel: (label: string) => Locator;
|
|
33
45
|
}
|
|
34
46
|
export declare class Actionbar extends ActionbarActions {
|
|
35
47
|
private _actionbarObjects;
|
|
@@ -37,23 +49,15 @@ export declare class Actionbar extends ActionbarActions {
|
|
|
37
49
|
constructor(page: Page, actionbarContext?: Locator | null);
|
|
38
50
|
openOverflowMenu: () => Promise<void>;
|
|
39
51
|
overflowMenu: {
|
|
40
|
-
getAddButton: () => Locator;
|
|
41
|
-
getCancelButton: () => Locator;
|
|
42
|
-
getCopyButton: () => Locator;
|
|
43
|
-
getDeleteButton: () => Locator;
|
|
44
|
-
getRefreshButton: () => Locator;
|
|
45
|
-
getSaveButton: () => Locator;
|
|
46
|
-
getUpdateButton: () => Locator;
|
|
47
|
-
getExportButton: () => Locator;
|
|
48
|
-
getImportButton: () => Locator;
|
|
49
|
-
getExportImmediatelyButton: () => Locator;
|
|
50
|
-
getMassUpdateButton: () => Locator;
|
|
51
|
-
getQuickFilterButton: () => Locator;
|
|
52
52
|
getFilterButton: () => Locator;
|
|
53
|
+
getQuickFilterButton: () => Locator;
|
|
53
54
|
getClearAllFiltersButton: () => Locator;
|
|
54
|
-
getRestoreSortOrderButton: () => Locator;
|
|
55
55
|
getSortButton: () => Locator;
|
|
56
|
-
|
|
56
|
+
getRestoreSortOrderButton: () => Locator;
|
|
57
|
+
getImportButton: () => Locator;
|
|
58
|
+
getExportButton: () => Locator;
|
|
59
|
+
getExportImmediatelyButton: () => Locator;
|
|
60
|
+
getMassUpdateButton: () => Locator;
|
|
57
61
|
getUpScreenTypeButton: () => Locator;
|
|
58
62
|
getUpDetailSettingsButton: () => Locator;
|
|
59
63
|
getUpManagePrefiltersButton: () => Locator;
|
|
@@ -61,8 +65,9 @@ export declare class Actionbar extends ActionbarActions {
|
|
|
61
65
|
getCubeSortButton: () => Locator;
|
|
62
66
|
getCubePivotSettingsButton: () => Locator;
|
|
63
67
|
getCubeChartSettingsButton: () => Locator;
|
|
64
|
-
|
|
68
|
+
getExportPivotButton: () => Locator;
|
|
65
69
|
getDeleteCubeViewButton: () => Locator;
|
|
70
|
+
getSaveAsCubeViewButton: () => Locator;
|
|
66
71
|
getCollapseAllButton: () => Locator;
|
|
67
72
|
getExpandAllButton: () => Locator;
|
|
68
73
|
};
|