dimsum-e2e-tests 3.80.0-next.43 → 3.80.0-next.45
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 +8 -0
- package/ds-accordion/DSAccordionCO.js +4 -4
- package/ds-breadcrumb/DSBreadcrumbCO.js +1 -1
- package/ds-chat/DSChatCO.js +20 -0
- package/ds-chat/container/visible-elements/DSChat-container.visible-elements.func.spec.js +42 -0
- package/ds-chat/loadmore/keep-focus/DSChat-loadmore.keep-focus.func.spec.js +28 -0
- package/ds-controlled-form/ds-controlled-radio/DSControlledRadioCO.js +1 -1
- package/ds-dialog/DSDialogCO.js +1 -1
- package/ds-form-combobox-multi/virtualization/{DSComboboxMulti.virtualization.func.spec .js → DSComboboxMulti.virtualization.func.spec.js} +12 -7
- package/ds-form-layout-blocks/form-layout-block-item/DSFormLayoutBlockItemCO.js +1 -1
- package/ds-global-header/GlobalHeaderCO.js +1 -1
- package/ds-grid/DSGridCO.js +1 -1
- package/ds-image/DSImageCO.js +4 -4
- package/ds-indeterminate-progress-indicator/DSIndeterminateProgressIndicatorCO.js +1 -1
- package/ds-menu-button/DSMenuButtonCO.js +4 -4
- package/ds-query-builder/DSQueryBuilderCO.js +0 -2
- package/ds-svg/DSSvgCO.js +5 -5
- package/ds-tabs/DSTabs.visual.spec.js +4 -6
- package/ds-toast/DSToast.visual.spec.js +7 -3
- package/ds-toast/DSToastCO.js +1 -1
- package/ds-treeview/DSTreeViewCO.js +1 -1
- package/ds-typography/DSTypographyCO.js +4 -4
- package/helpers.js +35 -47
- package/package.json +149 -149
- package/ds-dialog/axe-core/DSDialog.warning.axe-core.spec.func.js +0 -24
- /package/ds-indeterminate-progress-indicator/{DSIndetermintateProgressIndicator.func.spec copy.js → DSIndetermintateProgressIndicator.func.spec.js} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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.80.0-next.45](/github.com/intcx/PLATFORM-UI/compare/v3.80.0-next.44...v3.80.0-next.45) (2026-10-20)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package dimsum-e2e-tests
|
|
9
|
+
|
|
10
|
+
## [3.80.0-next.44](/github.com/intcx/PLATFORM-UI/compare/v3.80.0-next.43...v3.80.0-next.44) (2026-10-20)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package dimsum-e2e-tests
|
|
13
|
+
|
|
6
14
|
## [3.80.0-next.43](/github.com/intcx/PLATFORM-UI/compare/v3.80.0-next.42...v3.80.0-next.43) (2026-10-19)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package dimsum-e2e-tests
|
|
@@ -4,11 +4,11 @@ import { PageObject, Urlbuilder, getElementByIndex } from '../helpers';
|
|
|
4
4
|
|
|
5
5
|
export default class DSAccordionCO extends PageObject {
|
|
6
6
|
// Desktop
|
|
7
|
-
static basicURL = new Urlbuilder(PATH_E2E_ACCORDION, 'basic');
|
|
7
|
+
static basicURL = new Urlbuilder(PATH_E2E_ACCORDION, 'basic-test');
|
|
8
8
|
|
|
9
|
-
static multipleURL = new Urlbuilder(PATH_E2E_ACCORDION, 'multiple');
|
|
9
|
+
static multipleURL = new Urlbuilder(PATH_E2E_ACCORDION, 'multiple-test');
|
|
10
10
|
|
|
11
|
-
static customActions = new Urlbuilder(PATH_E2E_ACCORDION, 'render-custom-actions');
|
|
11
|
+
static customActions = new Urlbuilder(PATH_E2E_ACCORDION, 'render-custom-actions-test');
|
|
12
12
|
|
|
13
13
|
static headerControls = new Urlbuilder(PATH_E2E_ACCORDION, 'header-control-examples-test');
|
|
14
14
|
|
|
@@ -38,7 +38,7 @@ export default class DSAccordionCO extends PageObject {
|
|
|
38
38
|
|
|
39
39
|
static applyAriaDisabled = new Urlbuilder(PATH_E2E_ACCORDION, 'apply-aria-disabled-test');
|
|
40
40
|
|
|
41
|
-
static scrollableContent = new Urlbuilder(PATH_E2E_ACCORDION, 'scrollable-content');
|
|
41
|
+
static scrollableContent = new Urlbuilder(PATH_E2E_ACCORDION, 'scrollable-content-test');
|
|
42
42
|
|
|
43
43
|
static wrapLabel = new Urlbuilder(PATH_E2E_ACCORDION, 'wrap-label');
|
|
44
44
|
|
|
@@ -13,7 +13,7 @@ export default class DSBreadcrumbCO extends PageObject {
|
|
|
13
13
|
|
|
14
14
|
static activeURL = new Urlbuilder(PATH_E2E_BREADCRUMB, 'active-test');
|
|
15
15
|
|
|
16
|
-
static ucTruncatedURL = new Urlbuilder(PATH_E2E_BREADCRUMB, 'bread-crumb-truncated');
|
|
16
|
+
static ucTruncatedURL = new Urlbuilder(PATH_E2E_BREADCRUMB, 'bread-crumb-truncated-test');
|
|
17
17
|
|
|
18
18
|
static containerProps = new Urlbuilder(PATH_E2E_BREADCRUMB, 'container-props-test');
|
|
19
19
|
|
package/ds-chat/DSChatCO.js
CHANGED
|
@@ -13,6 +13,10 @@ export default class DSChatCO extends PageObject {
|
|
|
13
13
|
|
|
14
14
|
static loadMoreURL = new Urlbuilder(PATH_E2E_CHAT, 'container-load-more-test');
|
|
15
15
|
|
|
16
|
+
static loadMoreKeepFocusURL = new Urlbuilder(PATH_E2E_CHAT, 'container-load-more-keep-focus-test');
|
|
17
|
+
|
|
18
|
+
static visibleElementsURL = new Urlbuilder(PATH_E2E_CHAT, 'container-visible-elements-test');
|
|
19
|
+
|
|
16
20
|
static loadingURL = new Urlbuilder(PATH_E2E_CHAT, 'loading-container-test');
|
|
17
21
|
|
|
18
22
|
static loadingErrorURL = new Urlbuilder(PATH_E2E_CHAT, 'loading-error-test');
|
|
@@ -58,6 +62,22 @@ export default class DSChatCO extends PageObject {
|
|
|
58
62
|
return $('[data-testid="scroll-chat-button"]').click();
|
|
59
63
|
}
|
|
60
64
|
|
|
65
|
+
static async clickGetMessagesInView() {
|
|
66
|
+
return $('[data-testid="scroll-chat-button"]').click();
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
static async getMessagesInViewText() {
|
|
70
|
+
return $('[data-testid="get-messages-in-view"]').getText();
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
static async getOnScrollEndsText() {
|
|
74
|
+
return $('[data-testid="on-scroll-ends"]').getText();
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
static async getGetMoreTimesText() {
|
|
78
|
+
return $('[data-testid="get-more-times"]').getText();
|
|
79
|
+
}
|
|
80
|
+
|
|
61
81
|
static async getSentTimes() {
|
|
62
82
|
return $('[data-testid="sent"]').getText();
|
|
63
83
|
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { Key } from 'webdriverio';
|
|
2
|
+
import DSChatCO from '../../DSChatCO';
|
|
3
|
+
|
|
4
|
+
// Tests for the migration of ChatContainer virtualization to ds-fast-list introduced in PUI-19237
|
|
5
|
+
// (getMessagesInView is backed by actionRef.getVisibleItems() and must not return a stale value)
|
|
6
|
+
if (
|
|
7
|
+
(!browser.capabilities['ice:options'].isPhone &&
|
|
8
|
+
!browser.capabilities['ice:options'].isTablet &&
|
|
9
|
+
browser.capabilities.browserName === 'chrome') ||
|
|
10
|
+
browser.capabilities.browserName === 'Chrome'
|
|
11
|
+
) {
|
|
12
|
+
describe('PUI-19297 -ChatContainer:: getMessagesInView returns the current visible messages - Func', () => {
|
|
13
|
+
before('loading page', async () => {
|
|
14
|
+
const errorOnGo = await DSChatCO.visibleElementsURL.go();
|
|
15
|
+
if (errorOnGo) throw errorOnGo;
|
|
16
|
+
});
|
|
17
|
+
it('01: should return the messages at the end of the thread, matching onScrollEnds', async () => {
|
|
18
|
+
await browser.waitUntil(async () => (await DSChatCO.getOnScrollEndsText()).split(' - ').pop() === '999', {
|
|
19
|
+
timeoutMsg: 'expected onScrollEnds to report the final message after initial scrolling',
|
|
20
|
+
});
|
|
21
|
+
const onScrollEnds = await DSChatCO.getOnScrollEndsText();
|
|
22
|
+
await expect(await DSChatCO.getMessagesInViewText()).toEqual('-');
|
|
23
|
+
await DSChatCO.clickGetMessagesInView();
|
|
24
|
+
const inView = await DSChatCO.getMessagesInViewText();
|
|
25
|
+
await expect(inView).toEqual(onScrollEnds);
|
|
26
|
+
});
|
|
27
|
+
it('02: should return the new visible messages after scrolling to the top, not the stale ones', async () => {
|
|
28
|
+
const previousInView = await DSChatCO.getMessagesInViewText();
|
|
29
|
+
const threadContainer = await DSChatCO.getThreadContainer();
|
|
30
|
+
await browser.execute((el) => el.focus(), threadContainer);
|
|
31
|
+
await browser.keys(Key.Home);
|
|
32
|
+
await browser.waitUntil(async () => (await DSChatCO.getOnScrollEndsText()).split(' - ')[0] === '0', {
|
|
33
|
+
timeoutMsg: 'expected onScrollEnds to report the first message after pressing Home',
|
|
34
|
+
});
|
|
35
|
+
await DSChatCO.clickGetMessagesInView();
|
|
36
|
+
const inView = await DSChatCO.getMessagesInViewText();
|
|
37
|
+
await expect(inView).not.toEqual(previousInView);
|
|
38
|
+
await expect(inView).toEqual(await DSChatCO.getOnScrollEndsText());
|
|
39
|
+
await expect(inView.split(' - ')[0]).toEqual('0');
|
|
40
|
+
});
|
|
41
|
+
});
|
|
42
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import DSChatCO from '../../DSChatCO';
|
|
2
|
+
|
|
3
|
+
// Tests for the focus rework introduced with the ds-fast-list migration in PUI-19237
|
|
4
|
+
// (a focused message keeps the focus after older messages are loaded)
|
|
5
|
+
if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:options'].isTablet) {
|
|
6
|
+
describe('PUI-19298 -ChatContainer:: focused message keeps focus after older messages load - Func', () => {
|
|
7
|
+
before('loading page', async () => {
|
|
8
|
+
const errorOnGo = await DSChatCO.loadMoreKeepFocusURL.go();
|
|
9
|
+
if (errorOnGo) throw errorOnGo;
|
|
10
|
+
});
|
|
11
|
+
it('01: should have the message 5 focused', async () => {
|
|
12
|
+
const message = await DSChatCO.getElementListItemByDataIndex('5');
|
|
13
|
+
await browser.execute((el) => el.focus(), message);
|
|
14
|
+
await expect(message).toBeFocused();
|
|
15
|
+
await expect(message).toHaveText(expect.stringContaining('Message text INIT Message text 5'));
|
|
16
|
+
});
|
|
17
|
+
it('02: should keep the focus on the same message after older messages are loaded', async () => {
|
|
18
|
+
await browser.keys('l');
|
|
19
|
+
await browser.waitUntil(async () => (await DSChatCO.getGetMoreTimesText()).includes('1 Times'), {
|
|
20
|
+
timeoutMsg: 'expected the older messages to be loaded',
|
|
21
|
+
});
|
|
22
|
+
// the 10 older messages are prepended, so message 5 moves from index 5 to index 15
|
|
23
|
+
const message = await DSChatCO.getElementListItemByDataIndex('15');
|
|
24
|
+
await expect(message).toHaveText(expect.stringContaining('Message text INIT Message text 5'));
|
|
25
|
+
await expect(message).toBeFocused();
|
|
26
|
+
});
|
|
27
|
+
});
|
|
28
|
+
}
|
|
@@ -14,7 +14,7 @@ export default class DSControlledRadioCO extends PageObject {
|
|
|
14
14
|
|
|
15
15
|
static applyAriaDisabled = new Urlbuilder(PATH_E2E_RADIO, 'apply-aria-disabled-test');
|
|
16
16
|
|
|
17
|
-
static wrapLabel = new Urlbuilder(PATH_E2E_RADIO, 'wrap-label');
|
|
17
|
+
static wrapLabel = new Urlbuilder(PATH_E2E_RADIO, 'wrap-label-text-test');
|
|
18
18
|
|
|
19
19
|
static themeFontURL = new Urlbuilder(PATH_E2E_RADIO, 'theme-font-family-test');
|
|
20
20
|
|
package/ds-dialog/DSDialogCO.js
CHANGED
|
@@ -4,7 +4,7 @@ import { PATH_E2E_DIALOG } from '../paths';
|
|
|
4
4
|
import { PageObject, Urlbuilder } from '../helpers';
|
|
5
5
|
|
|
6
6
|
export default class DSDialog extends PageObject {
|
|
7
|
-
static basicURL = new Urlbuilder(PATH_E2E_DIALOG, 'basic');
|
|
7
|
+
static basicURL = new Urlbuilder(PATH_E2E_DIALOG, 'basic-test');
|
|
8
8
|
|
|
9
9
|
static centeredURL = new Urlbuilder(PATH_E2E_DIALOG, 'centered-test');
|
|
10
10
|
|
|
@@ -8,21 +8,26 @@ if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:o
|
|
|
8
8
|
const errorOnGo = await DSComboboxMultiCO.hundredAndOneOptions.go();
|
|
9
9
|
if (errorOnGo) throw errorOnGo;
|
|
10
10
|
});
|
|
11
|
+
// Scroll target must be the fast-list, not getComboListbox(). The latter resolves to the
|
|
12
|
+
// virtualized inner list, which is 3137px tall and starts above the viewport, so coordinates
|
|
13
|
+
// derived from its rect land outside the menu. The fast-list is the element that actually
|
|
14
|
+
// scrolls (overflow-y: auto, 300px tall). One scrollbar-track click pages by ~300px, and the
|
|
15
|
+
// menu opens pre-scrolled to the middle, so three clicks reach either target.
|
|
16
|
+
const scrollBarTarget = '[data-testid="ds-combobox-fast-list"]';
|
|
17
|
+
|
|
11
18
|
it('01: Scroll up by clicking the scrollbar', async () => {
|
|
12
19
|
await DSComboboxMultiCO.openMenuListMouse();
|
|
13
20
|
const listItem34 = await DSComboboxMultiCO.getOptionByLabel('label-34');
|
|
14
21
|
await expect(listItem34).not.toBeDisplayedInViewport();
|
|
15
|
-
|
|
16
|
-
await clickScrollBar(comboboxListBox, 'up', 5);
|
|
22
|
+
await clickScrollBar(scrollBarTarget, 'up', 3);
|
|
17
23
|
await expect(listItem34).toBeDisplayedInViewport();
|
|
18
24
|
});
|
|
19
25
|
it('02: Scroll down by clicking the scrollbar', async () => {
|
|
20
26
|
await DSComboboxMultiCO.openMenuListMouse();
|
|
21
|
-
const
|
|
22
|
-
await expect(
|
|
23
|
-
|
|
24
|
-
await
|
|
25
|
-
await expect(listItem75).toBeDisplayedInViewport();
|
|
27
|
+
const listItem85 = await DSComboboxMultiCO.getOptionByLabel('label-85');
|
|
28
|
+
await expect(listItem85).not.toBeDisplayedInViewport();
|
|
29
|
+
await clickScrollBar(scrollBarTarget, 'down', 3);
|
|
30
|
+
await expect(listItem85).toBeDisplayedInViewport();
|
|
26
31
|
});
|
|
27
32
|
});
|
|
28
33
|
}
|
|
@@ -7,7 +7,7 @@ export default class DSFormLayoutBlockItemCO extends PageObject {
|
|
|
7
7
|
|
|
8
8
|
static basicTestURL = new Urlbuilder(PATH_E2E_FORM_LAYOUT_BLOCK_ITEM, 'basic-test');
|
|
9
9
|
|
|
10
|
-
static withHighlight = new Urlbuilder(PATH_E2E_FORM_LAYOUT_BLOCK_ITEM, 'with-highlight');
|
|
10
|
+
static withHighlight = new Urlbuilder(PATH_E2E_FORM_LAYOUT_BLOCK_ITEM, 'with-highlight-e-2-e');
|
|
11
11
|
|
|
12
12
|
static withCustomHighlight = new Urlbuilder(PATH_E2E_FORM_LAYOUT_BLOCK_ITEM, 'custom-highlight-test');
|
|
13
13
|
|
|
@@ -3,7 +3,7 @@ import { PATH_E2E_GLOBAL_HEADER, PATH_E2E_GLOBAL_HEADER_PUI18647 } from '../path
|
|
|
3
3
|
import { PageObject, Urlbuilder, getElementByIndex, type } from '../helpers';
|
|
4
4
|
|
|
5
5
|
export default class GlobalHeader extends PageObject {
|
|
6
|
-
static basicURL = new Urlbuilder(PATH_E2E_GLOBAL_HEADER, 'basic');
|
|
6
|
+
static basicURL = new Urlbuilder(PATH_E2E_GLOBAL_HEADER, 'basic-test');
|
|
7
7
|
|
|
8
8
|
static oneTab = new Urlbuilder(PATH_E2E_GLOBAL_HEADER, 'one-tab');
|
|
9
9
|
|
package/ds-grid/DSGridCO.js
CHANGED
|
@@ -35,7 +35,7 @@ export default class DSGridCO extends PageObject {
|
|
|
35
35
|
|
|
36
36
|
static stickyHeaderFooter = new Urlbuilder(PATH_E2E_GRID, 'sticky-header-and-footer-test');
|
|
37
37
|
|
|
38
|
-
static tableReadOnlyURL = new Urlbuilder(PATH_E2E_GRID, 'table-read-only');
|
|
38
|
+
static tableReadOnlyURL = new Urlbuilder(PATH_E2E_GRID, 'table-read-only-test');
|
|
39
39
|
|
|
40
40
|
static tableTest = new Urlbuilder(PATH_E2E_GRID, 'table-test');
|
|
41
41
|
|
package/ds-image/DSImageCO.js
CHANGED
|
@@ -3,13 +3,13 @@ import { PATH_E2E_IMAGE } from '../paths';
|
|
|
3
3
|
import { PageObject, Urlbuilder } from '../helpers';
|
|
4
4
|
|
|
5
5
|
export default class DSImage extends PageObject {
|
|
6
|
-
static basic = new Urlbuilder(PATH_E2E_IMAGE, 'basic');
|
|
6
|
+
static basic = new Urlbuilder(PATH_E2E_IMAGE, 'basic-test');
|
|
7
7
|
|
|
8
|
-
static sizes = new Urlbuilder(PATH_E2E_IMAGE, 'sizes');
|
|
8
|
+
static sizes = new Urlbuilder(PATH_E2E_IMAGE, 'sizes-test');
|
|
9
9
|
|
|
10
|
-
static dimensions = new Urlbuilder(PATH_E2E_IMAGE, 'dimensions');
|
|
10
|
+
static dimensions = new Urlbuilder(PATH_E2E_IMAGE, 'dimensions-test');
|
|
11
11
|
|
|
12
|
-
static insideInteractive = new Urlbuilder(PATH_E2E_IMAGE, 'inside-interactive-element');
|
|
12
|
+
static insideInteractive = new Urlbuilder(PATH_E2E_IMAGE, 'inside-interactive-element-test');
|
|
13
13
|
|
|
14
14
|
static withTooltip = new Urlbuilder(PATH_E2E_IMAGE, 'with-tooltip');
|
|
15
15
|
|
|
@@ -3,7 +3,7 @@ import { PageObject, Urlbuilder } from '../helpers';
|
|
|
3
3
|
|
|
4
4
|
export default class DSIndeterminateProgressIndicatorCO extends PageObject {
|
|
5
5
|
// Desktop
|
|
6
|
-
static basicURL = new Urlbuilder(PATH_E2E_INDETERMINATE_PROGRESS_INDICATOR, 'basic');
|
|
6
|
+
static basicURL = new Urlbuilder(PATH_E2E_INDETERMINATE_PROGRESS_INDICATOR, 'basic-test');
|
|
7
7
|
|
|
8
8
|
static async getComponentWrapper() {
|
|
9
9
|
return $('[data-testid="ds-indeterminate-progress-indicator-wrapper"]');
|
|
@@ -3,15 +3,15 @@ import { PageObject, Urlbuilder } from '../helpers';
|
|
|
3
3
|
|
|
4
4
|
export default class DSMenuButtonCO extends PageObject {
|
|
5
5
|
// Current supported examples: POC
|
|
6
|
-
static activableMenuItem = new Urlbuilder(PATH_E2E_MENU_BUTTON, 'activable-menu-item');
|
|
6
|
+
static activableMenuItem = new Urlbuilder(PATH_E2E_MENU_BUTTON, 'activable-menu-item-test');
|
|
7
7
|
|
|
8
|
-
static multipleSelectMenuItem = new Urlbuilder(PATH_E2E_MENU_BUTTON, 'multiple-select-menu-item');
|
|
8
|
+
static multipleSelectMenuItem = new Urlbuilder(PATH_E2E_MENU_BUTTON, 'multiple-select-menu-item-test');
|
|
9
9
|
|
|
10
10
|
static nextTabstopTest = new Urlbuilder(PATH_E2E_MENU_BUTTON, 'next-tabstop-test');
|
|
11
11
|
|
|
12
|
-
static singleSelectMenuItem = new Urlbuilder(PATH_E2E_MENU_BUTTON, 'single-select-menu-item');
|
|
12
|
+
static singleSelectMenuItem = new Urlbuilder(PATH_E2E_MENU_BUTTON, 'single-select-menu-item-test');
|
|
13
13
|
|
|
14
|
-
static withSubmenuMenuItem = new Urlbuilder(PATH_E2E_MENU_BUTTON, 'with-submenu-menu-item');
|
|
14
|
+
static withSubmenuMenuItem = new Urlbuilder(PATH_E2E_MENU_BUTTON, 'with-submenu-menu-item-test');
|
|
15
15
|
|
|
16
16
|
static withDisabled = new Urlbuilder(PATH_E2E_MENU_BUTTON, 'disabled-items-test');
|
|
17
17
|
|
|
@@ -7,8 +7,6 @@ export default class DSQueryBuilderCO extends PageObject {
|
|
|
7
7
|
|
|
8
8
|
static inModalURL = new Urlbuilder(PATH_E2E_QUERY_BUILDER, 'pui-5837-in-modal');
|
|
9
9
|
|
|
10
|
-
static advancedDependencies = new Urlbuilder(PATH_QUERY_BUILDER, 'advanced-dependencies');
|
|
11
|
-
|
|
12
10
|
static arrayConditionsURL = new Urlbuilder(PATH_QUERY_BUILDER, 'advanced-dependencies-array');
|
|
13
11
|
|
|
14
12
|
static fieldDateRangePicker = new Urlbuilder(PATH_QUERY_BUILDER, 'field-date-range-picker');
|
package/ds-svg/DSSvgCO.js
CHANGED
|
@@ -2,15 +2,15 @@ import { PATH_E2E_SVG } from '../paths';
|
|
|
2
2
|
import { PageObject, Urlbuilder } from '../helpers';
|
|
3
3
|
|
|
4
4
|
export default class DSSvgCO extends PageObject {
|
|
5
|
-
static basic = new Urlbuilder(PATH_E2E_SVG, 'basic');
|
|
5
|
+
static basic = new Urlbuilder(PATH_E2E_SVG, 'basic-test');
|
|
6
6
|
|
|
7
|
-
static sizes = new Urlbuilder(PATH_E2E_SVG, 'sizes');
|
|
7
|
+
static sizes = new Urlbuilder(PATH_E2E_SVG, 'sizes-test');
|
|
8
8
|
|
|
9
|
-
static dimensions = new Urlbuilder(PATH_E2E_SVG, 'dimensions');
|
|
9
|
+
static dimensions = new Urlbuilder(PATH_E2E_SVG, 'dimensions-test');
|
|
10
10
|
|
|
11
|
-
static insideInteractive = new Urlbuilder(PATH_E2E_SVG, 'inside-interactive-element');
|
|
11
|
+
static insideInteractive = new Urlbuilder(PATH_E2E_SVG, 'inside-interactive-element-test');
|
|
12
12
|
|
|
13
|
-
static withTooltip = new Urlbuilder(PATH_E2E_SVG, 'with-tooltip');
|
|
13
|
+
static withTooltip = new Urlbuilder(PATH_E2E_SVG, 'with-tooltip-test');
|
|
14
14
|
|
|
15
15
|
// Selectors
|
|
16
16
|
static async getWrapper() {
|
|
@@ -71,11 +71,7 @@ if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:o
|
|
|
71
71
|
});
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
|
|
75
|
-
// the whole build, so every later snapshot is rejected. Passes on Chrome 150. Re-enable on Chrome once the pinned
|
|
76
|
-
// version is bumped or Percy support resolves it.
|
|
77
|
-
const isChrome = browser.capabilities.browserName === 'chrome' || browser.capabilities.browserName === 'Chrome';
|
|
78
|
-
(isChrome ? describe.skip : describe)('PUI-8066 - Tabs, with grid', () => {
|
|
74
|
+
describe('PUI-8066 - Tabs, with grid', () => {
|
|
79
75
|
before('loading page', async () => {
|
|
80
76
|
const errorOnGo = await DSTabsCO.withGridURL.go();
|
|
81
77
|
if (errorOnGo) throw errorOnGo;
|
|
@@ -84,7 +80,9 @@ if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:o
|
|
|
84
80
|
const snapshot = await browser.checkSnapshot(DSTabsCO.snapshotPath('tab-grid-default'));
|
|
85
81
|
await expect(snapshot).toEqual(0);
|
|
86
82
|
});
|
|
87
|
-
|
|
83
|
+
// Percy intermittently never completes this snapshot (any browser, only when run alongside other snapshots), marks
|
|
84
|
+
// the whole build as failed and rejects every later snapshot. Re-enable once Percy support resolves it.
|
|
85
|
+
it.skip('should display tabs with a grid moved one tablist to the right', async () => {
|
|
88
86
|
// const tab1 = await DSTabsCO.getTab(1);
|
|
89
87
|
// await tab1.click();
|
|
90
88
|
const tab2 = await DSTabsCO.getTab(2);
|
|
@@ -153,12 +153,16 @@ if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:o
|
|
|
153
153
|
const bottomLeftBtn = await DSToastCO.openToastPositionBtn('bottom-left');
|
|
154
154
|
const bottomCenterBtn = await DSToastCO.openToastPositionBtn('bottom-center');
|
|
155
155
|
const bottomRightBtn = await DSToastCO.openToastPositionBtn('bottom-right');
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
156
|
+
// Click order matters: all six triggers sit within y 0-88, and the top-* toast containers
|
|
157
|
+
// render over y 13-97 with autoClose disabled. Clicking the top row first covers the bottom
|
|
158
|
+
// row and WebDriver rejects the click as intercepted. Bottom row first keeps every trigger
|
|
159
|
+
// clickable (bottom containers sit at y 983-1067) and yields the same final state.
|
|
159
160
|
await bottomLeftBtn.click();
|
|
160
161
|
await bottomCenterBtn.click();
|
|
161
162
|
await bottomRightBtn.click();
|
|
163
|
+
await topLeftBtn.click();
|
|
164
|
+
await topCenterBtn.click();
|
|
165
|
+
await topRigthBtn.click();
|
|
162
166
|
await browser.pause(2000);
|
|
163
167
|
const topLeftToast = await DSToastCO.getToastByPosition('top-left');
|
|
164
168
|
const topCenterToast = await DSToastCO.getToastByPosition('top-center');
|
package/ds-toast/DSToastCO.js
CHANGED
|
@@ -13,7 +13,7 @@ export default class DSToastCO extends PageObject {
|
|
|
13
13
|
|
|
14
14
|
static longTextURL = new Urlbuilder(PATH_E2E_TOAST, 'long-text-test');
|
|
15
15
|
|
|
16
|
-
static longTextWithLinkURL = new Urlbuilder(PATH_E2E_TOAST, 'long-text-with-link');
|
|
16
|
+
static longTextWithLinkURL = new Urlbuilder(PATH_E2E_TOAST, 'long-text-with-link-test');
|
|
17
17
|
|
|
18
18
|
static multipleToastURL = new Urlbuilder(PATH_E2E_TOAST, 'multiple-toast-test');
|
|
19
19
|
|
|
@@ -17,7 +17,7 @@ export const knobs = {
|
|
|
17
17
|
export default class DSTreeViewCO extends PageObject {
|
|
18
18
|
static basicUrl = new Urlbuilder(PATH_TREEVIEW, 'basic');
|
|
19
19
|
|
|
20
|
-
static compactURL = new Urlbuilder(PATH_TREEVIEW, 'compact');
|
|
20
|
+
static compactURL = new Urlbuilder(PATH_TREEVIEW, 'compact-view');
|
|
21
21
|
|
|
22
22
|
static fluidHeightURL = new Urlbuilder(PATH_TREEVIEW, 'fluid-height');
|
|
23
23
|
|
|
@@ -3,13 +3,13 @@ import { PageObject, Urlbuilder, getElementByIndex } from '../helpers';
|
|
|
3
3
|
|
|
4
4
|
export default class DSTypographyCO extends PageObject {
|
|
5
5
|
// Desktop
|
|
6
|
-
static cardURL = new Urlbuilder(PATH_E2E_TYPOGRAPHY, 'card');
|
|
6
|
+
static cardURL = new Urlbuilder(PATH_E2E_TYPOGRAPHY, 'card-read-more');
|
|
7
7
|
|
|
8
|
-
static formURl = new Urlbuilder(PATH_E2E_TYPOGRAPHY, 'form');
|
|
8
|
+
static formURl = new Urlbuilder(PATH_E2E_TYPOGRAPHY, 'form-test');
|
|
9
9
|
|
|
10
|
-
static dialogURL = new Urlbuilder(PATH_E2E_TYPOGRAPHY, 'dialog');
|
|
10
|
+
static dialogURL = new Urlbuilder(PATH_E2E_TYPOGRAPHY, 'dialog-test');
|
|
11
11
|
|
|
12
|
-
static showcaseURL = new Urlbuilder(PATH_E2E_TYPOGRAPHY, 'show-case');
|
|
12
|
+
static showcaseURL = new Urlbuilder(PATH_E2E_TYPOGRAPHY, 'show-case-test');
|
|
13
13
|
|
|
14
14
|
static truncationURL = new Urlbuilder(PATH_E2E_TYPOGRAPHY, 'truncation-test');
|
|
15
15
|
|
package/helpers.js
CHANGED
|
@@ -402,66 +402,54 @@ export async function getLocationByDataTestId(dataTest, index) {
|
|
|
402
402
|
return result;
|
|
403
403
|
}
|
|
404
404
|
|
|
405
|
+
// Inset from the element's top/bottom edge for the scrollbar click. Classic Windows scrollbars
|
|
406
|
+
// render an arrow button (~17px) at each end: clicking it scrolls a single line, while clicking the
|
|
407
|
+
// track scrolls a full page. Clearing the arrow is what makes a click page instead of nudge.
|
|
408
|
+
const SCROLLBAR_ARROW_INSET = 30;
|
|
409
|
+
|
|
405
410
|
/**
|
|
406
|
-
* Simulates clicks on the scrollbar of an element to
|
|
411
|
+
* Simulates clicks on the scrollbar track of an element to page its content.
|
|
407
412
|
*
|
|
408
|
-
* For "down" direction
|
|
409
|
-
*
|
|
410
|
-
* to simulate a more realistic click.
|
|
413
|
+
* For "down" direction it clicks the track near the bottom of the element; for "up", near the top.
|
|
414
|
+
* Both are inset far enough to clear the scrollbar's arrow buttons. A pause is added between
|
|
415
|
+
* pointerDown and pointerUp to simulate a more realistic click.
|
|
411
416
|
*
|
|
412
|
-
* @param {string|object} element - Element or selector for the element
|
|
417
|
+
* @param {string|object} element - Element or selector for the element that scrolls (the one with
|
|
418
|
+
* overflow-y: auto/scroll, not an inner content wrapper).
|
|
413
419
|
* @param {string} direction - Scroll direction: 'up' or 'down' (default: 'down').
|
|
414
420
|
* @param {number} clicks - Number of clicks to simulate (default: 1).
|
|
415
421
|
*/
|
|
416
422
|
export async function clickScrollBar(element, direction = 'down', clicks = 1) {
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
if (!elem) {
|
|
420
|
-
throw new Error('Element not found.');
|
|
423
|
+
if (direction !== 'up' && direction !== 'down') {
|
|
424
|
+
throw new Error("Invalid direction: choose 'up' or 'down'");
|
|
421
425
|
}
|
|
422
426
|
|
|
423
|
-
//
|
|
424
|
-
|
|
427
|
+
// Page viewport, not browser.getWindowSize(): the latter reports the outer window, which includes
|
|
428
|
+
// the titlebar and toolbar, so clamping against it can yield a y below the page and make
|
|
429
|
+
// performActions fail with "move target out of bounds".
|
|
430
|
+
const viewport = await browser.execute(() => ({ width: window.innerWidth, height: window.innerHeight }));
|
|
425
431
|
|
|
426
|
-
// Loop to simulate each click.
|
|
427
432
|
for (let i = 0; i < clicks; i++) {
|
|
428
|
-
// Re-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
rect = await browser.execute((el) => {
|
|
434
|
-
const r = el.getBoundingClientRect();
|
|
435
|
-
return { x: r.x, y: r.y, width: r.width, height: r.height };
|
|
436
|
-
}, elem);
|
|
433
|
+
// Re-resolve on every iteration. Virtualized and portalled scrollers re-render between clicks,
|
|
434
|
+
// and a cached element reference would raise "stale element reference".
|
|
435
|
+
const elem = typeof element === 'string' ? await $(element) : element;
|
|
436
|
+
if (!(await elem.isExisting())) {
|
|
437
|
+
throw new Error(`clickScrollBar: element no longer exists on click ${i + 1} of ${clicks}.`);
|
|
437
438
|
}
|
|
438
439
|
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
// Para scroll up: click en el área superior.
|
|
453
|
-
yCoord = topLimit + i * 5; // Ajusta el valor (por ejemplo, 5px) según sea necesario.
|
|
454
|
-
} else {
|
|
455
|
-
throw new Error("Invalid direction: choose 'up' or 'down'");
|
|
456
|
-
}
|
|
457
|
-
// Asegurarse de que yCoord esté dentro de los límites del elemento.
|
|
458
|
-
if (direction === 'down') {
|
|
459
|
-
yCoord = Math.min(yCoord, bottomLimit);
|
|
460
|
-
} else {
|
|
461
|
-
yCoord = Math.max(yCoord, topLimit);
|
|
462
|
-
}
|
|
463
|
-
// Clamp yCoord within viewport.
|
|
464
|
-
yCoord = Math.max(0, Math.min(yCoord, viewport.height - 1));
|
|
440
|
+
const rect = await browser.execute((el) => {
|
|
441
|
+
const r = el.getBoundingClientRect();
|
|
442
|
+
return { x: r.x, y: r.y, width: r.width, height: r.height };
|
|
443
|
+
}, elem);
|
|
444
|
+
|
|
445
|
+
// x: inside the scrollbar band, 5px from the right edge.
|
|
446
|
+
const xCoord = Math.max(0, Math.min(Math.round(rect.x + rect.width - 5), viewport.width - 1));
|
|
447
|
+
|
|
448
|
+
const inset = Math.min(SCROLLBAR_ARROW_INSET, Math.max(1, Math.round(rect.height / 2) - 1));
|
|
449
|
+
const rawY = direction === 'down' ? rect.y + rect.height - inset : rect.y + inset;
|
|
450
|
+
// Keep the point inside the element, then inside the viewport.
|
|
451
|
+
const boundedY = Math.min(Math.max(Math.round(rawY), Math.round(rect.y) + 1), Math.round(rect.y + rect.height) - 1);
|
|
452
|
+
const yCoord = Math.max(0, Math.min(boundedY, viewport.height - 1));
|
|
465
453
|
|
|
466
454
|
// Perform the click action with a pause to simulate a more realistic manual click.
|
|
467
455
|
await browser.performActions([
|
package/package.json
CHANGED
|
@@ -1,100 +1,100 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "dimsum-e2e-tests",
|
|
4
|
-
"version": "3.80.0-next.
|
|
4
|
+
"version": "3.80.0-next.45",
|
|
5
5
|
"description": "End-to-end tests for dimsum library",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@elliemae/ds-accessibility": "3.80.0-next.
|
|
8
|
-
"@elliemae/ds-accordion": "3.80.0-next.
|
|
9
|
-
"@elliemae/ds-app-picker": "3.80.0-next.
|
|
10
|
-
"@elliemae/ds-backdrop": "3.80.0-next.
|
|
11
|
-
"@elliemae/ds-banner": "3.80.0-next.
|
|
12
|
-
"@elliemae/ds-basic": "3.80.0-next.
|
|
13
|
-
"@elliemae/ds-breadcrumb": "3.80.0-next.
|
|
14
|
-
"@elliemae/ds-button-v2": "3.80.0-next.
|
|
15
|
-
"@elliemae/ds-card": "3.80.0-next.
|
|
16
|
-
"@elliemae/ds-card-navigation": "3.80.0-next.
|
|
17
|
-
"@elliemae/ds-card-v1": "3.80.0-next.
|
|
18
|
-
"@elliemae/ds-card-v1-detail": "3.80.0-next.
|
|
19
|
-
"@elliemae/ds-card-v2": "3.80.0-next.
|
|
20
|
-
"@elliemae/ds-card-v2-action-addon": "3.80.0-next.
|
|
21
|
-
"@elliemae/ds-card-v2-group": "3.80.0-next.
|
|
22
|
-
"@elliemae/ds-card-v3": "3.80.0-next.
|
|
23
|
-
"@elliemae/ds-card-v3-poc": "3.80.0-next.
|
|
24
|
-
"@elliemae/ds-chat": "3.80.0-next.
|
|
25
|
-
"@elliemae/ds-chat-bubble": "3.80.0-next.
|
|
26
|
-
"@elliemae/ds-chat-card": "3.80.0-next.
|
|
27
|
-
"@elliemae/ds-chat-container": "3.80.0-next.
|
|
28
|
-
"@elliemae/ds-chat-container-header": "3.80.0-next.
|
|
29
|
-
"@elliemae/ds-chat-empty-state": "3.80.0-next.
|
|
30
|
-
"@elliemae/ds-chat-floating-button": "3.80.0-next.
|
|
31
|
-
"@elliemae/ds-chat-message-delimeter": "3.80.0-next.
|
|
32
|
-
"@elliemae/ds-chat-sidebar": "3.80.0-next.
|
|
33
|
-
"@elliemae/ds-chat-system-message": "3.80.0-next.
|
|
34
|
-
"@elliemae/ds-chat-tile": "3.80.0-next.
|
|
35
|
-
"@elliemae/ds-chip": "3.80.0-next.
|
|
36
|
-
"@elliemae/ds-circular-progress-indicator": "3.80.0-next.
|
|
37
|
-
"@elliemae/ds-classnames": "3.80.0-next.
|
|
38
|
-
"@elliemae/ds-codeeditor": "3.80.0-next.
|
|
39
|
-
"@elliemae/ds-comments": "3.80.0-next.
|
|
40
|
-
"@elliemae/ds-controlled-form": "3.80.0-next.
|
|
41
|
-
"@elliemae/ds-csv-converter": "3.80.0-next.
|
|
42
|
-
"@elliemae/ds-data-table": "3.80.0-next.
|
|
43
|
-
"@elliemae/ds-data-table-action-cell": "3.80.0-next.
|
|
44
|
-
"@elliemae/ds-data-table-cell": "3.80.0-next.
|
|
45
|
-
"@elliemae/ds-data-table-cell-header": "3.80.0-next.
|
|
46
|
-
"@elliemae/ds-data-table-drag-and-drop-cell": "3.80.0-next.
|
|
47
|
-
"@elliemae/ds-data-table-expand-cell": "3.80.0-next.
|
|
48
|
-
"@elliemae/ds-data-table-filters": "3.80.0-next.
|
|
49
|
-
"@elliemae/ds-data-table-multi-select-cell": "3.80.0-next.
|
|
50
|
-
"@elliemae/ds-data-table-single-select-cell": "3.80.0-next.
|
|
51
|
-
"@elliemae/ds-dataviz": "3.80.0-next.
|
|
52
|
-
"@elliemae/ds-dataviz-pie": "3.80.0-next.
|
|
53
|
-
"@elliemae/ds-date-time-picker": "3.80.0-next.
|
|
54
|
-
"@elliemae/ds-decision-graph": "3.80.0-next.
|
|
55
|
-
"@elliemae/ds-dialog": "3.80.0-next.
|
|
56
|
-
"@elliemae/ds-drag-and-drop": "3.80.0-next.
|
|
57
|
-
"@elliemae/ds-dropdownmenu-v2": "3.80.0-next.
|
|
58
|
-
"@elliemae/ds-dropzone": "3.80.0-next.
|
|
59
|
-
"@elliemae/ds-fast-list": "3.80.0-next.
|
|
60
|
-
"@elliemae/ds-filter-bar": "3.80.0-next.
|
|
61
|
-
"@elliemae/ds-floating-context": "3.80.0-next.
|
|
62
|
-
"@elliemae/ds-form-checkbox": "3.80.0-next.
|
|
63
|
-
"@elliemae/ds-form-combobox": "3.80.0-next.
|
|
64
|
-
"@elliemae/ds-form-date-range-picker": "3.80.0-next.
|
|
65
|
-
"@elliemae/ds-form-date-time-picker": "3.80.0-next.
|
|
66
|
-
"@elliemae/ds-form-helpers-mask-hooks": "3.80.0-next.
|
|
67
|
-
"@elliemae/ds-form-input-text": "3.80.0-next.
|
|
68
|
-
"@elliemae/ds-form-input-textarea": "3.80.0-next.
|
|
69
|
-
"@elliemae/ds-form-layout-autocomplete": "3.80.0-next.
|
|
70
|
-
"@elliemae/ds-form-layout-blocks": "3.80.0-next.
|
|
71
|
-
"@elliemae/ds-form-layout-input-group": "3.80.0-next.
|
|
72
|
-
"@elliemae/ds-form-layout-label": "3.80.0-next.
|
|
73
|
-
"@elliemae/ds-form-multi-combobox": "3.80.0-next.
|
|
74
|
-
"@elliemae/ds-form-native-select": "3.80.0-next.
|
|
75
|
-
"@elliemae/ds-form-radio": "3.80.0-next.
|
|
76
|
-
"@elliemae/ds-form-select": "3.80.0-next.
|
|
77
|
-
"@elliemae/ds-form-single-combobox": "3.80.0-next.
|
|
78
|
-
"@elliemae/ds-form-toggle": "3.80.0-next.
|
|
79
|
-
"@elliemae/ds-global-header": "3.80.0-next.
|
|
80
|
-
"@elliemae/ds-grid": "3.80.0-next.
|
|
81
|
-
"@elliemae/ds-hooks-focus-stack": "3.80.0-next.
|
|
82
|
-
"@elliemae/ds-hooks-focus-trap": "3.80.0-next.
|
|
83
|
-
"@elliemae/ds-hooks-fontsize-detector": "3.80.0-next.
|
|
84
|
-
"@elliemae/ds-hooks-fontsize-media": "3.80.0-next.
|
|
85
|
-
"@elliemae/ds-hooks-headless-tooltip": "3.80.0-next.
|
|
86
|
-
"@elliemae/ds-hooks-is-mobile": "3.80.0-next.
|
|
87
|
-
"@elliemae/ds-hooks-is-showing-ellipsis": "3.80.0-next.
|
|
88
|
-
"@elliemae/ds-hooks-keyboard-navigation": "3.80.0-next.
|
|
89
|
-
"@elliemae/ds-hooks-on-blur-out": "3.80.0-next.
|
|
90
|
-
"@elliemae/ds-hooks-on-first-focus-in": "3.80.0-next.
|
|
91
|
-
"@elliemae/ds-icon": "3.80.0-next.
|
|
92
|
-
"@elliemae/ds-icons": "3.80.0-next.
|
|
93
|
-
"@elliemae/ds-image": "3.80.0-next.
|
|
94
|
-
"@elliemae/ds-imagelibrarymodal": "3.80.0-next.
|
|
95
|
-
"@elliemae/ds-indeterminate-progress-indicator": "3.80.0-next.
|
|
96
|
-
"@elliemae/ds-layout-provider": "3.80.0-next.
|
|
97
|
-
"@elliemae/ds-left-navigation": "3.80.0-next.
|
|
7
|
+
"@elliemae/ds-accessibility": "3.80.0-next.45",
|
|
8
|
+
"@elliemae/ds-accordion": "3.80.0-next.45",
|
|
9
|
+
"@elliemae/ds-app-picker": "3.80.0-next.45",
|
|
10
|
+
"@elliemae/ds-backdrop": "3.80.0-next.45",
|
|
11
|
+
"@elliemae/ds-banner": "3.80.0-next.45",
|
|
12
|
+
"@elliemae/ds-basic": "3.80.0-next.45",
|
|
13
|
+
"@elliemae/ds-breadcrumb": "3.80.0-next.45",
|
|
14
|
+
"@elliemae/ds-button-v2": "3.80.0-next.45",
|
|
15
|
+
"@elliemae/ds-card": "3.80.0-next.45",
|
|
16
|
+
"@elliemae/ds-card-navigation": "3.80.0-next.45",
|
|
17
|
+
"@elliemae/ds-card-v1": "3.80.0-next.45",
|
|
18
|
+
"@elliemae/ds-card-v1-detail": "3.80.0-next.45",
|
|
19
|
+
"@elliemae/ds-card-v2": "3.80.0-next.45",
|
|
20
|
+
"@elliemae/ds-card-v2-action-addon": "3.80.0-next.45",
|
|
21
|
+
"@elliemae/ds-card-v2-group": "3.80.0-next.45",
|
|
22
|
+
"@elliemae/ds-card-v3": "3.80.0-next.45",
|
|
23
|
+
"@elliemae/ds-card-v3-poc": "3.80.0-next.45",
|
|
24
|
+
"@elliemae/ds-chat": "3.80.0-next.45",
|
|
25
|
+
"@elliemae/ds-chat-bubble": "3.80.0-next.45",
|
|
26
|
+
"@elliemae/ds-chat-card": "3.80.0-next.45",
|
|
27
|
+
"@elliemae/ds-chat-container": "3.80.0-next.45",
|
|
28
|
+
"@elliemae/ds-chat-container-header": "3.80.0-next.45",
|
|
29
|
+
"@elliemae/ds-chat-empty-state": "3.80.0-next.45",
|
|
30
|
+
"@elliemae/ds-chat-floating-button": "3.80.0-next.45",
|
|
31
|
+
"@elliemae/ds-chat-message-delimeter": "3.80.0-next.45",
|
|
32
|
+
"@elliemae/ds-chat-sidebar": "3.80.0-next.45",
|
|
33
|
+
"@elliemae/ds-chat-system-message": "3.80.0-next.45",
|
|
34
|
+
"@elliemae/ds-chat-tile": "3.80.0-next.45",
|
|
35
|
+
"@elliemae/ds-chip": "3.80.0-next.45",
|
|
36
|
+
"@elliemae/ds-circular-progress-indicator": "3.80.0-next.45",
|
|
37
|
+
"@elliemae/ds-classnames": "3.80.0-next.45",
|
|
38
|
+
"@elliemae/ds-codeeditor": "3.80.0-next.45",
|
|
39
|
+
"@elliemae/ds-comments": "3.80.0-next.45",
|
|
40
|
+
"@elliemae/ds-controlled-form": "3.80.0-next.45",
|
|
41
|
+
"@elliemae/ds-csv-converter": "3.80.0-next.45",
|
|
42
|
+
"@elliemae/ds-data-table": "3.80.0-next.45",
|
|
43
|
+
"@elliemae/ds-data-table-action-cell": "3.80.0-next.45",
|
|
44
|
+
"@elliemae/ds-data-table-cell": "3.80.0-next.45",
|
|
45
|
+
"@elliemae/ds-data-table-cell-header": "3.80.0-next.45",
|
|
46
|
+
"@elliemae/ds-data-table-drag-and-drop-cell": "3.80.0-next.45",
|
|
47
|
+
"@elliemae/ds-data-table-expand-cell": "3.80.0-next.45",
|
|
48
|
+
"@elliemae/ds-data-table-filters": "3.80.0-next.45",
|
|
49
|
+
"@elliemae/ds-data-table-multi-select-cell": "3.80.0-next.45",
|
|
50
|
+
"@elliemae/ds-data-table-single-select-cell": "3.80.0-next.45",
|
|
51
|
+
"@elliemae/ds-dataviz": "3.80.0-next.45",
|
|
52
|
+
"@elliemae/ds-dataviz-pie": "3.80.0-next.45",
|
|
53
|
+
"@elliemae/ds-date-time-picker": "3.80.0-next.45",
|
|
54
|
+
"@elliemae/ds-decision-graph": "3.80.0-next.45",
|
|
55
|
+
"@elliemae/ds-dialog": "3.80.0-next.45",
|
|
56
|
+
"@elliemae/ds-drag-and-drop": "3.80.0-next.45",
|
|
57
|
+
"@elliemae/ds-dropdownmenu-v2": "3.80.0-next.45",
|
|
58
|
+
"@elliemae/ds-dropzone": "3.80.0-next.45",
|
|
59
|
+
"@elliemae/ds-fast-list": "3.80.0-next.45",
|
|
60
|
+
"@elliemae/ds-filter-bar": "3.80.0-next.45",
|
|
61
|
+
"@elliemae/ds-floating-context": "3.80.0-next.45",
|
|
62
|
+
"@elliemae/ds-form-checkbox": "3.80.0-next.45",
|
|
63
|
+
"@elliemae/ds-form-combobox": "3.80.0-next.45",
|
|
64
|
+
"@elliemae/ds-form-date-range-picker": "3.80.0-next.45",
|
|
65
|
+
"@elliemae/ds-form-date-time-picker": "3.80.0-next.45",
|
|
66
|
+
"@elliemae/ds-form-helpers-mask-hooks": "3.80.0-next.45",
|
|
67
|
+
"@elliemae/ds-form-input-text": "3.80.0-next.45",
|
|
68
|
+
"@elliemae/ds-form-input-textarea": "3.80.0-next.45",
|
|
69
|
+
"@elliemae/ds-form-layout-autocomplete": "3.80.0-next.45",
|
|
70
|
+
"@elliemae/ds-form-layout-blocks": "3.80.0-next.45",
|
|
71
|
+
"@elliemae/ds-form-layout-input-group": "3.80.0-next.45",
|
|
72
|
+
"@elliemae/ds-form-layout-label": "3.80.0-next.45",
|
|
73
|
+
"@elliemae/ds-form-multi-combobox": "3.80.0-next.45",
|
|
74
|
+
"@elliemae/ds-form-native-select": "3.80.0-next.45",
|
|
75
|
+
"@elliemae/ds-form-radio": "3.80.0-next.45",
|
|
76
|
+
"@elliemae/ds-form-select": "3.80.0-next.45",
|
|
77
|
+
"@elliemae/ds-form-single-combobox": "3.80.0-next.45",
|
|
78
|
+
"@elliemae/ds-form-toggle": "3.80.0-next.45",
|
|
79
|
+
"@elliemae/ds-global-header": "3.80.0-next.45",
|
|
80
|
+
"@elliemae/ds-grid": "3.80.0-next.45",
|
|
81
|
+
"@elliemae/ds-hooks-focus-stack": "3.80.0-next.45",
|
|
82
|
+
"@elliemae/ds-hooks-focus-trap": "3.80.0-next.45",
|
|
83
|
+
"@elliemae/ds-hooks-fontsize-detector": "3.80.0-next.45",
|
|
84
|
+
"@elliemae/ds-hooks-fontsize-media": "3.80.0-next.45",
|
|
85
|
+
"@elliemae/ds-hooks-headless-tooltip": "3.80.0-next.45",
|
|
86
|
+
"@elliemae/ds-hooks-is-mobile": "3.80.0-next.45",
|
|
87
|
+
"@elliemae/ds-hooks-is-showing-ellipsis": "3.80.0-next.45",
|
|
88
|
+
"@elliemae/ds-hooks-keyboard-navigation": "3.80.0-next.45",
|
|
89
|
+
"@elliemae/ds-hooks-on-blur-out": "3.80.0-next.45",
|
|
90
|
+
"@elliemae/ds-hooks-on-first-focus-in": "3.80.0-next.45",
|
|
91
|
+
"@elliemae/ds-icon": "3.80.0-next.45",
|
|
92
|
+
"@elliemae/ds-icons": "3.80.0-next.45",
|
|
93
|
+
"@elliemae/ds-image": "3.80.0-next.45",
|
|
94
|
+
"@elliemae/ds-imagelibrarymodal": "3.80.0-next.45",
|
|
95
|
+
"@elliemae/ds-indeterminate-progress-indicator": "3.80.0-next.45",
|
|
96
|
+
"@elliemae/ds-layout-provider": "3.80.0-next.45",
|
|
97
|
+
"@elliemae/ds-left-navigation": "3.80.0-next.45",
|
|
98
98
|
"@elliemae/ds-legacy-button": "1.0.16",
|
|
99
99
|
"@elliemae/ds-legacy-button-group": "1.0.16",
|
|
100
100
|
"@elliemae/ds-legacy-button-v1": "1.0.16",
|
|
@@ -129,63 +129,63 @@
|
|
|
129
129
|
"@elliemae/ds-legacy-wysiwygeditor": "1.0.16",
|
|
130
130
|
"@elliemae/ds-legacy-zipcode-search": "1.0.16",
|
|
131
131
|
"@elliemae/ds-legacy-zoom": "1.0.16",
|
|
132
|
-
"@elliemae/ds-loading-indicator": "3.80.0-next.
|
|
133
|
-
"@elliemae/ds-menu-button": "3.80.0-next.
|
|
134
|
-
"@elliemae/ds-menu-items": "3.80.0-next.
|
|
135
|
-
"@elliemae/ds-menu-items-action": "3.80.0-next.
|
|
136
|
-
"@elliemae/ds-menu-items-commons": "3.80.0-next.
|
|
137
|
-
"@elliemae/ds-menu-items-multi": "3.80.0-next.
|
|
138
|
-
"@elliemae/ds-menu-items-section": "3.80.0-next.
|
|
139
|
-
"@elliemae/ds-menu-items-separator": "3.80.0-next.
|
|
140
|
-
"@elliemae/ds-menu-items-single": "3.80.0-next.
|
|
141
|
-
"@elliemae/ds-menu-items-single-with-submenu": "3.80.0-next.
|
|
142
|
-
"@elliemae/ds-menu-items-skeleton": "3.80.0-next.
|
|
143
|
-
"@elliemae/ds-menu-items-submenu": "3.80.0-next.
|
|
144
|
-
"@elliemae/ds-menu-tree-item": "3.80.0-next.
|
|
145
|
-
"@elliemae/ds-modal-slide": "3.80.0-next.
|
|
146
|
-
"@elliemae/ds-notification-badge": "3.80.0-next.
|
|
147
|
-
"@elliemae/ds-overlay": "3.80.0-next.
|
|
148
|
-
"@elliemae/ds-page-header": "3.80.0-next.
|
|
149
|
-
"@elliemae/ds-page-header-v1": "3.80.0-next.
|
|
150
|
-
"@elliemae/ds-page-header-v2": "3.80.0-next.
|
|
151
|
-
"@elliemae/ds-page-layout": "3.80.0-next.
|
|
152
|
-
"@elliemae/ds-pagination": "3.80.0-next.
|
|
153
|
-
"@elliemae/ds-panel-header": "3.80.0-next.
|
|
154
|
-
"@elliemae/ds-pills-v2": "3.80.0-next.
|
|
155
|
-
"@elliemae/ds-portal": "3.80.0-next.
|
|
156
|
-
"@elliemae/ds-progress-indicator": "3.80.0-next.
|
|
157
|
-
"@elliemae/ds-props-helpers": "3.80.0-next.
|
|
158
|
-
"@elliemae/ds-query-builder": "3.80.0-next.
|
|
159
|
-
"@elliemae/ds-read-more": "3.80.0-next.
|
|
160
|
-
"@elliemae/ds-resizeable-container": "3.80.0-next.
|
|
161
|
-
"@elliemae/ds-ribbon": "3.80.0-next.
|
|
162
|
-
"@elliemae/ds-scrollable-container": "3.80.0-next.
|
|
163
|
-
"@elliemae/ds-separator": "3.80.0-next.
|
|
164
|
-
"@elliemae/ds-shared": "3.80.0-next.
|
|
165
|
-
"@elliemae/ds-shuttle-v2": "3.80.0-next.
|
|
166
|
-
"@elliemae/ds-side-panel": "3.80.0-next.
|
|
167
|
-
"@elliemae/ds-side-panel-header": "3.80.0-next.
|
|
168
|
-
"@elliemae/ds-skeleton": "3.80.0-next.
|
|
169
|
-
"@elliemae/ds-slider-v2": "3.80.0-next.
|
|
170
|
-
"@elliemae/ds-square-indicator": "3.80.0-next.
|
|
171
|
-
"@elliemae/ds-stepper": "3.80.0-next.
|
|
172
|
-
"@elliemae/ds-svg": "3.80.0-next.
|
|
173
|
-
"@elliemae/ds-system": "3.80.0-next.
|
|
174
|
-
"@elliemae/ds-tabs": "3.80.0-next.
|
|
175
|
-
"@elliemae/ds-test-utils": "3.80.0-next.
|
|
176
|
-
"@elliemae/ds-toast": "3.80.0-next.
|
|
177
|
-
"@elliemae/ds-toolbar-v1": "3.80.0-next.
|
|
178
|
-
"@elliemae/ds-toolbar-v2": "3.80.0-next.
|
|
179
|
-
"@elliemae/ds-tooltip-v3": "3.80.0-next.
|
|
180
|
-
"@elliemae/ds-transition": "3.80.0-next.
|
|
181
|
-
"@elliemae/ds-tree-model": "3.80.0-next.
|
|
182
|
-
"@elliemae/ds-treeview": "3.80.0-next.
|
|
183
|
-
"@elliemae/ds-truncated-expandable-text": "3.80.0-next.
|
|
184
|
-
"@elliemae/ds-typescript-helpers": "3.80.0-next.
|
|
185
|
-
"@elliemae/ds-typography": "3.80.0-next.
|
|
186
|
-
"@elliemae/ds-virtual-list": "3.80.0-next.
|
|
187
|
-
"@elliemae/ds-wizard": "3.80.0-next.
|
|
188
|
-
"@elliemae/ds-zustand-helpers": "3.80.0-next.
|
|
132
|
+
"@elliemae/ds-loading-indicator": "3.80.0-next.45",
|
|
133
|
+
"@elliemae/ds-menu-button": "3.80.0-next.45",
|
|
134
|
+
"@elliemae/ds-menu-items": "3.80.0-next.45",
|
|
135
|
+
"@elliemae/ds-menu-items-action": "3.80.0-next.45",
|
|
136
|
+
"@elliemae/ds-menu-items-commons": "3.80.0-next.45",
|
|
137
|
+
"@elliemae/ds-menu-items-multi": "3.80.0-next.45",
|
|
138
|
+
"@elliemae/ds-menu-items-section": "3.80.0-next.45",
|
|
139
|
+
"@elliemae/ds-menu-items-separator": "3.80.0-next.45",
|
|
140
|
+
"@elliemae/ds-menu-items-single": "3.80.0-next.45",
|
|
141
|
+
"@elliemae/ds-menu-items-single-with-submenu": "3.80.0-next.45",
|
|
142
|
+
"@elliemae/ds-menu-items-skeleton": "3.80.0-next.45",
|
|
143
|
+
"@elliemae/ds-menu-items-submenu": "3.80.0-next.45",
|
|
144
|
+
"@elliemae/ds-menu-tree-item": "3.80.0-next.45",
|
|
145
|
+
"@elliemae/ds-modal-slide": "3.80.0-next.45",
|
|
146
|
+
"@elliemae/ds-notification-badge": "3.80.0-next.45",
|
|
147
|
+
"@elliemae/ds-overlay": "3.80.0-next.45",
|
|
148
|
+
"@elliemae/ds-page-header": "3.80.0-next.45",
|
|
149
|
+
"@elliemae/ds-page-header-v1": "3.80.0-next.45",
|
|
150
|
+
"@elliemae/ds-page-header-v2": "3.80.0-next.45",
|
|
151
|
+
"@elliemae/ds-page-layout": "3.80.0-next.45",
|
|
152
|
+
"@elliemae/ds-pagination": "3.80.0-next.45",
|
|
153
|
+
"@elliemae/ds-panel-header": "3.80.0-next.45",
|
|
154
|
+
"@elliemae/ds-pills-v2": "3.80.0-next.45",
|
|
155
|
+
"@elliemae/ds-portal": "3.80.0-next.45",
|
|
156
|
+
"@elliemae/ds-progress-indicator": "3.80.0-next.45",
|
|
157
|
+
"@elliemae/ds-props-helpers": "3.80.0-next.45",
|
|
158
|
+
"@elliemae/ds-query-builder": "3.80.0-next.45",
|
|
159
|
+
"@elliemae/ds-read-more": "3.80.0-next.45",
|
|
160
|
+
"@elliemae/ds-resizeable-container": "3.80.0-next.45",
|
|
161
|
+
"@elliemae/ds-ribbon": "3.80.0-next.45",
|
|
162
|
+
"@elliemae/ds-scrollable-container": "3.80.0-next.45",
|
|
163
|
+
"@elliemae/ds-separator": "3.80.0-next.45",
|
|
164
|
+
"@elliemae/ds-shared": "3.80.0-next.45",
|
|
165
|
+
"@elliemae/ds-shuttle-v2": "3.80.0-next.45",
|
|
166
|
+
"@elliemae/ds-side-panel": "3.80.0-next.45",
|
|
167
|
+
"@elliemae/ds-side-panel-header": "3.80.0-next.45",
|
|
168
|
+
"@elliemae/ds-skeleton": "3.80.0-next.45",
|
|
169
|
+
"@elliemae/ds-slider-v2": "3.80.0-next.45",
|
|
170
|
+
"@elliemae/ds-square-indicator": "3.80.0-next.45",
|
|
171
|
+
"@elliemae/ds-stepper": "3.80.0-next.45",
|
|
172
|
+
"@elliemae/ds-svg": "3.80.0-next.45",
|
|
173
|
+
"@elliemae/ds-system": "3.80.0-next.45",
|
|
174
|
+
"@elliemae/ds-tabs": "3.80.0-next.45",
|
|
175
|
+
"@elliemae/ds-test-utils": "3.80.0-next.45",
|
|
176
|
+
"@elliemae/ds-toast": "3.80.0-next.45",
|
|
177
|
+
"@elliemae/ds-toolbar-v1": "3.80.0-next.45",
|
|
178
|
+
"@elliemae/ds-toolbar-v2": "3.80.0-next.45",
|
|
179
|
+
"@elliemae/ds-tooltip-v3": "3.80.0-next.45",
|
|
180
|
+
"@elliemae/ds-transition": "3.80.0-next.45",
|
|
181
|
+
"@elliemae/ds-tree-model": "3.80.0-next.45",
|
|
182
|
+
"@elliemae/ds-treeview": "3.80.0-next.45",
|
|
183
|
+
"@elliemae/ds-truncated-expandable-text": "3.80.0-next.45",
|
|
184
|
+
"@elliemae/ds-typescript-helpers": "3.80.0-next.45",
|
|
185
|
+
"@elliemae/ds-typography": "3.80.0-next.45",
|
|
186
|
+
"@elliemae/ds-virtual-list": "3.80.0-next.45",
|
|
187
|
+
"@elliemae/ds-wizard": "3.80.0-next.45",
|
|
188
|
+
"@elliemae/ds-zustand-helpers": "3.80.0-next.45"
|
|
189
189
|
},
|
|
190
190
|
"publishConfig": {
|
|
191
191
|
"access": "public"
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import DSDialog from '../DSDialogCO';
|
|
2
|
-
import { axeCoreCheck } from '../../helpers';
|
|
3
|
-
|
|
4
|
-
if (
|
|
5
|
-
(!browser.capabilities['ice:options'].isPhone &&
|
|
6
|
-
!browser.capabilities['ice:options'].isTablet &&
|
|
7
|
-
browser.capabilities.browserName === 'chrome') ||
|
|
8
|
-
browser.capabilities.browserName === 'Chrome'
|
|
9
|
-
) {
|
|
10
|
-
describe('PUI-17331 - DSDialog:: Warning dialog - axe-core', () => {
|
|
11
|
-
before('loading page', async () => {
|
|
12
|
-
const errorOnGo = await DSDialog.warningURL.go();
|
|
13
|
-
if (errorOnGo) throw errorOnGo;
|
|
14
|
-
});
|
|
15
|
-
it('should display Warning DSDialog correctly and pass axe-core scan', async () => {
|
|
16
|
-
const triggerBtn = await DSDialog.getTriggerBtn();
|
|
17
|
-
await triggerBtn.click();
|
|
18
|
-
const dialog = await DSDialog.getDialog();
|
|
19
|
-
await dialog.waitForDisplayed();
|
|
20
|
-
const result = await axeCoreCheck();
|
|
21
|
-
expect(result.length).toBe(0);
|
|
22
|
-
});
|
|
23
|
-
});
|
|
24
|
-
}
|