dimsum-e2e-tests 3.33.0-next.2 → 3.33.0-next.4

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/CHANGELOG.md CHANGED
@@ -3,6 +3,16 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.33.0-next.4](https://git.elliemae.io/platform-ui/dimsum/compare/v3.33.0-next.3...v3.33.0-next.4) (2024-04-09)
7
+
8
+ ### Features
9
+
10
+ - ds-data-table-filters:: new package [PUI-12748](https://jira.elliemae.io/browse/PUI-12748) ([#6722](https://git.elliemae.io/platform-ui/dimsum/issues/6722)) ([6d6467f](https://git.elliemae.io/platform-ui/dimsum/commit/6d6467f7e3c8b4412ceafc2ccb49a485b70ddc92))
11
+
12
+ ## [3.33.0-next.3](https://git.elliemae.io/platform-ui/dimsum/compare/v3.33.0-next.2...v3.33.0-next.3) (2024-04-05)
13
+
14
+ **Note:** Version bump only for package dimsum-e2e-tests
15
+
6
16
  ## [3.33.0-next.2](https://git.elliemae.io/platform-ui/dimsum/compare/v3.33.0-next.1...v3.33.0-next.2) (2024-04-04)
7
17
 
8
18
  **Note:** Version bump only for package dimsum-e2e-tests
@@ -54,24 +54,24 @@ if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:o
54
54
  if (errorOnGo) throw errorOnGo;
55
55
  await DSDataTableCO.waitForDataTable();
56
56
  });
57
- it('should open the popup and focus on the first input', async () => {
58
- await FiltersCO.openFilterPopperByColumnName('number range', 0);
59
- const popupFirstInput = await FiltersCOextra.filterNumberRangePopper.getLeftInput();
57
+ it('01: should open the popup and focus on the first input', async () => {
58
+ await FiltersCO.openFilterPopperByColumnName('number range');
59
+ const popupFirstInput = await FiltersCOextra.filterNumberRangeLeftInput();
60
60
  await expect(popupFirstInput).toBeFocused();
61
61
  });
62
- it('should fill in the input and get matching pill on the filterbar', async () => {
63
- await FiltersCOextra.filterNumberRangePopper.setInput('6', '7');
62
+ it('02: should fill in the input and get matching pill on the filterbar', async () => {
63
+ await FiltersCOextra.filterNumberRangeSetInputs('6', '7');
64
64
  const dateSwitcherTxtPill = await FilterBarCO.getPillByIndex(1);
65
65
  const txtPillText = await dateSwitcherTxtPill.getText();
66
66
  await expect(txtPillText).toEqual('6 - 7');
67
67
  });
68
- it('should get the filtered results', async () => {
68
+ it('03: should get the filtered results', async () => {
69
69
  const results = await RowCO.getRows();
70
70
  const filteredNrange = await DSDataTableCO.getAllColumnResults(results, 7);
71
71
  const areFiltered = filteredNrange.every((nRange) => nRange === '6' || nRange === '7');
72
72
  await expect(areFiltered).toBeTruthy();
73
73
  });
74
- it('should show all results after removing the filter from the filterbar', async () => {
74
+ it('04: should show all results after removing the filter from the filterbar', async () => {
75
75
  await (await FilterBarCO.getPillCloseButtonByIndex(0)).click();
76
76
  const results = await RowCO.getRows();
77
77
  const filteredNrange = await DSDataTableCO.getAllColumnResults(results, 6);
@@ -185,24 +185,24 @@ if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:o
185
185
  if (errorOnGo) throw errorOnGo;
186
186
  await DSDataTableCO.waitForDataTable();
187
187
  });
188
- it('should be able to tab to the elems-per-page menu from the last row of the table', async () => {
188
+ it('01: should be able to tab to the elems-per-page menu from the last row of the table', async () => {
189
189
  const elemsPerPage = await PaginationNavCO.getElemsPerPageBtn();
190
190
  const lastRow = await RowCO.getRowByIndex(9);
191
191
  await lastRow.click();
192
192
  await browser.keys(Key.Tab);
193
193
  await expect(elemsPerPage).toBeFocused();
194
194
  });
195
- it('should have 10 elems-per-page opt selected', async () => {
195
+ it('02: should have 10 elems-per-page opt selected', async () => {
196
196
  const elemsPerPageMenu = await PaginationNavCO.getElemsPerPageMenu();
197
197
  const elemsPerPage = await elemsPerPageMenu.getText();
198
198
  await expect(elemsPerPage).toEqual('10 / page');
199
199
  });
200
- it('should expand DropDmenu', async () => {
200
+ it('03: should expand DropDmenu', async () => {
201
201
  await browser.keys(Key.Enter);
202
202
  const elemsPerPageDDMenu = await PaginationNavCO.getDropDownMenu();
203
203
  await expect(elemsPerPageDDMenu).toBeDisplayedInViewport();
204
204
  });
205
- it('should select 50 elems-per-page opt', async () => {
205
+ it('04: should select 50 elems-per-page opt', async () => {
206
206
  await browser.keys(Key.ArrowDown);
207
207
  await browser.keys(Key.ArrowDown);
208
208
  await browser.keys(Key.Space);
@@ -210,7 +210,7 @@ if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:o
210
210
  const elemsPerPage = await elemsPerPageMenu.getText();
211
211
  await expect(elemsPerPage).toEqual('50 / page');
212
212
  });
213
- it('Should scroll to the last row and tab to get focus on elems-per-page', async () => {
213
+ it('05: should scroll to the last row', async () => {
214
214
  await browser.keys([Key.Shift, Key.Tab]);
215
215
  await browser.keys(Key.PageDown);
216
216
  await browser.keys(Key.PageDown);
@@ -220,18 +220,21 @@ if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:o
220
220
  const row50Aria = await RowCO.getRowAriaIndex(50);
221
221
  await expect(row50Aria).toBeDisplayedInViewport();
222
222
  });
223
- it('should tab to the Pages Navigation Dropdown Menu', async () => {
224
- await tabStops(26);
223
+ it('06: should tab to the Pages Navigation Dropdown Menu', async () => {
224
+ if (browser.capabilities.browserName === 'Safari') {
225
+ await tabStops(26);
226
+ } else {
227
+ await tabStops(27);
228
+ }
225
229
  const pagesNav = await PaginationNavCO.getPagesBtn();
226
- await browser.pause(10000);
227
230
  await expect(pagesNav).toBeFocused();
228
231
  });
229
- it('should expand the Pages navigation', async () => {
232
+ it('07: should expand the Pages navigation', async () => {
230
233
  await browser.keys(Key.Enter);
231
234
  const openDDMenu = await PaginationNavCO.getDropDownMenu();
232
235
  await expect(openDDMenu).toBeDisplayedInViewport();
233
236
  });
234
- it('should choose the desired page with the keyboard and get to that page', async () => {
237
+ it('08: should choose the desired page with the keyboard and get to that page', async () => {
235
238
  await type('6');
236
239
  await browser.keys(Key.Space);
237
240
  const pages = await PaginationNavCO.getPagesMenu();
@@ -198,8 +198,12 @@ export default class DataTableCO extends PageObject {
198
198
 
199
199
  static getDatatableWrapper = async () => $('[data-testid="data-table-wrapper"]');
200
200
 
201
- static getAllColumnResults = async (results, columnIndex) =>
202
- Promise.all(results.map(async (result) => (await CellCO.getRowCellByIndex(result, columnIndex)).getText()));
201
+ static getAllColumnResults = async (results, columnIndex) => {
202
+ const promises = await results.map(async (result) => CellCO.getRowCellByIndex(result, columnIndex));
203
+ const cells = await Promise.all(promises);
204
+ const texts = await Promise.all(cells.map((cell) => cell.getText()));
205
+ return texts;
206
+ };
203
207
 
204
208
  static type = async (chars = '1234567890') => {
205
209
  const numbers = await [...chars];
@@ -107,10 +107,10 @@ export default class FiltersCO extends PageObject {
107
107
 
108
108
  static filterBarBtnTrigger = async () => $('[data-testid="filter-bar-ddmenu-button"]');
109
109
 
110
- static openFilterPopperByColumnName = async (columnName, cellIndexButton) => {
111
- const headerCell = (await HeaderCO.getHeaderCellByText(columnName))[cellIndexButton];
110
+ static openFilterPopperByColumnName = async (columnName) => {
111
+ const headerCell = await HeaderCO.getHeaderCellByText(columnName);
112
112
  await headerCell.click();
113
- const filterBtn = await FiltersCO.getHeaderCellFilterButtonByHeaderCell(headerCell, 0);
113
+ const filterBtn = (await headerCell).$('[data-testid="ds-button"]');
114
114
  await filterBtn.waitForDisplayed();
115
115
  await filterBtn.click();
116
116
  };
@@ -2,38 +2,34 @@ import { PageObject } from '../../helpers';
2
2
  import { getElementByIndex, throttleTyping } from '../helpers';
3
3
 
4
4
  export default class FiltersCOextra extends PageObject {
5
- static filterCurrencyPopper = {
6
- getPopper: async () => $('[data-testid="data-table-currency-range"]'),
7
- async getInputs() {
8
- return (await this.getPopper()).$$('[data-testid="ds-input-text-input"]');
9
- },
10
- async getLeftInput() {
11
- return getElementByIndex(await this.getInputs.bind(this), 0);
12
- },
13
- async getRightInput() {
14
- return getElementByIndex(await this.getInputs.bind(this), 1);
15
- },
16
- async setInput(firstInput, secondInput) {
17
- await (await this.getLeftInput()).click();
18
- await throttleTyping(firstInput);
19
- await (await this.getRightInput()).click();
20
- await throttleTyping(secondInput);
21
- },
22
- };
5
+ static filterCurrencyPopper = async () => $('[data-testid="data-table-currency-range"]');
6
+ static async filterCurrencyInputs() {
7
+ return (await filterCurrencyPopper()).$$('[data-testid="ds-input-text-input"]');
8
+ }
9
+ static async filterCurrencyLeftInput() {
10
+ return getElementByIndex(await this.filterCurrencyInputs.bind(this), 0);
11
+ }
12
+ static async filterCurrencyRightInput() {
13
+ return getElementByIndex(await this.filterCurrencyInputs.bind(this), 1);
14
+ }
15
+ static async filterCurrencySetInputs(firstInput, secondInput) {
16
+ await (await this.filterCurrencyLeftInput()).click();
17
+ await throttleTyping(firstInput);
18
+ await (await this.filterCurrencyRightInput()).click();
19
+ await throttleTyping(secondInput);
20
+ }
23
21
 
24
- static filterNumberRangePopper = {
25
- getPopper: async () => $('[data-testid="data-table-number-range"]'),
26
- async getLeftInput() {
27
- return (await this.getPopper()).$('[id="datatable-number-range-low-numberRange"]');
28
- },
29
- async getRightInput() {
30
- return (await this.getPopper()).$('[id="datatable-number-range-high-numberRange"]');
31
- },
32
- async setInput(firstInput, secondInput) {
33
- await (await this.getLeftInput()).click();
34
- await throttleTyping(firstInput);
35
- await (await this.getRightInput()).click();
36
- await throttleTyping(secondInput);
37
- },
38
- };
22
+ static filterNumberRangePopper = async () => $('[data-testid="data-table-number-range"]');
23
+ static async filterNumberRangeLeftInput() {
24
+ return (await this.filterNumberRangePopper()).$('[id="datatable-number-range-low-numberRange"]');
25
+ }
26
+ static async filterNumberRangeRightInput() {
27
+ return (await this.filterNumberRangePopper()).$('[id="datatable-number-range-high-numberRange"]');
28
+ }
29
+ static async filterNumberRangeSetInputs(firstInput, secondInput) {
30
+ await (await this.filterNumberRangeLeftInput()).click();
31
+ await throttleTyping(firstInput);
32
+ await (await this.filterNumberRangeRightInput()).click();
33
+ await throttleTyping(secondInput);
34
+ }
39
35
  }
@@ -1,16 +1,23 @@
1
+ /* eslint-disable no-restricted-syntax */
1
2
  import { PageObject } from '../../helpers';
2
- import { getElementDragHandler, asyncFilter, getElementByIndex } from '../helpers';
3
+ import { getElementDragHandler, getElementByIndex } from '../helpers';
3
4
 
4
5
  export default class HeaderCO extends PageObject {
5
6
  static getHeaderCells = async () => $$('[data-testid="data-table-header"]');
6
7
 
7
- // this might return many results
8
8
  static getHeaderCellByText = async (text) => {
9
9
  const headerCells = await this.getHeaderCells();
10
- return asyncFilter(headerCells, async (cell) => {
11
- const cellText = await this.getHeaderCellTitle(cell);
12
- return cellText.toLowerCase() === text.toLowerCase();
13
- });
10
+ let targetHeader;
11
+ for (const header of headerCells) {
12
+ // eslint-disable-next-line no-await-in-loop
13
+ const cellText = await header.getText();
14
+ if (cellText.trim().toLowerCase() === text.trim().toLowerCase()) {
15
+ targetHeader = header;
16
+ break;
17
+ }
18
+ }
19
+ await targetHeader.waitForDisplayed();
20
+ return targetHeader;
14
21
  };
15
22
 
16
23
  static getHeaderCellTitle = async (cell) =>
@@ -47,7 +47,7 @@ if (
47
47
  await DSDataTableCO.waitForDataTable();
48
48
  });
49
49
  it('01: should drop the info group header cell (backward) and pass axe-core scan', async () => {
50
- const infoGroupHeaderCell = (await HeaderCO.getHeaderCellByText('info'))[0];
50
+ const infoGroupHeaderCell = await HeaderCO.getHeaderCellByText('info');
51
51
  await infoGroupHeaderCell.click();
52
52
  await browser.keys(Key.Return);
53
53
  await browser.keys(Key.Space);
@@ -49,7 +49,7 @@ if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:o
49
49
  await DSDataTableCO.waitForDataTable();
50
50
  });
51
51
  it('should focus the country header cell drag handler', async () => {
52
- const countryHeaderCell = (await HeaderCO.getHeaderCellByText('COUNTRY'))[0];
52
+ const countryHeaderCell = await HeaderCO.getHeaderCellByText('country');
53
53
  await countryHeaderCell.click();
54
54
  await browser.keys(Key.Return);
55
55
  const headerDragHandler = await HeaderCO.getHeaderCellDragHandler(countryHeaderCell);
@@ -65,7 +65,7 @@ if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:o
65
65
  await expect(headerTitleTwo).toHaveTextContaining(['COUNTRY', 'Country']);
66
66
  });
67
67
  it('should drop the date range column (backwards) properly', async () => {
68
- const countryHeaderCell = (await HeaderCO.getHeaderCellByText('DATE RANGE'))[0];
68
+ const countryHeaderCell = await HeaderCO.getHeaderCellByText('DATE RANGE');
69
69
  await countryHeaderCell.click();
70
70
  await browser.keys(Key.Return);
71
71
  await browser.keys(Key.Space);
@@ -85,7 +85,7 @@ if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:o
85
85
  await DSDataTableCO.waitForDataTable();
86
86
  });
87
87
  it('should focus the info group header cell drag handler', async () => {
88
- const infoGroupHeaderCell = (await HeaderCO.getHeaderCellByText('info'))[0];
88
+ const infoGroupHeaderCell = await HeaderCO.getHeaderCellByText('info');
89
89
  await infoGroupHeaderCell.click();
90
90
  await browser.keys(Key.Return);
91
91
  const dragHandler = await HeaderCO.getHeaderCellDragHandler(infoGroupHeaderCell);
@@ -50,7 +50,7 @@ if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:o
50
50
  });
51
51
  it('should display drag handler correctly', async () => {
52
52
  await browser.eyesOpen();
53
- const countryHeaderCell = (await HeaderCO.getHeaderCellByText('COUNTRY'))[0];
53
+ const countryHeaderCell = await HeaderCO.getHeaderCellByText('COUNTRY');
54
54
  await countryHeaderCell.click();
55
55
  await browser.keys(Key.Return);
56
56
  await browser.keys(Key.Space);
@@ -59,7 +59,7 @@ if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:o
59
59
  });
60
60
  it('should display drag handler - in between position', async () => {
61
61
  await browser.eyesOpen();
62
- const countryHeaderCell = (await HeaderCO.getHeaderCellByText('COUNTRY'))[0];
62
+ const countryHeaderCell = await HeaderCO.getHeaderCellByText('COUNTRY');
63
63
  await countryHeaderCell.click();
64
64
  await browser.keys(Key.Return);
65
65
  await browser.keys(Key.Space);
@@ -69,7 +69,7 @@ if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:o
69
69
  });
70
70
  it('should drop the columns properly', async () => {
71
71
  await browser.eyesOpen();
72
- const countryHeaderCell = (await HeaderCO.getHeaderCellByText('COUNTRY'))[0];
72
+ const countryHeaderCell = await HeaderCO.getHeaderCellByText('COUNTRY');
73
73
  await countryHeaderCell.click();
74
74
  await browser.keys(Key.Return);
75
75
  await browser.keys(Key.Space);
@@ -89,7 +89,7 @@ if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:o
89
89
  });
90
90
  it('should display drag handler correctly', async () => {
91
91
  await browser.eyesOpen();
92
- const infoGroupHeaderCell = (await HeaderCO.getHeaderCellByText('info'))[0];
92
+ const infoGroupHeaderCell = await HeaderCO.getHeaderCellByText('info');
93
93
  await infoGroupHeaderCell.click();
94
94
  await browser.keys(Key.Return);
95
95
  await browser.keys(Key.Space);
@@ -98,7 +98,7 @@ if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:o
98
98
  });
99
99
  it('should display drag handler - in between position', async () => {
100
100
  await browser.eyesOpen();
101
- const infoGroupHeaderCell = (await HeaderCO.getHeaderCellByText('info'))[0];
101
+ const infoGroupHeaderCell = await HeaderCO.getHeaderCellByText('info');
102
102
  await infoGroupHeaderCell.click();
103
103
  await browser.keys(Key.Return);
104
104
  await browser.keys(Key.Space);
@@ -108,7 +108,7 @@ if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:o
108
108
  });
109
109
  it('should drop the columns properly', async () => {
110
110
  await browser.eyesOpen();
111
- const infoGroupHeaderCell = (await HeaderCO.getHeaderCellByText('info'))[0];
111
+ const infoGroupHeaderCell = await HeaderCO.getHeaderCellByText('info');
112
112
  await infoGroupHeaderCell.click();
113
113
  await browser.keys(Key.Return);
114
114
  await browser.keys(Key.Space);
@@ -10,11 +10,11 @@ if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:o
10
10
  });
11
11
  it('should open the popup and focus on the first input', async () => {
12
12
  await FiltersCO.openFilterPopperByColumnName('salary', 0);
13
- const popupLeftInput = await FiltersCOextra.filterCurrencyPopper.getLeftInput();
13
+ const popupLeftInput = await FiltersCOextra.filterCurrencyLeftInput();
14
14
  await expect(popupLeftInput).toBeFocused();
15
15
  });
16
16
  it('should fill in the input and get matching pill on the filterbar', async () => {
17
- await FiltersCOextra.filterCurrencyPopper.setInput('123123.00', '123124.00');
17
+ await FiltersCOextra.filterCurrencySetInputs('123123.00', '123124.00');
18
18
  const dateSwitcherTxtPill = await FilterBarCO.getPillByIndex(1);
19
19
  const txtPillText = await dateSwitcherTxtPill.getText();
20
20
  await expect(txtPillText).toEqual('123123.00 - 123124.00');
@@ -38,24 +38,24 @@ if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:o
38
38
  if (errorOnGo) throw errorOnGo;
39
39
  await DSDataTableCO.waitForDataTable();
40
40
  });
41
- it('should open the popup and focus on the first input', async () => {
42
- await FiltersCO.openFilterPopperByColumnName('number range', 0);
43
- const popupFirstInput = await FiltersCOextra.filterNumberRangePopper.getLeftInput();
41
+ it('01: should open the popup and focus on the first input', async () => {
42
+ await FiltersCO.openFilterPopperByColumnName('number range');
43
+ const popupFirstInput = await FiltersCOextra.filterNumberRangeLeftInput();
44
44
  await expect(popupFirstInput).toBeFocused();
45
45
  });
46
- it('should fill in the input and get matching pill on the filterbar', async () => {
47
- await FiltersCOextra.filterNumberRangePopper.setInput('6', '7');
46
+ it('02: should fill in the input and get matching pill on the filterbar', async () => {
47
+ await FiltersCOextra.filterNumberRangeSetInputs('6', '7');
48
48
  const dateSwitcherTxtPill = await FilterBarCO.getPillByIndex(1);
49
49
  const txtPillText = await dateSwitcherTxtPill.getText();
50
50
  await expect(txtPillText).toEqual('6 - 7');
51
51
  });
52
- it('should get the filtered results', async () => {
52
+ it('03: should get the filtered results', async () => {
53
53
  const results = await RowCO.getRows();
54
54
  const filteredNrange = await DSDataTableCO.getAllColumnResults(results, 7);
55
55
  const areFiltered = filteredNrange.every((nRange) => nRange === '6' || nRange === '7');
56
56
  await expect(areFiltered).toBeTruthy();
57
57
  });
58
- it('should show all results after removing the filter from the filterbar', async () => {
58
+ it('04: should show all results after removing the filter from the filterbar', async () => {
59
59
  await (await FilterBarCO.getPillCloseButtonByIndex(0)).click();
60
60
  const results = await RowCO.getRows();
61
61
  const filteredNrange = await DSDataTableCO.getAllColumnResults(results, 6);
@@ -55,7 +55,7 @@ if (
55
55
  });
56
56
  it('02: should fill in the input and get matching pill on the filterbar and pass axe-core scan', async () => {
57
57
  await FiltersCO.openFilterPopperByColumnName('number range', 0);
58
- await FiltersCOextra.filterNumberRangePopper.setInput('6', '7');
58
+ await FiltersCOextra.filterNumberRangeSetInputs('6', '7');
59
59
  const result = await axeCoreCheck();
60
60
  expect(result.length).toBe(0);
61
61
  });
@@ -0,0 +1,24 @@
1
+ import DSDataTableHeaderCellCO from './DSDataTableHeaderCellCO';
2
+ /* this is the syntax for only enabling test for desktop only
3
+ if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:options'].isTablet) {
4
+ describe('PUI-XXXX - DataTableHeaderCell:: example test - data-testid exists', () => {
5
+ before('loading page', async () => {
6
+ // your code goes here
7
+ });
8
+ it('01: wrapper should be displayed', async () => {
9
+ // your code goes here
10
+ });
11
+
12
+ });
13
+ }
14
+ */
15
+ describe('PUI-XXXX - DataTableHeaderCell:: example test - data-testid exists', () => {
16
+ before('loading page', async () => {
17
+ const errorOnGo = await DSDataTableHeaderCellCO.basic.go();
18
+ if (errorOnGo) throw errorOnGo;
19
+ });
20
+ it('01: wrapper should be displayed', async () => {
21
+ const wrapper = await DSDataTableHeaderCellCO.getWrapper();
22
+ await expect(wrapper).toBeDisplayedInViewport();
23
+ });
24
+ });
@@ -0,0 +1,17 @@
1
+ import { DATA_TABLE_HEADER_CELL_DATA_TESTID } from '@elliemae/ds-data-table-cell-header';
2
+ import { PATH_DATA_TABLE_HEADER_CELL } from '../../environments/storybook/paths';
3
+ import { PageObject, Urlbuilder } from '../helpers';
4
+
5
+ export default class DSDataTableHeaderCell extends PageObject {
6
+ static basic = new Urlbuilder(PATH_DATA_TABLE_HEADER_CELL, 'basic');
7
+
8
+ // Selectors
9
+ static async getWrapper() {
10
+ return $(`[data-testid="${DATA_TABLE_HEADER_CELL_DATA_TESTID.ROOT}"]`);
11
+ }
12
+
13
+ // Snapshots
14
+ static snapshotPath(example = 'basic') {
15
+ return PageObject.getSnapshotPathBuilder('DSDataTableHeaderCell', example, 'ds-data-table-cell-header');
16
+ }
17
+ }
@@ -7,7 +7,6 @@ if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:o
7
7
  const errorOnGo = await DSInputProtectedCO.basicURL.go();
8
8
  if (errorOnGo) throw errorOnGo;
9
9
  });
10
-
11
10
  it('should accept underscore as part of the input', async () => {
12
11
  const DSInputProtected = await DSInputProtectedCO.getInput(0);
13
12
  await DSInputProtected.click();
package/package.json CHANGED
@@ -1,125 +1,126 @@
1
1
  {
2
2
  "name": "dimsum-e2e-tests",
3
- "version": "3.33.0-next.2",
3
+ "version": "3.33.0-next.4",
4
4
  "description": "End-to-end tests for dimsum library",
5
5
  "dependencies": {
6
- "@elliemae/ds-accessibility": "3.33.0-next.2",
7
- "@elliemae/ds-accordion": "3.33.0-next.2",
8
- "@elliemae/ds-app-picker": "3.33.0-next.2",
9
- "@elliemae/ds-backdrop": "3.33.0-next.2",
10
- "@elliemae/ds-banner": "3.33.0-next.2",
11
- "@elliemae/ds-basic": "3.33.0-next.2",
12
- "@elliemae/ds-breadcrumb": "3.33.0-next.2",
13
- "@elliemae/ds-button": "3.33.0-next.2",
14
- "@elliemae/ds-button-group": "3.33.0-next.2",
15
- "@elliemae/ds-button-v1": "3.33.0-next.2",
16
- "@elliemae/ds-button-v2": "3.33.0-next.2",
17
- "@elliemae/ds-card": "3.33.0-next.2",
18
- "@elliemae/ds-card-array": "3.33.0-next.2",
19
- "@elliemae/ds-card-navigation": "3.33.0-next.2",
20
- "@elliemae/ds-card-v2": "3.33.0-next.2",
21
- "@elliemae/ds-card-v2-action-addon": "3.33.0-next.2",
22
- "@elliemae/ds-card-v2-group": "3.33.0-next.2",
23
- "@elliemae/ds-chat": "3.33.0-next.2",
24
- "@elliemae/ds-chat-bubble": "3.33.0-next.2",
25
- "@elliemae/ds-chat-tile": "3.33.0-next.2",
26
- "@elliemae/ds-chip": "3.33.0-next.2",
27
- "@elliemae/ds-circular-progress-indicator": "3.33.0-next.2",
28
- "@elliemae/ds-codeeditor": "3.33.0-next.2",
29
- "@elliemae/ds-comments": "3.33.0-next.2",
30
- "@elliemae/ds-controlled-form": "3.33.0-next.2",
31
- "@elliemae/ds-csv-converter": "3.33.0-next.2",
32
- "@elliemae/ds-data-table": "3.33.0-next.2",
33
- "@elliemae/ds-datagrids": "3.33.0-next.2",
34
- "@elliemae/ds-dataviz": "3.33.0-next.2",
35
- "@elliemae/ds-dataviz-pie": "3.33.0-next.2",
36
- "@elliemae/ds-date-picker": "3.33.0-next.2",
37
- "@elliemae/ds-date-range-picker": "3.33.0-next.2",
38
- "@elliemae/ds-date-range-selector": "3.33.0-next.2",
39
- "@elliemae/ds-date-time-picker": "3.33.0-next.2",
40
- "@elliemae/ds-date-time-recurrence-picker": "3.33.0-next.2",
41
- "@elliemae/ds-decision-graph": "3.33.0-next.2",
42
- "@elliemae/ds-dialog": "3.33.0-next.2",
43
- "@elliemae/ds-drag-and-drop": "3.33.0-next.2",
44
- "@elliemae/ds-dropdownmenu": "3.33.0-next.2",
45
- "@elliemae/ds-dropzone": "3.33.0-next.2",
46
- "@elliemae/ds-fast-list": "3.33.0-next.2",
47
- "@elliemae/ds-filterbar": "3.33.0-next.2",
48
- "@elliemae/ds-form": "3.33.0-next.2",
49
- "@elliemae/ds-form-date-range-picker": "3.33.0-next.2",
50
- "@elliemae/ds-form-date-time-picker": "3.33.0-next.2",
51
- "@elliemae/ds-form-layout-blocks": "3.33.0-next.2",
52
- "@elliemae/ds-form-layout-label": "3.33.0-next.2",
53
- "@elliemae/ds-global-header": "3.33.0-next.2",
54
- "@elliemae/ds-grid": "3.33.0-next.2",
55
- "@elliemae/ds-group-box": "3.33.0-next.2",
56
- "@elliemae/ds-header": "3.33.0-next.2",
57
- "@elliemae/ds-hooks-fontsize-detector": "3.33.0-next.2",
58
- "@elliemae/ds-hooks-fontsize-media": "3.33.0-next.2",
59
- "@elliemae/ds-icon": "3.33.0-next.2",
60
- "@elliemae/ds-icons": "3.33.0-next.2",
61
- "@elliemae/ds-image": "3.33.0-next.2",
62
- "@elliemae/ds-imagelibrarymodal": "3.33.0-next.2",
63
- "@elliemae/ds-indeterminate-progress-indicator": "3.33.0-next.2",
64
- "@elliemae/ds-label-value": "3.33.0-next.2",
65
- "@elliemae/ds-left-navigation": "3.33.0-next.2",
66
- "@elliemae/ds-list-section-header": "3.33.0-next.2",
67
- "@elliemae/ds-loading-indicator": "3.33.0-next.2",
68
- "@elliemae/ds-menu": "3.33.0-next.2",
69
- "@elliemae/ds-menu-items": "3.33.0-next.2",
70
- "@elliemae/ds-mini-toolbar": "3.33.0-next.2",
71
- "@elliemae/ds-mobile": "3.33.0-next.2",
72
- "@elliemae/ds-modal": "3.33.0-next.2",
73
- "@elliemae/ds-modal-slide": "3.33.0-next.2",
74
- "@elliemae/ds-notification-badge": "3.33.0-next.2",
75
- "@elliemae/ds-number-range-field": "3.33.0-next.2",
76
- "@elliemae/ds-page-header": "3.33.0-next.2",
77
- "@elliemae/ds-page-header-v1": "3.33.0-next.2",
78
- "@elliemae/ds-page-header-v2": "3.33.0-next.2",
79
- "@elliemae/ds-page-layout": "3.33.0-next.2",
80
- "@elliemae/ds-page-number": "3.33.0-next.2",
81
- "@elliemae/ds-pagination": "3.33.0-next.2",
82
- "@elliemae/ds-pills": "3.33.0-next.2",
83
- "@elliemae/ds-popover": "3.33.0-next.2",
84
- "@elliemae/ds-popper": "3.33.0-next.2",
85
- "@elliemae/ds-popperjs": "3.33.0-next.2",
86
- "@elliemae/ds-progress-indicator": "3.33.0-next.2",
87
- "@elliemae/ds-query-builder": "3.33.0-next.2",
88
- "@elliemae/ds-read-more": "3.33.0-next.2",
89
- "@elliemae/ds-resizeable-container": "3.33.0-next.2",
90
- "@elliemae/ds-ribbon": "3.33.0-next.2",
91
- "@elliemae/ds-search-field": "3.33.0-next.2",
92
- "@elliemae/ds-separator": "3.33.0-next.2",
93
- "@elliemae/ds-shuttle": "3.33.0-next.2",
94
- "@elliemae/ds-shuttle-v2": "3.33.0-next.2",
95
- "@elliemae/ds-side-panel": "3.33.0-next.2",
96
- "@elliemae/ds-skeleton": "3.33.0-next.2",
97
- "@elliemae/ds-slider": "3.33.0-next.2",
98
- "@elliemae/ds-spinner": "3.33.0-next.2",
99
- "@elliemae/ds-square-indicator": "3.33.0-next.2",
100
- "@elliemae/ds-stepper": "3.33.0-next.2",
101
- "@elliemae/ds-svg": "3.33.0-next.2",
102
- "@elliemae/ds-system": "3.33.0-next.2",
103
- "@elliemae/ds-tabs": "3.33.0-next.2",
104
- "@elliemae/ds-test-utils": "3.33.0-next.2",
105
- "@elliemae/ds-time-picker": "3.33.0-next.2",
106
- "@elliemae/ds-toast": "3.33.0-next.2",
107
- "@elliemae/ds-text-wrapper": "3.33.0-next.2",
108
- "@elliemae/ds-toolbar": "3.33.0-next.2",
109
- "@elliemae/ds-toolbar-v2": "3.33.0-next.2",
110
- "@elliemae/ds-tooltip": "3.33.0-next.2",
111
- "@elliemae/ds-transition": "3.33.0-next.2",
112
- "@elliemae/ds-tree-model": "3.33.0-next.2",
113
- "@elliemae/ds-treeview": "3.33.0-next.2",
114
- "@elliemae/ds-truncated-expandable-text": "3.33.0-next.2",
115
- "@elliemae/ds-truncated-tooltip-text": "3.33.0-next.2",
116
- "@elliemae/ds-typography": "3.33.0-next.2",
117
- "@elliemae/ds-uploader": "3.33.0-next.2",
118
- "@elliemae/ds-utilities": "3.33.0-next.2",
119
- "@elliemae/ds-virtual-list": "3.33.0-next.2",
120
- "@elliemae/ds-wizard": "3.33.0-next.2",
121
- "@elliemae/ds-wysiwygeditor": "3.33.0-next.2",
122
- "@elliemae/ds-zipcode-search": "3.33.0-next.2",
123
- "@elliemae/ds-zoom": "3.33.0-next.2"
6
+ "@elliemae/ds-accordion": "3.33.0-next.4",
7
+ "@elliemae/ds-banner": "3.33.0-next.4",
8
+ "@elliemae/ds-button": "3.33.0-next.4",
9
+ "@elliemae/ds-basic": "3.33.0-next.4",
10
+ "@elliemae/ds-button-v1": "3.33.0-next.4",
11
+ "@elliemae/ds-card": "3.33.0-next.4",
12
+ "@elliemae/ds-app-picker": "3.33.0-next.4",
13
+ "@elliemae/ds-breadcrumb": "3.33.0-next.4",
14
+ "@elliemae/ds-button-v2": "3.33.0-next.4",
15
+ "@elliemae/ds-card-array": "3.33.0-next.4",
16
+ "@elliemae/ds-card-navigation": "3.33.0-next.4",
17
+ "@elliemae/ds-card-v2": "3.33.0-next.4",
18
+ "@elliemae/ds-card-v2-group": "3.33.0-next.4",
19
+ "@elliemae/ds-chat": "3.33.0-next.4",
20
+ "@elliemae/ds-chat-bubble": "3.33.0-next.4",
21
+ "@elliemae/ds-accessibility": "3.33.0-next.4",
22
+ "@elliemae/ds-button-group": "3.33.0-next.4",
23
+ "@elliemae/ds-chat-tile": "3.33.0-next.4",
24
+ "@elliemae/ds-codeeditor": "3.33.0-next.4",
25
+ "@elliemae/ds-comments": "3.33.0-next.4",
26
+ "@elliemae/ds-circular-progress-indicator": "3.33.0-next.4",
27
+ "@elliemae/ds-controlled-form": "3.33.0-next.4",
28
+ "@elliemae/ds-chip": "3.33.0-next.4",
29
+ "@elliemae/ds-backdrop": "3.33.0-next.4",
30
+ "@elliemae/ds-datagrids": "3.33.0-next.4",
31
+ "@elliemae/ds-card-v2-action-addon": "3.33.0-next.4",
32
+ "@elliemae/ds-date-picker": "3.33.0-next.4",
33
+ "@elliemae/ds-csv-converter": "3.33.0-next.4",
34
+ "@elliemae/ds-date-range-picker": "3.33.0-next.4",
35
+ "@elliemae/ds-date-range-selector": "3.33.0-next.4",
36
+ "@elliemae/ds-date-time-picker": "3.33.0-next.4",
37
+ "@elliemae/ds-data-table": "3.33.0-next.4",
38
+ "@elliemae/ds-date-time-recurrence-picker": "3.33.0-next.4",
39
+ "@elliemae/ds-data-table-cell-header": "3.33.0-next.4",
40
+ "@elliemae/ds-dialog": "3.33.0-next.4",
41
+ "@elliemae/ds-drag-and-drop": "3.33.0-next.4",
42
+ "@elliemae/ds-dropdownmenu": "3.33.0-next.4",
43
+ "@elliemae/ds-dropzone": "3.33.0-next.4",
44
+ "@elliemae/ds-dataviz-pie": "3.33.0-next.4",
45
+ "@elliemae/ds-filterbar": "3.33.0-next.4",
46
+ "@elliemae/ds-form-date-range-picker": "3.33.0-next.4",
47
+ "@elliemae/ds-form-date-time-picker": "3.33.0-next.4",
48
+ "@elliemae/ds-form": "3.33.0-next.4",
49
+ "@elliemae/ds-grid": "3.33.0-next.4",
50
+ "@elliemae/ds-form-layout-label": "3.33.0-next.4",
51
+ "@elliemae/ds-header": "3.33.0-next.4",
52
+ "@elliemae/ds-group-box": "3.33.0-next.4",
53
+ "@elliemae/ds-fast-list": "3.33.0-next.4",
54
+ "@elliemae/ds-dataviz": "3.33.0-next.4",
55
+ "@elliemae/ds-form-layout-blocks": "3.33.0-next.4",
56
+ "@elliemae/ds-global-header": "3.33.0-next.4",
57
+ "@elliemae/ds-image": "3.33.0-next.4",
58
+ "@elliemae/ds-decision-graph": "3.33.0-next.4",
59
+ "@elliemae/ds-label-value": "3.33.0-next.4",
60
+ "@elliemae/ds-icon": "3.33.0-next.4",
61
+ "@elliemae/ds-imagelibrarymodal": "3.33.0-next.4",
62
+ "@elliemae/ds-indeterminate-progress-indicator": "3.33.0-next.4",
63
+ "@elliemae/ds-hooks-fontsize-media": "3.33.0-next.4",
64
+ "@elliemae/ds-list-section-header": "3.33.0-next.4",
65
+ "@elliemae/ds-hooks-fontsize-detector": "3.33.0-next.4",
66
+ "@elliemae/ds-loading-indicator": "3.33.0-next.4",
67
+ "@elliemae/ds-menu-items": "3.33.0-next.4",
68
+ "@elliemae/ds-modal": "3.33.0-next.4",
69
+ "@elliemae/ds-modal-slide": "3.33.0-next.4",
70
+ "@elliemae/ds-mobile": "3.33.0-next.4",
71
+ "@elliemae/ds-notification-badge": "3.33.0-next.4",
72
+ "@elliemae/ds-icons": "3.33.0-next.4",
73
+ "@elliemae/ds-number-range-field": "3.33.0-next.4",
74
+ "@elliemae/ds-left-navigation": "3.33.0-next.4",
75
+ "@elliemae/ds-mini-toolbar": "3.33.0-next.4",
76
+ "@elliemae/ds-page-header-v2": "3.33.0-next.4",
77
+ "@elliemae/ds-page-header": "3.33.0-next.4",
78
+ "@elliemae/ds-page-number": "3.33.0-next.4",
79
+ "@elliemae/ds-pagination": "3.33.0-next.4",
80
+ "@elliemae/ds-pills": "3.33.0-next.4",
81
+ "@elliemae/ds-page-layout": "3.33.0-next.4",
82
+ "@elliemae/ds-menu": "3.33.0-next.4",
83
+ "@elliemae/ds-popperjs": "3.33.0-next.4",
84
+ "@elliemae/ds-progress-indicator": "3.33.0-next.4",
85
+ "@elliemae/ds-read-more": "3.33.0-next.4",
86
+ "@elliemae/ds-ribbon": "3.33.0-next.4",
87
+ "@elliemae/ds-separator": "3.33.0-next.4",
88
+ "@elliemae/ds-query-builder": "3.33.0-next.4",
89
+ "@elliemae/ds-resizeable-container": "3.33.0-next.4",
90
+ "@elliemae/ds-search-field": "3.33.0-next.4",
91
+ "@elliemae/ds-popover": "3.33.0-next.4",
92
+ "@elliemae/ds-side-panel": "3.33.0-next.4",
93
+ "@elliemae/ds-shuttle": "3.33.0-next.4",
94
+ "@elliemae/ds-skeleton": "3.33.0-next.4",
95
+ "@elliemae/ds-slider": "3.33.0-next.4",
96
+ "@elliemae/ds-spinner": "3.33.0-next.4",
97
+ "@elliemae/ds-shuttle-v2": "3.33.0-next.4",
98
+ "@elliemae/ds-popper": "3.33.0-next.4",
99
+ "@elliemae/ds-square-indicator": "3.33.0-next.4",
100
+ "@elliemae/ds-stepper": "3.33.0-next.4",
101
+ "@elliemae/ds-system": "3.33.0-next.4",
102
+ "@elliemae/ds-page-header-v1": "3.33.0-next.4",
103
+ "@elliemae/ds-time-picker": "3.33.0-next.4",
104
+ "@elliemae/ds-svg": "3.33.0-next.4",
105
+ "@elliemae/ds-tabs": "3.33.0-next.4",
106
+ "@elliemae/ds-toolbar": "3.33.0-next.4",
107
+ "@elliemae/ds-toolbar-v2": "3.33.0-next.4",
108
+ "@elliemae/ds-toast": "3.33.0-next.4",
109
+ "@elliemae/ds-text-wrapper": "3.33.0-next.4",
110
+ "@elliemae/ds-tooltip": "3.33.0-next.4",
111
+ "@elliemae/ds-test-utils": "3.33.0-next.4",
112
+ "@elliemae/ds-treeview": "3.33.0-next.4",
113
+ "@elliemae/ds-truncated-tooltip-text": "3.33.0-next.4",
114
+ "@elliemae/ds-uploader": "3.33.0-next.4",
115
+ "@elliemae/ds-utilities": "3.33.0-next.4",
116
+ "@elliemae/ds-transition": "3.33.0-next.4",
117
+ "@elliemae/ds-typography": "3.33.0-next.4",
118
+ "@elliemae/ds-wizard": "3.33.0-next.4",
119
+ "@elliemae/ds-wysiwygeditor": "3.33.0-next.4",
120
+ "@elliemae/ds-zipcode-search": "3.33.0-next.4",
121
+ "@elliemae/ds-virtual-list": "3.33.0-next.4",
122
+ "@elliemae/ds-tree-model": "3.33.0-next.4",
123
+ "@elliemae/ds-zoom": "3.33.0-next.4",
124
+ "@elliemae/ds-truncated-expandable-text": "3.33.0-next.4"
124
125
  }
125
126
  }
@@ -1,7 +1,6 @@
1
1
  // eslint-disable-next-line import/no-relative-packages
2
2
  import {
3
3
  PATH_END_OF_LIFE_DATE_RANGE_SELECTOR,
4
- PATH_END_OF_LIFE_DATE_RANGE_SELECTOR_DEPRECATED,
5
4
  PATH_E2E_DATE_RANGE_PICKER,
6
5
  } from '../../../environments/storybook/paths';
7
6
  import { PageObject, Urlbuilder } from '../../helpers';
@@ -11,11 +10,11 @@ export default class DSDateRangeSelectorCO extends PageObject {
11
10
 
12
11
  static basicUrl = new Urlbuilder(PATH_END_OF_LIFE_DATE_RANGE_SELECTOR, 'widget-usage');
13
12
 
14
- static dateInitUrl = new Urlbuilder(PATH_END_OF_LIFE_DATE_RANGE_SELECTOR_DEPRECATED, 'date-init-on-custom-option');
13
+ static dateInitUrl = new Urlbuilder(PATH_END_OF_LIFE_DATE_RANGE_SELECTOR, 'date-init-on-custom-option');
15
14
 
16
- static disableCustomOptUrl = new Urlbuilder(PATH_END_OF_LIFE_DATE_RANGE_SELECTOR_DEPRECATED, 'disable-custom-option');
15
+ static disableCustomOptUrl = new Urlbuilder(PATH_END_OF_LIFE_DATE_RANGE_SELECTOR, 'disable-custom-option');
17
16
 
18
- static withFormUrl = new Urlbuilder(PATH_END_OF_LIFE_DATE_RANGE_SELECTOR_DEPRECATED, 'with-form-item-layout');
17
+ static withFormUrl = new Urlbuilder(PATH_END_OF_LIFE_DATE_RANGE_SELECTOR, 'with-form-item-layout');
19
18
 
20
19
  static migrationExample = new Urlbuilder(PATH_E2E_DATE_RANGE_PICKER, 'recurrence-migration-test');
21
20