dimsum-e2e-tests 3.49.0-rc.21 → 3.49.0-rc.23
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 +11 -0
- package/ds-apppicker/DSAppPickerCO.js +2 -6
- package/ds-apppicker/basic/DSAppPicker.basic.axe-core.spec.js +2 -2
- package/ds-apppicker/basic/DSAppPicker.basic.func.spec.js +3 -3
- package/ds-apppicker/basic/DSAppPicker.basic.keyboard-nav.func.spec.js +2 -2
- package/ds-apppicker/basic/DSAppPicker.basic.visual.spec.js +6 -3
- package/ds-apppicker/closeAfterSelection/DSAppPicker.closeAfterSelection.axe-core.spec.js +2 -2
- package/ds-apppicker/closeAfterSelection/DSAppPicker.closeAfterSelection.func.spec.js +2 -2
- package/ds-apppicker/maxHeight/DSAppPicker.max-height.visual.spec.js +2 -2
- package/ds-apppicker/minHeight/DSAppPicker.minHeight.visual.spec.js +1 -1
- package/ds-controlled-form/ds-controlled-large-input-text/aria-disabled/DSLargeInputText.aria-disabled.visual.spec.js +7 -2
- package/ds-slider-v2/DSSliderV2.axe-core.func.spec.js +14 -0
- package/ds-slider-v2/DSSliderV2.func.spec.js +18 -0
- package/ds-slider-v2/DSSliderV2.visual.spec.js +15 -0
- package/ds-slider-v2/DSSliderV2CO.js +2 -0
- package/package.json +119 -119
- package/ds-apppicker/DSAppPicker.smoke.spec.js +0 -52
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
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.49.0-rc.23](https://git.elliemae.io/platform-ui/dimsum/compare/v3.49.0-rc.22...v3.49.0-rc.23) (2025-01-10)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package dimsum-e2e-tests
|
|
9
|
+
|
|
10
|
+
## [3.49.0-rc.22](https://git.elliemae.io/platform-ui/dimsum/compare/v3.49.0-rc.21...v3.49.0-rc.22) (2025-01-10)
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
- ds-app-picker:: fixed e2e tests after slots change [PUI-14785](https://jira.elliemae.io/browse/PUI-14785) ([#7229](https://git.elliemae.io/platform-ui/dimsum/issues/7229)) ([ced614c](https://git.elliemae.io/platform-ui/dimsum/commit/ced614c1c9b9ce43a5344e47cc379dad96fb307e))
|
|
15
|
+
- ds-slider-v2:: added e2e for readonly [PUI-14804](https://jira.elliemae.io/browse/PUI-14804) ([#7181](https://git.elliemae.io/platform-ui/dimsum/issues/7181)) ([0872d7c](https://git.elliemae.io/platform-ui/dimsum/commit/0872d7ce87f081e1d0a5f587642bc5ff04cf3e79))
|
|
16
|
+
|
|
6
17
|
## [3.49.0-rc.21](https://git.elliemae.io/platform-ui/dimsum/compare/v3.49.0-rc.20...v3.49.0-rc.21) (2025-01-09)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package dimsum-e2e-tests
|
|
@@ -35,12 +35,8 @@ export default class DSAppPickerCO extends PageObject {
|
|
|
35
35
|
static getChipByLabel = async (label) =>
|
|
36
36
|
$(`//button[@data-testid="app-picker__chip"]/div/span[contains(text(),"${label}")]//ancestor::button`);
|
|
37
37
|
|
|
38
|
-
static async
|
|
39
|
-
return $('[data-testid="
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
static async getAppPickerWrapper() {
|
|
43
|
-
return $('[data-testid="app-picker__wrapper"]');
|
|
38
|
+
static async getAppPickerRoot() {
|
|
39
|
+
return $('[data-testid="ds-apppicker-root"]');
|
|
44
40
|
}
|
|
45
41
|
|
|
46
42
|
static async getChipLabelByIndex(index) {
|
|
@@ -22,13 +22,13 @@ if (
|
|
|
22
22
|
it('02: should have open appPicker (with disabled chip also) and pass axecore scan', async () => {
|
|
23
23
|
const openAppPickerBtn = await DSAppPickerCO.getOpenAppPicker();
|
|
24
24
|
await openAppPickerBtn.click();
|
|
25
|
-
const appPicker = await DSAppPickerCO.
|
|
25
|
+
const appPicker = await DSAppPickerCO.getAppPickerRoot();
|
|
26
26
|
await appPicker.waitForDisplayed();
|
|
27
27
|
const result = await axeCoreCheck();
|
|
28
28
|
expect(result.length).toBe(0);
|
|
29
29
|
});
|
|
30
30
|
it('03: should focus a truncated item and pass axecore scan', async () => {
|
|
31
|
-
const appPicker = await DSAppPickerCO.
|
|
31
|
+
const appPicker = await DSAppPickerCO.getAppPickerRoot();
|
|
32
32
|
await appPicker.waitForDisplayed();
|
|
33
33
|
await browser.keys(Key.Tab);
|
|
34
34
|
const result = await axeCoreCheck();
|
|
@@ -13,7 +13,7 @@ if (
|
|
|
13
13
|
it('01: should open appPicker', async () => {
|
|
14
14
|
const openAppPickerBtn = await DSAppPickerCO.getOpenAppPicker();
|
|
15
15
|
await openAppPickerBtn.click();
|
|
16
|
-
const appPicker = await DSAppPickerCO.
|
|
16
|
+
const appPicker = await DSAppPickerCO.getAppPickerRoot();
|
|
17
17
|
await expect(appPicker).toBeDisplayedInViewport();
|
|
18
18
|
});
|
|
19
19
|
it('02: should focus the fifth element when clicking it', async () => {
|
|
@@ -22,7 +22,7 @@ if (
|
|
|
22
22
|
await expect(appPickerChip).toBeFocused();
|
|
23
23
|
});
|
|
24
24
|
it('03: should close appPicker clicking outside the menu', async () => {
|
|
25
|
-
const appPicker = await DSAppPickerCO.
|
|
25
|
+
const appPicker = await DSAppPickerCO.getAppPickerRoot();
|
|
26
26
|
const openAppPickerBtn = await DSAppPickerCO.getOpenAppPicker();
|
|
27
27
|
// clicking outside the menu
|
|
28
28
|
await openAppPickerBtn.click({ x: 100 });
|
|
@@ -31,7 +31,7 @@ if (
|
|
|
31
31
|
it('04: should reopen appPicker', async () => {
|
|
32
32
|
const openAppPickerBtn = await DSAppPickerCO.getOpenAppPicker();
|
|
33
33
|
await openAppPickerBtn.click();
|
|
34
|
-
const appPicker = await DSAppPickerCO.
|
|
34
|
+
const appPicker = await DSAppPickerCO.getAppPickerRoot();
|
|
35
35
|
await expect(appPicker).toBeDisplayedInViewport();
|
|
36
36
|
});
|
|
37
37
|
it('05: should focus the sixth element when clicking it', async () => {
|
|
@@ -14,7 +14,7 @@ if (
|
|
|
14
14
|
it('01: should open meny and focus the first enabled chip - Enter', async () => {
|
|
15
15
|
await browser.keys(Key.Tab);
|
|
16
16
|
await browser.keys(Key.Enter);
|
|
17
|
-
const appPicker = await DSAppPickerCO.
|
|
17
|
+
const appPicker = await DSAppPickerCO.getAppPickerRoot();
|
|
18
18
|
const appPickerChip = await DSAppPickerCO.getChipByIndex(1);
|
|
19
19
|
await expect(appPicker).toBeDisplayedInViewport();
|
|
20
20
|
await expect(appPickerChip).toBeFocused();
|
|
@@ -41,7 +41,7 @@ if (
|
|
|
41
41
|
});
|
|
42
42
|
it('06: should reopen the menu and focus the first enabled chip - Space', async () => {
|
|
43
43
|
await browser.keys(Key.Space);
|
|
44
|
-
const appPicker = await DSAppPickerCO.
|
|
44
|
+
const appPicker = await DSAppPickerCO.getAppPickerRoot();
|
|
45
45
|
const appPickerChip = await DSAppPickerCO.getChipByIndex(1);
|
|
46
46
|
await expect(appPicker).toBeDisplayedInViewport();
|
|
47
47
|
await expect(appPickerChip).toBeFocused();
|
|
@@ -10,22 +10,25 @@ if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:o
|
|
|
10
10
|
await browser.maximizeWindow();
|
|
11
11
|
});
|
|
12
12
|
it('01: should have the appPicker closed', async () => {
|
|
13
|
+
await browser.eyesOpen();
|
|
13
14
|
await (await DSAppPickerCO.getOpenAppPicker()).waitForDisplayed();
|
|
14
|
-
const snapshot = await browser.
|
|
15
|
+
const snapshot = await browser.eyesCheckSnapshot(DSAppPickerCO.snapshotPath('appPicker-closed'));
|
|
15
16
|
await expect(snapshot).toEqual(0);
|
|
16
17
|
});
|
|
17
18
|
it('02: should open appPicker', async () => {
|
|
19
|
+
await browser.eyesOpen();
|
|
18
20
|
const openAppPickerBtn = await DSAppPickerCO.getOpenAppPicker();
|
|
19
21
|
await openAppPickerBtn.click();
|
|
20
|
-
const snapshot = await browser.
|
|
22
|
+
const snapshot = await browser.eyesCheckSnapshot(DSAppPickerCO.snapshotPath('appPicker-open'));
|
|
21
23
|
await expect(snapshot).toEqual(0);
|
|
22
24
|
});
|
|
23
25
|
it('03: should interact appPicker chips', async () => {
|
|
26
|
+
await browser.eyesOpen();
|
|
24
27
|
const thirdChip = await DSAppPickerCO.getChipByIndex(2);
|
|
25
28
|
await thirdChip.click();
|
|
26
29
|
const sixthChipLabel = await DSAppPickerCO.getChipLabelByIndex(5);
|
|
27
30
|
await mouseOver(sixthChipLabel);
|
|
28
|
-
const snapshot = await browser.
|
|
31
|
+
const snapshot = await browser.eyesCheckSnapshot(DSAppPickerCO.snapshotPath('appPicker-interacted'));
|
|
29
32
|
await expect(snapshot).toEqual(0);
|
|
30
33
|
});
|
|
31
34
|
});
|
|
@@ -15,13 +15,13 @@ if (
|
|
|
15
15
|
it('01: should open appPicker close-after-selection and pass axecore scan', async () => {
|
|
16
16
|
const openAppPickerBtn = await DSAppPickerCO.getOpenAppPicker();
|
|
17
17
|
await openAppPickerBtn.click();
|
|
18
|
-
const appPicker = await DSAppPickerCO.
|
|
18
|
+
const appPicker = await DSAppPickerCO.getAppPickerRoot();
|
|
19
19
|
await appPicker.waitForDisplayed();
|
|
20
20
|
const result = await axeCoreCheck();
|
|
21
21
|
expect(result.length).toBe(0);
|
|
22
22
|
});
|
|
23
23
|
it('02: should close appPicker when selecting a item and pass axe-core scan', async () => {
|
|
24
|
-
const appPicker = await DSAppPickerCO.
|
|
24
|
+
const appPicker = await DSAppPickerCO.getAppPickerRoot();
|
|
25
25
|
await appPicker.waitForDisplayed();
|
|
26
26
|
const reportChip = await DSAppPickerCO.getChipByIndex(6);
|
|
27
27
|
await reportChip.click();
|
|
@@ -9,11 +9,11 @@ if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:o
|
|
|
9
9
|
it('01: should open appPicker', async () => {
|
|
10
10
|
const openAppPickerBtn = await DSAppPickerCO.getOpenAppPicker();
|
|
11
11
|
await openAppPickerBtn.click();
|
|
12
|
-
const appPicker = await DSAppPickerCO.
|
|
12
|
+
const appPicker = await DSAppPickerCO.getAppPickerRoot();
|
|
13
13
|
await expect(appPicker).toBeDisplayedInViewport();
|
|
14
14
|
});
|
|
15
15
|
it('02: should close appPicker when selecting a item and trigger button should be focused', async () => {
|
|
16
|
-
const appPicker = await DSAppPickerCO.
|
|
16
|
+
const appPicker = await DSAppPickerCO.getAppPickerRoot();
|
|
17
17
|
const reportChip = await DSAppPickerCO.getChipByIndex(6);
|
|
18
18
|
await reportChip.click();
|
|
19
19
|
const triggerBtn = await DSAppPickerCO.getOpenAppPicker();
|
|
@@ -12,7 +12,7 @@ if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:o
|
|
|
12
12
|
it('01: should display the appPicker opened', async () => {
|
|
13
13
|
await browser.keys(Key.Tab);
|
|
14
14
|
await browser.keys(Key.Enter);
|
|
15
|
-
const appPickerWrapper = await DSAppPickerCO.
|
|
15
|
+
const appPickerWrapper = await DSAppPickerCO.getAppPickerRoot();
|
|
16
16
|
await appPickerWrapper.waitForDisplayed();
|
|
17
17
|
const snapshot = await browser.checkSnapshot(DSAppPickerCO.snapshotPath('appPicker-maxHeigth-opened'));
|
|
18
18
|
await expect(snapshot).toEqual(0);
|
|
@@ -51,7 +51,7 @@ if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:o
|
|
|
51
51
|
await browser.keys([Key.Shift, Key.Tab]);
|
|
52
52
|
await browser.keys(Key.Enter);
|
|
53
53
|
await browser.keys(Key.Enter);
|
|
54
|
-
const appPickerWrapper = await DSAppPickerCO.
|
|
54
|
+
const appPickerWrapper = await DSAppPickerCO.getAppPickerRoot();
|
|
55
55
|
await appPickerWrapper.waitForDisplayed();
|
|
56
56
|
const snapshot = await browser.checkSnapshot(DSAppPickerCO.snapshotPath('appPicker-last-chip-selected'));
|
|
57
57
|
await expect(snapshot).toEqual(0);
|
|
@@ -11,7 +11,7 @@ if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:o
|
|
|
11
11
|
it('01: should display appPicker with minHeight opened', async () => {
|
|
12
12
|
const openAppPickerBtn = await DSAppPickerCO.getOpenAppPicker();
|
|
13
13
|
await openAppPickerBtn.click();
|
|
14
|
-
const appPickerWrapper = await DSAppPickerCO.
|
|
14
|
+
const appPickerWrapper = await DSAppPickerCO.getAppPickerRoot();
|
|
15
15
|
await appPickerWrapper.waitForDisplayed();
|
|
16
16
|
const snapshot = await browser.checkSnapshot(DSAppPickerCO.snapshotPath('appPicker-minHeight-opened'));
|
|
17
17
|
await expect(snapshot).toEqual(0);
|
|
@@ -7,10 +7,15 @@ if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:o
|
|
|
7
7
|
const errorOnGo = await DSLargeInputTextCO.applyAriaDisabled.go();
|
|
8
8
|
if (errorOnGo) throw errorOnGo;
|
|
9
9
|
});
|
|
10
|
-
it('01: aria-disabled LargeInput should be
|
|
10
|
+
it('01: aria-disabled LargeInput should be default', async () => {
|
|
11
|
+
await browser.eyesOpen();
|
|
12
|
+
const snapshot = await browser.eyesCheckSnapshot(DSLargeInputTextCO.snapshotPath('large-input-aria-dis-default'));
|
|
13
|
+
await expect(snapshot).toEqual(0);
|
|
14
|
+
});
|
|
15
|
+
it('02: aria-disabled LargeInput should be focused', async () => {
|
|
11
16
|
await browser.eyesOpen();
|
|
12
17
|
await browser.keys(Key.Tab);
|
|
13
|
-
const snapshot = await browser.eyesCheckSnapshot(DSLargeInputTextCO.snapshotPath('large-input-aria-
|
|
18
|
+
const snapshot = await browser.eyesCheckSnapshot(DSLargeInputTextCO.snapshotPath('large-input-aria-dis-focus'));
|
|
14
19
|
await expect(snapshot).toEqual(0);
|
|
15
20
|
});
|
|
16
21
|
});
|
|
@@ -104,4 +104,18 @@ if (
|
|
|
104
104
|
expect(result.length).toBe(0);
|
|
105
105
|
});
|
|
106
106
|
});
|
|
107
|
+
|
|
108
|
+
describe('PUI-15965 - SliderV2 - ReadOnly prop - AxeCore Test', () => {
|
|
109
|
+
before('loading page', async () => {
|
|
110
|
+
const errorOnGo = await DSSliderV2CO.readOnlyURL.go();
|
|
111
|
+
if (errorOnGo) throw errorOnGo;
|
|
112
|
+
});
|
|
113
|
+
it('01: should display slider with read only and pass axe-core scan', async () => {
|
|
114
|
+
const slider = await DSSliderV2CO.getSliderRoot();
|
|
115
|
+
await slider.waitForDisplayed();
|
|
116
|
+
await browser.keys(Key.Tab);
|
|
117
|
+
const result = await axeCoreCheck();
|
|
118
|
+
expect(result.length).toBe(0);
|
|
119
|
+
});
|
|
120
|
+
});
|
|
107
121
|
}
|
|
@@ -114,4 +114,22 @@ if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:o
|
|
|
114
114
|
await expect(value2AfterChange).toEqual('75');
|
|
115
115
|
});
|
|
116
116
|
});
|
|
117
|
+
|
|
118
|
+
describe('PUI-15066 - SliderV2 - ReadOnly - Func', () => {
|
|
119
|
+
before('loading page', async () => {
|
|
120
|
+
const errorOnGo = await DSSliderV2CO.readOnlyURL.go();
|
|
121
|
+
if (errorOnGo) throw errorOnGo;
|
|
122
|
+
});
|
|
123
|
+
it('01: should not change the default value of the readonly slider (50) ', async () => {
|
|
124
|
+
const handler = await DSSliderV2CO.getSliderThumb(0);
|
|
125
|
+
await browser.keys(Key.Tab);
|
|
126
|
+
await browser.keys(Key.ArrowRight);
|
|
127
|
+
const valueHandler = await DSSliderV2CO.getSliderValue(handler);
|
|
128
|
+
await handler.dragAndDrop({ x: 200, y: 0 });
|
|
129
|
+
const valueHandlerAfter = await DSSliderV2CO.getSliderValue(handler);
|
|
130
|
+
await expect(handler).toBeFocused();
|
|
131
|
+
await expect(valueHandler).toEqual('50');
|
|
132
|
+
await expect(valueHandlerAfter).toEqual('50');
|
|
133
|
+
});
|
|
134
|
+
});
|
|
117
135
|
}
|
|
@@ -175,3 +175,18 @@ describe('PUI-12340 - SliderV2 - Responsive - Visual Test', () => {
|
|
|
175
175
|
await expect(snapshot).toEqual(0);
|
|
176
176
|
});
|
|
177
177
|
});
|
|
178
|
+
|
|
179
|
+
describe('PUI-15064 - SliderV2 - ReadOnly - Visual Test', () => {
|
|
180
|
+
before('loading page', async () => {
|
|
181
|
+
const errorOnGo = await DSSliderV2CO.readOnlyURL.go();
|
|
182
|
+
if (errorOnGo) throw errorOnGo;
|
|
183
|
+
});
|
|
184
|
+
it('01: should display slider with readOnly', async () => {
|
|
185
|
+
await browser.eyesOpen();
|
|
186
|
+
const slider = await DSSliderV2CO.getSliderRoot();
|
|
187
|
+
await slider.waitForDisplayed();
|
|
188
|
+
await browser.keys(Key.Tab);
|
|
189
|
+
const snapshot = await browser.eyesCheckSnapshot(DSSliderV2CO.snapshotPath('slider-v2-readOnly'));
|
|
190
|
+
await expect(snapshot).toEqual(0);
|
|
191
|
+
});
|
|
192
|
+
});
|
|
@@ -25,6 +25,8 @@ export default class DSSliderCO extends PageObject {
|
|
|
25
25
|
|
|
26
26
|
static dialogURL = new Urlbuilder(PATH_E2E_SLIDER_V2, 'within-dialog-test');
|
|
27
27
|
|
|
28
|
+
static readOnlyURL = new Urlbuilder(PATH_E2E_SLIDER_V2, 'read-only-test');
|
|
29
|
+
|
|
28
30
|
static applyAriaDisabledURL = new Urlbuilder(PATH_E2E_SLIDER_V2, 'apply-aria-disabled-test');
|
|
29
31
|
|
|
30
32
|
// Snapshots
|
package/package.json
CHANGED
|
@@ -1,125 +1,125 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dimsum-e2e-tests",
|
|
3
|
-
"version": "3.49.0-rc.
|
|
3
|
+
"version": "3.49.0-rc.23",
|
|
4
4
|
"description": "End-to-end tests for dimsum library",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@elliemae/ds-
|
|
7
|
-
"@elliemae/ds-
|
|
8
|
-
"@elliemae/ds-app-picker": "3.49.0-rc.
|
|
9
|
-
"@elliemae/ds-
|
|
10
|
-
"@elliemae/ds-
|
|
11
|
-
"@elliemae/ds-
|
|
12
|
-
"@elliemae/ds-
|
|
13
|
-
"@elliemae/ds-button
|
|
14
|
-
"@elliemae/ds-
|
|
15
|
-
"@elliemae/ds-card": "3.49.0-rc.
|
|
16
|
-
"@elliemae/ds-card-
|
|
17
|
-
"@elliemae/ds-card-navigation": "3.49.0-rc.
|
|
18
|
-
"@elliemae/ds-card-v2-action-addon": "3.49.0-rc.
|
|
19
|
-
"@elliemae/ds-card-v2
|
|
20
|
-
"@elliemae/ds-
|
|
21
|
-
"@elliemae/ds-chat
|
|
22
|
-
"@elliemae/ds-chat-
|
|
23
|
-
"@elliemae/ds-
|
|
24
|
-
"@elliemae/ds-
|
|
25
|
-
"@elliemae/ds-
|
|
26
|
-
"@elliemae/ds-
|
|
27
|
-
"@elliemae/ds-
|
|
28
|
-
"@elliemae/ds-
|
|
29
|
-
"@elliemae/ds-
|
|
30
|
-
"@elliemae/ds-
|
|
31
|
-
"@elliemae/ds-
|
|
32
|
-
"@elliemae/ds-date-range-picker": "3.49.0-rc.
|
|
33
|
-
"@elliemae/ds-date-range-selector": "3.49.0-rc.
|
|
34
|
-
"@elliemae/ds-
|
|
35
|
-
"@elliemae/ds-date-
|
|
36
|
-
"@elliemae/ds-
|
|
37
|
-
"@elliemae/ds-
|
|
38
|
-
"@elliemae/ds-
|
|
39
|
-
"@elliemae/ds-
|
|
40
|
-
"@elliemae/ds-
|
|
41
|
-
"@elliemae/ds-
|
|
42
|
-
"@elliemae/ds-dropzone": "3.49.0-rc.
|
|
43
|
-
"@elliemae/ds-
|
|
44
|
-
"@elliemae/ds-
|
|
45
|
-
"@elliemae/ds-
|
|
46
|
-
"@elliemae/ds-form
|
|
47
|
-
"@elliemae/ds-form-date-time-picker": "3.49.0-rc.
|
|
48
|
-
"@elliemae/ds-form-layout-blocks": "3.49.0-rc.
|
|
49
|
-
"@elliemae/ds-
|
|
50
|
-
"@elliemae/ds-grid": "3.49.0-rc.
|
|
51
|
-
"@elliemae/ds-
|
|
52
|
-
"@elliemae/ds-
|
|
53
|
-
"@elliemae/ds-
|
|
54
|
-
"@elliemae/ds-hooks-fontsize-
|
|
55
|
-
"@elliemae/ds-
|
|
56
|
-
"@elliemae/ds-
|
|
57
|
-
"@elliemae/ds-
|
|
58
|
-
"@elliemae/ds-
|
|
59
|
-
"@elliemae/ds-
|
|
60
|
-
"@elliemae/ds-
|
|
61
|
-
"@elliemae/ds-
|
|
62
|
-
"@elliemae/ds-
|
|
63
|
-
"@elliemae/ds-
|
|
64
|
-
"@elliemae/ds-
|
|
65
|
-
"@elliemae/ds-
|
|
66
|
-
"@elliemae/ds-menu
|
|
67
|
-
"@elliemae/ds-
|
|
68
|
-
"@elliemae/ds-
|
|
69
|
-
"@elliemae/ds-modal-slide": "3.49.0-rc.
|
|
70
|
-
"@elliemae/ds-
|
|
71
|
-
"@elliemae/ds-
|
|
72
|
-
"@elliemae/ds-
|
|
73
|
-
"@elliemae/ds-
|
|
74
|
-
"@elliemae/ds-
|
|
75
|
-
"@elliemae/ds-
|
|
76
|
-
"@elliemae/ds-
|
|
77
|
-
"@elliemae/ds-
|
|
78
|
-
"@elliemae/ds-
|
|
79
|
-
"@elliemae/ds-
|
|
80
|
-
"@elliemae/ds-
|
|
81
|
-
"@elliemae/ds-
|
|
82
|
-
"@elliemae/ds-
|
|
83
|
-
"@elliemae/ds-
|
|
84
|
-
"@elliemae/ds-
|
|
85
|
-
"@elliemae/ds-
|
|
86
|
-
"@elliemae/ds-
|
|
87
|
-
"@elliemae/ds-
|
|
88
|
-
"@elliemae/ds-
|
|
89
|
-
"@elliemae/ds-
|
|
90
|
-
"@elliemae/ds-
|
|
91
|
-
"@elliemae/ds-
|
|
92
|
-
"@elliemae/ds-
|
|
93
|
-
"@elliemae/ds-
|
|
94
|
-
"@elliemae/ds-
|
|
95
|
-
"@elliemae/ds-
|
|
96
|
-
"@elliemae/ds-
|
|
97
|
-
"@elliemae/ds-
|
|
98
|
-
"@elliemae/ds-
|
|
99
|
-
"@elliemae/ds-tabs": "3.49.0-rc.
|
|
100
|
-
"@elliemae/ds-
|
|
101
|
-
"@elliemae/ds-
|
|
102
|
-
"@elliemae/ds-
|
|
103
|
-
"@elliemae/ds-
|
|
104
|
-
"@elliemae/ds-
|
|
105
|
-
"@elliemae/ds-
|
|
106
|
-
"@elliemae/ds-
|
|
107
|
-
"@elliemae/ds-tree-model": "3.49.0-rc.
|
|
108
|
-
"@elliemae/ds-treeview": "3.49.0-rc.
|
|
109
|
-
"@elliemae/ds-text
|
|
110
|
-
"@elliemae/ds-
|
|
111
|
-
"@elliemae/ds-
|
|
112
|
-
"@elliemae/ds-truncated-tooltip-text": "3.49.0-rc.
|
|
113
|
-
"@elliemae/ds-
|
|
114
|
-
"@elliemae/ds-
|
|
115
|
-
"@elliemae/ds-
|
|
116
|
-
"@elliemae/ds-
|
|
117
|
-
"@elliemae/ds-
|
|
118
|
-
"@elliemae/ds-
|
|
119
|
-
"@elliemae/ds-
|
|
120
|
-
"@elliemae/ds-toolbar": "3.49.0-rc.
|
|
121
|
-
"@elliemae/ds-
|
|
122
|
-
"@elliemae/ds-
|
|
123
|
-
"@elliemae/ds-
|
|
6
|
+
"@elliemae/ds-accessibility": "3.49.0-rc.23",
|
|
7
|
+
"@elliemae/ds-backdrop": "3.49.0-rc.23",
|
|
8
|
+
"@elliemae/ds-app-picker": "3.49.0-rc.23",
|
|
9
|
+
"@elliemae/ds-accordion": "3.49.0-rc.23",
|
|
10
|
+
"@elliemae/ds-breadcrumb": "3.49.0-rc.23",
|
|
11
|
+
"@elliemae/ds-basic": "3.49.0-rc.23",
|
|
12
|
+
"@elliemae/ds-banner": "3.49.0-rc.23",
|
|
13
|
+
"@elliemae/ds-button": "3.49.0-rc.23",
|
|
14
|
+
"@elliemae/ds-button-v2": "3.49.0-rc.23",
|
|
15
|
+
"@elliemae/ds-card": "3.49.0-rc.23",
|
|
16
|
+
"@elliemae/ds-card-array": "3.49.0-rc.23",
|
|
17
|
+
"@elliemae/ds-card-navigation": "3.49.0-rc.23",
|
|
18
|
+
"@elliemae/ds-card-v2-action-addon": "3.49.0-rc.23",
|
|
19
|
+
"@elliemae/ds-card-v2": "3.49.0-rc.23",
|
|
20
|
+
"@elliemae/ds-card-v2-group": "3.49.0-rc.23",
|
|
21
|
+
"@elliemae/ds-chat": "3.49.0-rc.23",
|
|
22
|
+
"@elliemae/ds-chat-bubble": "3.49.0-rc.23",
|
|
23
|
+
"@elliemae/ds-chat-tile": "3.49.0-rc.23",
|
|
24
|
+
"@elliemae/ds-chip": "3.49.0-rc.23",
|
|
25
|
+
"@elliemae/ds-circular-progress-indicator": "3.49.0-rc.23",
|
|
26
|
+
"@elliemae/ds-codeeditor": "3.49.0-rc.23",
|
|
27
|
+
"@elliemae/ds-controlled-form": "3.49.0-rc.23",
|
|
28
|
+
"@elliemae/ds-data-table": "3.49.0-rc.23",
|
|
29
|
+
"@elliemae/ds-datagrids": "3.49.0-rc.23",
|
|
30
|
+
"@elliemae/ds-dataviz": "3.49.0-rc.23",
|
|
31
|
+
"@elliemae/ds-dataviz-pie": "3.49.0-rc.23",
|
|
32
|
+
"@elliemae/ds-date-range-picker": "3.49.0-rc.23",
|
|
33
|
+
"@elliemae/ds-date-range-selector": "3.49.0-rc.23",
|
|
34
|
+
"@elliemae/ds-comments": "3.49.0-rc.23",
|
|
35
|
+
"@elliemae/ds-date-picker": "3.49.0-rc.23",
|
|
36
|
+
"@elliemae/ds-date-time-recurrence-picker": "3.49.0-rc.23",
|
|
37
|
+
"@elliemae/ds-button-v1": "3.49.0-rc.23",
|
|
38
|
+
"@elliemae/ds-date-time-picker": "3.49.0-rc.23",
|
|
39
|
+
"@elliemae/ds-dialog": "3.49.0-rc.23",
|
|
40
|
+
"@elliemae/ds-decision-graph": "3.49.0-rc.23",
|
|
41
|
+
"@elliemae/ds-drag-and-drop": "3.49.0-rc.23",
|
|
42
|
+
"@elliemae/ds-dropzone": "3.49.0-rc.23",
|
|
43
|
+
"@elliemae/ds-filterbar": "3.49.0-rc.23",
|
|
44
|
+
"@elliemae/ds-fast-list": "3.49.0-rc.23",
|
|
45
|
+
"@elliemae/ds-form-date-range-picker": "3.49.0-rc.23",
|
|
46
|
+
"@elliemae/ds-form": "3.49.0-rc.23",
|
|
47
|
+
"@elliemae/ds-form-date-time-picker": "3.49.0-rc.23",
|
|
48
|
+
"@elliemae/ds-form-layout-blocks": "3.49.0-rc.23",
|
|
49
|
+
"@elliemae/ds-form-layout-label": "3.49.0-rc.23",
|
|
50
|
+
"@elliemae/ds-grid": "3.49.0-rc.23",
|
|
51
|
+
"@elliemae/ds-button-group": "3.49.0-rc.23",
|
|
52
|
+
"@elliemae/ds-global-header": "3.49.0-rc.23",
|
|
53
|
+
"@elliemae/ds-header": "3.49.0-rc.23",
|
|
54
|
+
"@elliemae/ds-hooks-fontsize-detector": "3.49.0-rc.23",
|
|
55
|
+
"@elliemae/ds-hooks-fontsize-media": "3.49.0-rc.23",
|
|
56
|
+
"@elliemae/ds-icon": "3.49.0-rc.23",
|
|
57
|
+
"@elliemae/ds-indeterminate-progress-indicator": "3.49.0-rc.23",
|
|
58
|
+
"@elliemae/ds-imagelibrarymodal": "3.49.0-rc.23",
|
|
59
|
+
"@elliemae/ds-icons": "3.49.0-rc.23",
|
|
60
|
+
"@elliemae/ds-data-table-cell-header": "3.49.0-rc.23",
|
|
61
|
+
"@elliemae/ds-left-navigation": "3.49.0-rc.23",
|
|
62
|
+
"@elliemae/ds-csv-converter": "3.49.0-rc.23",
|
|
63
|
+
"@elliemae/ds-group-box": "3.49.0-rc.23",
|
|
64
|
+
"@elliemae/ds-loading-indicator": "3.49.0-rc.23",
|
|
65
|
+
"@elliemae/ds-menu-items": "3.49.0-rc.23",
|
|
66
|
+
"@elliemae/ds-menu": "3.49.0-rc.23",
|
|
67
|
+
"@elliemae/ds-mobile": "3.49.0-rc.23",
|
|
68
|
+
"@elliemae/ds-modal": "3.49.0-rc.23",
|
|
69
|
+
"@elliemae/ds-modal-slide": "3.49.0-rc.23",
|
|
70
|
+
"@elliemae/ds-number-range-field": "3.49.0-rc.23",
|
|
71
|
+
"@elliemae/ds-label-value": "3.49.0-rc.23",
|
|
72
|
+
"@elliemae/ds-page-header-v2": "3.49.0-rc.23",
|
|
73
|
+
"@elliemae/ds-list-section-header": "3.49.0-rc.23",
|
|
74
|
+
"@elliemae/ds-page-layout": "3.49.0-rc.23",
|
|
75
|
+
"@elliemae/ds-image": "3.49.0-rc.23",
|
|
76
|
+
"@elliemae/ds-pagination": "3.49.0-rc.23",
|
|
77
|
+
"@elliemae/ds-popover": "3.49.0-rc.23",
|
|
78
|
+
"@elliemae/ds-page-header": "3.49.0-rc.23",
|
|
79
|
+
"@elliemae/ds-popper": "3.49.0-rc.23",
|
|
80
|
+
"@elliemae/ds-popperjs": "3.49.0-rc.23",
|
|
81
|
+
"@elliemae/ds-notification-badge": "3.49.0-rc.23",
|
|
82
|
+
"@elliemae/ds-progress-indicator": "3.49.0-rc.23",
|
|
83
|
+
"@elliemae/ds-query-builder": "3.49.0-rc.23",
|
|
84
|
+
"@elliemae/ds-ribbon": "3.49.0-rc.23",
|
|
85
|
+
"@elliemae/ds-read-more": "3.49.0-rc.23",
|
|
86
|
+
"@elliemae/ds-search-field": "3.49.0-rc.23",
|
|
87
|
+
"@elliemae/ds-resizeable-container": "3.49.0-rc.23",
|
|
88
|
+
"@elliemae/ds-shuttle": "3.49.0-rc.23",
|
|
89
|
+
"@elliemae/ds-separator": "3.49.0-rc.23",
|
|
90
|
+
"@elliemae/ds-shuttle-v2": "3.49.0-rc.23",
|
|
91
|
+
"@elliemae/ds-skeleton": "3.49.0-rc.23",
|
|
92
|
+
"@elliemae/ds-side-panel": "3.49.0-rc.23",
|
|
93
|
+
"@elliemae/ds-spinner": "3.49.0-rc.23",
|
|
94
|
+
"@elliemae/ds-square-indicator": "3.49.0-rc.23",
|
|
95
|
+
"@elliemae/ds-stepper": "3.49.0-rc.23",
|
|
96
|
+
"@elliemae/ds-system": "3.49.0-rc.23",
|
|
97
|
+
"@elliemae/ds-pills": "3.49.0-rc.23",
|
|
98
|
+
"@elliemae/ds-page-number": "3.49.0-rc.23",
|
|
99
|
+
"@elliemae/ds-tabs": "3.49.0-rc.23",
|
|
100
|
+
"@elliemae/ds-svg": "3.49.0-rc.23",
|
|
101
|
+
"@elliemae/ds-slider": "3.49.0-rc.23",
|
|
102
|
+
"@elliemae/ds-test-utils": "3.49.0-rc.23",
|
|
103
|
+
"@elliemae/ds-toast": "3.49.0-rc.23",
|
|
104
|
+
"@elliemae/ds-toolbar-v2": "3.49.0-rc.23",
|
|
105
|
+
"@elliemae/ds-tooltip": "3.49.0-rc.23",
|
|
106
|
+
"@elliemae/ds-text-wrapper": "3.49.0-rc.23",
|
|
107
|
+
"@elliemae/ds-tree-model": "3.49.0-rc.23",
|
|
108
|
+
"@elliemae/ds-treeview": "3.49.0-rc.23",
|
|
109
|
+
"@elliemae/ds-truncated-expandable-text": "3.49.0-rc.23",
|
|
110
|
+
"@elliemae/ds-time-picker": "3.49.0-rc.23",
|
|
111
|
+
"@elliemae/ds-toolbar": "3.49.0-rc.23",
|
|
112
|
+
"@elliemae/ds-truncated-tooltip-text": "3.49.0-rc.23",
|
|
113
|
+
"@elliemae/ds-typography": "3.49.0-rc.23",
|
|
114
|
+
"@elliemae/ds-uploader": "3.49.0-rc.23",
|
|
115
|
+
"@elliemae/ds-wizard": "3.49.0-rc.23",
|
|
116
|
+
"@elliemae/ds-wysiwygeditor": "3.49.0-rc.23",
|
|
117
|
+
"@elliemae/ds-transition": "3.49.0-rc.23",
|
|
118
|
+
"@elliemae/ds-dropdownmenu": "3.49.0-rc.23",
|
|
119
|
+
"@elliemae/ds-page-header-v1": "3.49.0-rc.23",
|
|
120
|
+
"@elliemae/ds-mini-toolbar": "3.49.0-rc.23",
|
|
121
|
+
"@elliemae/ds-virtual-list": "3.49.0-rc.23",
|
|
122
|
+
"@elliemae/ds-zipcode-search": "3.49.0-rc.23",
|
|
123
|
+
"@elliemae/ds-zoom": "3.49.0-rc.23"
|
|
124
124
|
}
|
|
125
125
|
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { Key } from 'webdriverio';
|
|
2
|
-
import DSAppPickerCO from './DSAppPickerCO';
|
|
3
|
-
|
|
4
|
-
if (
|
|
5
|
-
!browser.capabilities['ice:options'].isPhone &&
|
|
6
|
-
!browser.capabilities['ice:options'].isTablet &&
|
|
7
|
-
browser.capabilities.browserName !== 'Safari'
|
|
8
|
-
) {
|
|
9
|
-
describe('PUI-7775 - AppPicker basic -func', () => {
|
|
10
|
-
before('loading page', async () => {
|
|
11
|
-
const errorOnGo = await DSAppPickerCO.basicURL.go();
|
|
12
|
-
if (errorOnGo) throw errorOnGo;
|
|
13
|
-
});
|
|
14
|
-
it('should open appPicker', async () => {
|
|
15
|
-
const openAppPickerBtn = await DSAppPickerCO.getOpenAppPicker();
|
|
16
|
-
await openAppPickerBtn.click();
|
|
17
|
-
const appPicker = await DSAppPickerCO.getAppPickerWrapper();
|
|
18
|
-
await expect(appPicker).toBeDisplayedInViewport();
|
|
19
|
-
});
|
|
20
|
-
it('should close appPicker with keyboard', async () => {
|
|
21
|
-
const appPicker = await DSAppPickerCO.getAppPickerWrapper();
|
|
22
|
-
await browser.keys(Key.Escape);
|
|
23
|
-
await expect(appPicker).not.toBeDisplayedInViewport();
|
|
24
|
-
});
|
|
25
|
-
it('should open appPicker', async () => {
|
|
26
|
-
const openAppPickerBtn = await DSAppPickerCO.getOpenAppPicker();
|
|
27
|
-
await openAppPickerBtn.click();
|
|
28
|
-
const appPicker = await DSAppPickerCO.getAppPickerWrapper();
|
|
29
|
-
await expect(appPicker).toBeDisplayedInViewport();
|
|
30
|
-
});
|
|
31
|
-
it('should focus the fifth element when clicking it', async () => {
|
|
32
|
-
const appPickerChip = await DSAppPickerCO.getChipByIndex(4);
|
|
33
|
-
await appPickerChip.click();
|
|
34
|
-
await expect(appPickerChip).toBeFocused();
|
|
35
|
-
});
|
|
36
|
-
it('should focus the sixth element when pressing tab', async () => {
|
|
37
|
-
await browser.keys(Key.Tab);
|
|
38
|
-
const appPickerChip = await DSAppPickerCO.getChipByIndex(5);
|
|
39
|
-
await expect(appPickerChip).toBeFocused();
|
|
40
|
-
});
|
|
41
|
-
it('should focus the fifth element when pressing shift+tab', async () => {
|
|
42
|
-
await browser.keys([Key.Shift, Key.Tab]);
|
|
43
|
-
const appPickerChip = await DSAppPickerCO.getChipByIndex(4);
|
|
44
|
-
await expect(appPickerChip).toBeFocused();
|
|
45
|
-
});
|
|
46
|
-
it('should close appPicker and focus the open apppicker btn', async () => {
|
|
47
|
-
await browser.keys(Key.Escape);
|
|
48
|
-
const openAppPickerBtn = await DSAppPickerCO.getOpenAppPicker();
|
|
49
|
-
await expect(openAppPickerBtn).toBeDisplayedInViewport();
|
|
50
|
-
});
|
|
51
|
-
});
|
|
52
|
-
}
|