dimsum-e2e-tests 3.80.0-next.30 → 3.80.0-next.31

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,10 @@
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.31](/github.com/intcx/PLATFORM-UI/compare/v3.80.0-next.30...v3.80.0-next.31) (2026-10-05)
7
+
8
+ **Note:** Version bump only for package dimsum-e2e-tests
9
+
6
10
  ## [3.80.0-next.30](/github.com/intcx/PLATFORM-UI/compare/v3.80.0-next.29...v3.80.0-next.30) (2026-10-02)
7
11
 
8
12
  **Note:** Version bump only for package dimsum-e2e-tests
@@ -13,6 +13,10 @@ export default class DSIndeterminateProgressIndicatorCO extends PageObject {
13
13
  return (await this.getComponentWrapper()).$('div');
14
14
  }
15
15
 
16
+ static async getRoots() {
17
+ return $$('[data-testid="ds-indeterminateprogressindicator-root"]');
18
+ }
19
+
16
20
  // Snapshots
17
21
  static snapshotPath(example = 'basic') {
18
22
  return PageObject.getSnapshotPathBuilder('IndeterminateProgressIndicator', example);
@@ -0,0 +1,51 @@
1
+ import DSIndeterminateProgressIndicatorCO from '../DSIndeterminateProgressIndicatorCO';
2
+
3
+ // Tests for the fix introduced in PUI-18880: the root used to carry a `title` duplicating its `aria-label`,
4
+ // which some screen readers announce twice. The accessible name must come from `aria-label` only.
5
+ //
6
+ // Chrome only: pure DOM attribute contract. The `|| 'Chrome'` branch is mandatory, BrowserStack reports the
7
+ // capitalised name and a lowercase-only guard registers zero tests.
8
+ if (
9
+ (!browser.capabilities['ice:options'].isPhone &&
10
+ !browser.capabilities['ice:options'].isTablet &&
11
+ browser.capabilities.browserName === 'chrome') ||
12
+ browser.capabilities.browserName === 'Chrome'
13
+ ) {
14
+ describe('PUI-19251 - DSIndeterminateProgressIndicator:: accessible name without title attribute - Func', () => {
15
+ before('loading page', async () => {
16
+ const errorOnGo = await DSIndeterminateProgressIndicatorCO.basicURL.go();
17
+ if (errorOnGo) throw errorOnGo;
18
+ });
19
+
20
+ it('01: should expose the label via aria-label only, with no title attribute', async () => {
21
+ // Wait for the story's timed state change so the final labels are the ones asserted.
22
+ const dynamicTitle = await DSIndeterminateProgressIndicatorCO.getIndeterminateProgressIndicatorTitle();
23
+ await dynamicTitle.waitForDisplayed();
24
+ await browser.waitUntil(async () => (await dynamicTitle.getText()).includes('Title changed'), {
25
+ timeout: 10000,
26
+ timeoutMsg: 'dynamic title did not change',
27
+ });
28
+
29
+ const roots = await DSIndeterminateProgressIndicatorCO.getRoots();
30
+ await expect(roots).toBeElementsArrayOfSize(9);
31
+
32
+ // One read for all roots: lists every root carrying a title, or whose aria-label is empty or
33
+ // differs from the visible text. An empty list means the contract holds for all of them.
34
+ const offenders = await browser.execute(() => {
35
+ const found = [];
36
+ const nodes = document.querySelectorAll('[data-testid="ds-indeterminateprogressindicator-root"]');
37
+ for (let i = 0; i < nodes.length; i += 1) {
38
+ const ariaLabel = nodes[i].getAttribute('aria-label');
39
+ const title = nodes[i].getAttribute('title');
40
+ const text = nodes[i].innerText.trim();
41
+ if (title !== null || !ariaLabel || ariaLabel !== text) found.push({ ariaLabel, title, text });
42
+ }
43
+ return found;
44
+ });
45
+ await expect(offenders).toEqual([]);
46
+
47
+ const titledNodes = await browser.execute(() => document.querySelectorAll('#storybook-root [title]').length);
48
+ await expect(titledNodes).toBe(0);
49
+ });
50
+ });
51
+ }
@@ -0,0 +1,37 @@
1
+ /* eslint-disable max-len */
2
+ import LeftNavCO from './LeftNavigationCO';
3
+ import { axeCoreCheck } from '../helpers';
4
+
5
+ if (
6
+ (!browser.capabilities['ice:options'].isPhone &&
7
+ !browser.capabilities['ice:options'].isTablet &&
8
+ browser.capabilities.browserName === 'Chrome') ||
9
+ browser.capabilities.browserName === 'chrome'
10
+ ) {
11
+ describe('PUI-10670 - LeftNavigation: Axe-Core: Basic full features', () => {
12
+ before('loading page', async () => {
13
+ const errorOnGo = await LeftNavCO.fullFeatures.go();
14
+ if (errorOnGo) throw errorOnGo;
15
+ });
16
+ it('01: All collapsed (Section icons)', async () => {
17
+ const result = await axeCoreCheck();
18
+ expect(result.length).toBe(0);
19
+ });
20
+ it('02: Click Notifications and expand sections titles', async () => {
21
+ await (await LeftNavCO.leftComponent(0)).click();
22
+ const result = await axeCoreCheck();
23
+ expect(result.length).toBe(0);
24
+ });
25
+ it('03: Click and expand Notifications to have items with subsections', async () => {
26
+ await (await LeftNavCO.leftNavItem(0)).click();
27
+ const result = await axeCoreCheck();
28
+ expect(result.length).toBe(0);
29
+ });
30
+ it('04: Collapse Notifications and open forms with plain items', async () => {
31
+ await (await LeftNavCO.leftChevron()).click();
32
+ await (await LeftNavCO.leftNavItem(2)).click();
33
+ const result = await axeCoreCheck();
34
+ expect(result.length).toBe(0);
35
+ });
36
+ });
37
+ }
@@ -0,0 +1,23 @@
1
+ /* eslint-disable max-len */
2
+ import LeftNavCO from './LeftNavigationCO';
3
+ import { axeCoreCheck } from '../helpers';
4
+
5
+ if (
6
+ (!browser.capabilities['ice:options'].isPhone &&
7
+ !browser.capabilities['ice:options'].isTablet &&
8
+ browser.capabilities.browserName === 'Chrome') ||
9
+ browser.capabilities.browserName === 'chrome'
10
+ ) {
11
+ describe('PUI-11620 - LeftNavigation, isSkeleton prop -AxeCore Test', () => {
12
+ before('loading page', async () => {
13
+ const errorOnGo = await LeftNavCO.isSkeletonURL.go();
14
+ if (errorOnGo) throw errorOnGo;
15
+ });
16
+ it('01: should display left navigation with isSkeleton and pass the axe-core scan', async () => {
17
+ const skeleton = await LeftNavCO.getSkeletonByIndex();
18
+ await skeleton.waitForDisplayed();
19
+ const result = await axeCoreCheck();
20
+ expect(result.length).toBe(0);
21
+ });
22
+ });
23
+ }
@@ -0,0 +1,34 @@
1
+ /* eslint-disable max-len */
2
+ import LeftNavCO from './LeftNavigationCO';
3
+ import { axeCoreCheck } from '../helpers';
4
+
5
+ if (
6
+ (!browser.capabilities['ice:options'].isPhone &&
7
+ !browser.capabilities['ice:options'].isTablet &&
8
+ browser.capabilities.browserName === 'Chrome') ||
9
+ browser.capabilities.browserName === 'chrome'
10
+ ) {
11
+ describe('PUI-10674 - LeftNavigation: Axe-Core: Keeping items', () => {
12
+ before('loading page', async () => {
13
+ const errorOnGo = await LeftNavCO.keepingItems.go();
14
+ if (errorOnGo) throw errorOnGo;
15
+ });
16
+ it('01: should expand notifications and keep the remaining sections', async () => {
17
+ const subItemBtn = await LeftNavCO.getSubItemBtn();
18
+ await subItemBtn.click();
19
+ await (await LeftNavCO.leftComponent(0)).click();
20
+ const itemLabel = await LeftNavCO.itemLabel(0);
21
+ await itemLabel.waitForDisplayed();
22
+ const notificationHeader = await LeftNavCO.leftNavItem(0);
23
+ await notificationHeader.click();
24
+ const result = await axeCoreCheck();
25
+ expect(result.length).toBe(0);
26
+ });
27
+ it('02: should scroll down to display the remaining sections', async () => {
28
+ const menuItemBtn = await LeftNavCO.getMenuItemBtn();
29
+ await menuItemBtn.click();
30
+ const result = await axeCoreCheck();
31
+ expect(result.length).toBe(0);
32
+ });
33
+ });
34
+ }
@@ -0,0 +1,41 @@
1
+ /* eslint-disable max-len */
2
+ import LeftNavCO from './LeftNavigationCO';
3
+ import { axeCoreCheck, mouseOver } from '../helpers';
4
+
5
+ if (
6
+ (!browser.capabilities['ice:options'].isPhone &&
7
+ !browser.capabilities['ice:options'].isTablet &&
8
+ browser.capabilities.browserName === 'Chrome') ||
9
+ browser.capabilities.browserName === 'chrome'
10
+ ) {
11
+ describe('PUI-10671 - LeftNavigation, Axe-Core: Loading indicator', () => {
12
+ before('loading page', async () => {
13
+ const errorOnGo = await LeftNavCO.loading.go();
14
+ if (errorOnGo) throw errorOnGo;
15
+ });
16
+ it('01: loading indicator in leftnav closed', async () => {
17
+ const loadingIndicator = await LeftNavCO.loadingIndicator();
18
+ await loadingIndicator.waitForDisplayed();
19
+ const result = await axeCoreCheck();
20
+ expect(result.length).toBe(0);
21
+ });
22
+ it('02: loading indicator with tooltip (leftnav closed)', async () => {
23
+ const loadingIndicator = await LeftNavCO.loadingIndicator();
24
+ await mouseOver(loadingIndicator);
25
+ const loadingIndicatorTooltip = await LeftNavCO.loadingIndicatorTooltip();
26
+ await loadingIndicatorTooltip.waitForDisplayed();
27
+ const result = await axeCoreCheck();
28
+ expect(result.length).toBe(0);
29
+ });
30
+ it('03: loading indicator in leftnav opened', async () => {
31
+ const loadingIndicator = await LeftNavCO.loadingIndicator();
32
+ await loadingIndicator.waitForDisplayed();
33
+ const footerBtn = await LeftNavCO.footerBtn();
34
+ const footerLabel = await LeftNavCO.footerLabel();
35
+ await footerBtn.click();
36
+ await footerLabel.waitForDisplayed();
37
+ const result = await axeCoreCheck();
38
+ expect(result.length).toBe(0);
39
+ });
40
+ });
41
+ }
@@ -0,0 +1,21 @@
1
+ /* eslint-disable max-len */
2
+ import LeftNavCO from './LeftNavigationCO';
3
+ import { axeCoreCheck } from '../helpers';
4
+
5
+ if (
6
+ (!browser.capabilities['ice:options'].isPhone &&
7
+ !browser.capabilities['ice:options'].isTablet &&
8
+ browser.capabilities.browserName === 'Chrome') ||
9
+ browser.capabilities.browserName === 'chrome'
10
+ ) {
11
+ describe('PUI-10673 - LeftNavigation, Axe-Core: Notification badge', () => {
12
+ before('loading page', async () => {
13
+ const errorOnGo = await LeftNavCO.notificationBadgingURL.go();
14
+ if (errorOnGo) throw errorOnGo;
15
+ });
16
+ it('01: should display integrated notification badge combinations', async () => {
17
+ const result = await axeCoreCheck();
18
+ expect(result.length).toBe(0);
19
+ });
20
+ });
21
+ }
@@ -0,0 +1,26 @@
1
+ /* eslint-disable max-len */
2
+ import LeftNavCO from './LeftNavigationCO';
3
+ import { axeCoreCheck } from '../helpers';
4
+
5
+ if (
6
+ (!browser.capabilities['ice:options'].isPhone &&
7
+ !browser.capabilities['ice:options'].isTablet &&
8
+ browser.capabilities.browserName === 'Chrome') ||
9
+ browser.capabilities.browserName === 'chrome'
10
+ ) {
11
+ describe('PUI-10677 - LeftNavigation, Axe-Core: Search bar', () => {
12
+ before('loading page', async () => {
13
+ const errorOnGo = await LeftNavCO.fullFeatures.go();
14
+ if (errorOnGo) throw errorOnGo;
15
+ });
16
+ it('01: Trigger search button and check axe scan', async () => {
17
+ await (await LeftNavCO.leftComponent(0)).click();
18
+ await (await LeftNavCO.leftNavItem(0)).click();
19
+ const searchButton = await LeftNavCO.getIconButtonByIndex(0);
20
+ await searchButton.waitForDisplayed();
21
+ await searchButton.click();
22
+ const result = await axeCoreCheck();
23
+ expect(result.length).toBe(0);
24
+ });
25
+ });
26
+ }
@@ -0,0 +1,23 @@
1
+ /* eslint-disable max-len */
2
+ import LeftNavCO from './LeftNavigationCO';
3
+ import { axeCoreCheck } from '../helpers';
4
+
5
+ if (
6
+ (!browser.capabilities['ice:options'].isPhone &&
7
+ !browser.capabilities['ice:options'].isTablet &&
8
+ browser.capabilities.browserName === 'Chrome') ||
9
+ browser.capabilities.browserName === 'chrome'
10
+ ) {
11
+ describe('PUI-10250 - LeftNavigation, Axe-Core: Showcase, more usecases', () => {
12
+ before('loading page', async () => {
13
+ const errorOnGo = await LeftNavCO.showcaseURL.go();
14
+ if (errorOnGo) throw errorOnGo;
15
+ });
16
+ it('01: should display the use case showcase and pass the axe scan', async () => {
17
+ await (await LeftNavCO.leftComponent(0)).click();
18
+ await (await LeftNavCO.leftNavItem(0)).click();
19
+ const result = await axeCoreCheck();
20
+ expect(result.length).toBe(0);
21
+ });
22
+ });
23
+ }
@@ -0,0 +1,28 @@
1
+ /* eslint-disable max-len */
2
+ import LeftNavCO from './LeftNavigationCO';
3
+ import { axeCoreCheck, mouseOver } from '../helpers';
4
+
5
+ if (
6
+ (!browser.capabilities['ice:options'].isPhone &&
7
+ !browser.capabilities['ice:options'].isTablet &&
8
+ browser.capabilities.browserName === 'Chrome') ||
9
+ browser.capabilities.browserName === 'chrome'
10
+ ) {
11
+ describe('PUI-10672 - LeftNavigation, Axe-Core: Tooltip -func', () => {
12
+ before('loading page', async () => {
13
+ const errorOnGo = await LeftNavCO.fullFeatures.go();
14
+ if (errorOnGo) throw errorOnGo;
15
+ });
16
+ it('01: should display tooltip', async () => {
17
+ const notiItem = await LeftNavCO.leftNavItem(0);
18
+ await notiItem.click();
19
+ await notiItem.click();
20
+ const truncItem = await LeftNavCO.getTruncatedText(0);
21
+ await mouseOver(truncItem);
22
+ const tooltip = await LeftNavCO.getTooltip();
23
+ await tooltip.waitForDisplayed();
24
+ const result = await axeCoreCheck();
25
+ expect(result.length).toBe(0);
26
+ });
27
+ });
28
+ }
@@ -0,0 +1,27 @@
1
+ /* eslint-disable max-len */
2
+ import LeftNavCO from './LeftNavigationCO';
3
+ import { axeCoreCheck } from '../helpers';
4
+
5
+ if (
6
+ (!browser.capabilities['ice:options'].isPhone &&
7
+ !browser.capabilities['ice:options'].isTablet &&
8
+ browser.capabilities.browserName === 'Chrome') ||
9
+ browser.capabilities.browserName === 'chrome'
10
+ ) {
11
+ describe('PUI-10676 - LeftNavigation, Axe-Core: Wrapped text -func', () => {
12
+ before('loading page', async () => {
13
+ const errorOnGo = await LeftNavCO.wrapped.go();
14
+ if (errorOnGo) throw errorOnGo;
15
+ });
16
+ it('01: should display truncated sections', async () => {
17
+ await (await LeftNavCO.leftComponent(0)).click();
18
+ const result = await axeCoreCheck();
19
+ expect(result.length).toBe(0);
20
+ });
21
+ it('01: should display truncated items', async () => {
22
+ await (await LeftNavCO.leftComponent(0)).click();
23
+ const result = await axeCoreCheck();
24
+ expect(result.length).toBe(0);
25
+ });
26
+ });
27
+ }
@@ -29,5 +29,18 @@ if (
29
29
  await expect(progress).toHaveAttribute('aria-valuemax', '100');
30
30
  await expect(await progress.getAttribute('style')).toContain('width: 50%');
31
31
  });
32
+
33
+ // PUI-18942: title and counter text used to be raw text inside plain spans.
34
+ it('02: should render title and counter text through DSTypography', async () => {
35
+ const { TITLE, COUNTER } = DSProgressIndicatorCO.SLOT_TESTID;
36
+
37
+ const titleText = await DSProgressIndicatorCO.getTypographyIn(TITLE);
38
+ await expect(titleText).toBeExisting();
39
+ await expect(titleText).toHaveText('upload');
40
+
41
+ const counterText = await DSProgressIndicatorCO.getTypographyIn(COUNTER);
42
+ await expect(counterText).toBeExisting();
43
+ await expect(counterText).toHaveText('50 of 100');
44
+ });
32
45
  });
33
46
  }
@@ -27,6 +27,8 @@ export default class DSProgressIndicatorCO extends PageObject {
27
27
 
28
28
  static slotsURL = new Urlbuilder(PATH_E2E_PROGRESS_INDICATOR, 'slots-test');
29
29
 
30
+ static singleBarVariantURL = new Urlbuilder(PATH_E2E_PROGRESS_INDICATOR, 'single-bar-variant-test');
31
+
30
32
  static SLOT_TESTID = SLOT_TESTID;
31
33
 
32
34
  // selectors
@@ -55,6 +57,11 @@ export default class DSProgressIndicatorCO extends PageObject {
55
57
  return $$(scoped(SLOT_TESTID.PROGRESS, caseTestId));
56
58
  }
57
59
 
60
+ // Text node DSTypography renders inside a slot, e.g. getTypographyIn(SLOT_TESTID.TITLE).
61
+ static async getTypographyIn(slotTestId, caseTestId) {
62
+ return $(`${scoped(slotTestId, caseTestId)} [data-dimsum-slot="dsTypographyRoot"]`);
63
+ }
64
+
58
65
  // Slot-level lookups, for asserting the data-dimsum-slot contract independently of the testids.
59
66
  static async getSlot(slotName, caseTestId) {
60
67
  const prefix = caseTestId ? `[data-testid="${caseTestId}"] ` : '';
@@ -0,0 +1,44 @@
1
+ import DSProgressIndicatorCO from '../DSProgressIndicatorCO';
2
+
3
+ // Tests for the fix introduced in PUI-18677: `variant` used to be ignored in single-bar mode, so every
4
+ // single bar rendered the default fill.
5
+ //
6
+ // Theme-agnostic on purpose: no colour value is pinned. Each variant only has to paint a fill that differs
7
+ // from the default one; the exact palette is guarded by the visual spec.
8
+ //
9
+ // Chrome only: a computed style of a static story does not vary by engine. The `|| 'Chrome'` branch is
10
+ // mandatory, BrowserStack reports the capitalised name and a lowercase-only guard registers zero tests.
11
+ if (
12
+ (!browser.capabilities['ice:options'].isPhone &&
13
+ !browser.capabilities['ice:options'].isTablet &&
14
+ browser.capabilities.browserName === 'chrome') ||
15
+ browser.capabilities.browserName === 'Chrome'
16
+ ) {
17
+ describe('PUI-19235 - DSProgressIndicator:: single-bar variant fill colour - Func', () => {
18
+ before('loading page', async () => {
19
+ const errorOnGo = await DSProgressIndicatorCO.singleBarVariantURL.go();
20
+ if (errorOnGo) throw errorOnGo;
21
+ });
22
+
23
+ it('01: should paint each single-bar variant fill differently from the default', async () => {
24
+ const fillColour = async (caseId) => {
25
+ const bar = await DSProgressIndicatorCO.getProgress(caseId);
26
+ await bar.waitForDisplayed();
27
+ return (await bar.getCSSProperty('background-color')).parsed.hex;
28
+ };
29
+
30
+ const defaultColour = await fillColour('default-case');
31
+ const success = await fillColour('success-case');
32
+ const warning = await fillColour('warning-case');
33
+ const info = await fillColour('info-case');
34
+ const error = await fillColour('error-case');
35
+
36
+ await expect(success).not.toEqual(defaultColour);
37
+ await expect(warning).not.toEqual(defaultColour);
38
+ await expect(info).not.toEqual(defaultColour);
39
+ await expect(error).not.toEqual(defaultColour);
40
+ // The variants must also be told apart from each other, not just from the default.
41
+ await expect(new Set([defaultColour, success, warning, info, error]).size).toBe(5);
42
+ });
43
+ });
44
+ }
@@ -0,0 +1,19 @@
1
+ import DSProgressIndicatorCO from '../DSProgressIndicatorCO';
2
+
3
+ // Tests for the fix introduced in PUI-18677: the single-bar `variant` now reaches the fill. The functional
4
+ // spec only proves the colours differ; this baseline records the actual palette per variant.
5
+ if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:options'].isTablet) {
6
+ describe('PUI-19236 - DSProgressIndicator:: single-bar variant fill colour - Visual', () => {
7
+ before('loading page', async () => {
8
+ const errorOnGo = await DSProgressIndicatorCO.singleBarVariantURL.go();
9
+ if (errorOnGo) throw errorOnGo;
10
+ });
11
+
12
+ it('01: should display one single-bar indicator per variant', async () => {
13
+ await (await DSProgressIndicatorCO.getProgress('error-case')).waitForDisplayed();
14
+
15
+ const snapshot = await browser.percyCheckScreenshot();
16
+ await expect(snapshot).toEqual(0);
17
+ });
18
+ });
19
+ }
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.30",
4
+ "version": "3.80.0-next.31",
5
5
  "description": "End-to-end tests for dimsum library",
6
6
  "dependencies": {
7
- "@elliemae/ds-accessibility": "3.80.0-next.30",
8
- "@elliemae/ds-accordion": "3.80.0-next.30",
9
- "@elliemae/ds-app-picker": "3.80.0-next.30",
10
- "@elliemae/ds-backdrop": "3.80.0-next.30",
11
- "@elliemae/ds-banner": "3.80.0-next.30",
12
- "@elliemae/ds-basic": "3.80.0-next.30",
13
- "@elliemae/ds-breadcrumb": "3.80.0-next.30",
14
- "@elliemae/ds-button-v2": "3.80.0-next.30",
15
- "@elliemae/ds-card": "3.80.0-next.30",
16
- "@elliemae/ds-card-navigation": "3.80.0-next.30",
17
- "@elliemae/ds-card-v1": "3.80.0-next.30",
18
- "@elliemae/ds-card-v1-detail": "3.80.0-next.30",
19
- "@elliemae/ds-card-v2": "3.80.0-next.30",
20
- "@elliemae/ds-card-v2-action-addon": "3.80.0-next.30",
21
- "@elliemae/ds-card-v2-group": "3.80.0-next.30",
22
- "@elliemae/ds-card-v3": "3.80.0-next.30",
23
- "@elliemae/ds-card-v3-poc": "3.80.0-next.30",
24
- "@elliemae/ds-chat": "3.80.0-next.30",
25
- "@elliemae/ds-chat-bubble": "3.80.0-next.30",
26
- "@elliemae/ds-chat-card": "3.80.0-next.30",
27
- "@elliemae/ds-chat-container": "3.80.0-next.30",
28
- "@elliemae/ds-chat-container-header": "3.80.0-next.30",
29
- "@elliemae/ds-chat-empty-state": "3.80.0-next.30",
30
- "@elliemae/ds-chat-floating-button": "3.80.0-next.30",
31
- "@elliemae/ds-chat-message-delimeter": "3.80.0-next.30",
32
- "@elliemae/ds-chat-sidebar": "3.80.0-next.30",
33
- "@elliemae/ds-chat-system-message": "3.80.0-next.30",
34
- "@elliemae/ds-chat-tile": "3.80.0-next.30",
35
- "@elliemae/ds-chip": "3.80.0-next.30",
36
- "@elliemae/ds-circular-progress-indicator": "3.80.0-next.30",
37
- "@elliemae/ds-classnames": "3.80.0-next.30",
38
- "@elliemae/ds-codeeditor": "3.80.0-next.30",
39
- "@elliemae/ds-comments": "3.80.0-next.30",
40
- "@elliemae/ds-controlled-form": "3.80.0-next.30",
41
- "@elliemae/ds-csv-converter": "3.80.0-next.30",
42
- "@elliemae/ds-data-table": "3.80.0-next.30",
43
- "@elliemae/ds-data-table-action-cell": "3.80.0-next.30",
44
- "@elliemae/ds-data-table-cell": "3.80.0-next.30",
45
- "@elliemae/ds-data-table-cell-header": "3.80.0-next.30",
46
- "@elliemae/ds-data-table-drag-and-drop-cell": "3.80.0-next.30",
47
- "@elliemae/ds-data-table-expand-cell": "3.80.0-next.30",
48
- "@elliemae/ds-data-table-filters": "3.80.0-next.30",
49
- "@elliemae/ds-data-table-multi-select-cell": "3.80.0-next.30",
50
- "@elliemae/ds-data-table-single-select-cell": "3.80.0-next.30",
51
- "@elliemae/ds-dataviz": "3.80.0-next.30",
52
- "@elliemae/ds-dataviz-pie": "3.80.0-next.30",
53
- "@elliemae/ds-date-time-picker": "3.80.0-next.30",
54
- "@elliemae/ds-decision-graph": "3.80.0-next.30",
55
- "@elliemae/ds-dialog": "3.80.0-next.30",
56
- "@elliemae/ds-drag-and-drop": "3.80.0-next.30",
57
- "@elliemae/ds-dropdownmenu-v2": "3.80.0-next.30",
58
- "@elliemae/ds-dropzone": "3.80.0-next.30",
59
- "@elliemae/ds-fast-list": "3.80.0-next.30",
60
- "@elliemae/ds-filter-bar": "3.80.0-next.30",
61
- "@elliemae/ds-floating-context": "3.80.0-next.30",
62
- "@elliemae/ds-form-checkbox": "3.80.0-next.30",
63
- "@elliemae/ds-form-combobox": "3.80.0-next.30",
64
- "@elliemae/ds-form-date-range-picker": "3.80.0-next.30",
65
- "@elliemae/ds-form-date-time-picker": "3.80.0-next.30",
66
- "@elliemae/ds-form-helpers-mask-hooks": "3.80.0-next.30",
67
- "@elliemae/ds-form-input-text": "3.80.0-next.30",
68
- "@elliemae/ds-form-input-textarea": "3.80.0-next.30",
69
- "@elliemae/ds-form-layout-autocomplete": "3.80.0-next.30",
70
- "@elliemae/ds-form-layout-blocks": "3.80.0-next.30",
71
- "@elliemae/ds-form-layout-input-group": "3.80.0-next.30",
72
- "@elliemae/ds-form-layout-label": "3.80.0-next.30",
73
- "@elliemae/ds-form-multi-combobox": "3.80.0-next.30",
74
- "@elliemae/ds-form-native-select": "3.80.0-next.30",
75
- "@elliemae/ds-form-radio": "3.80.0-next.30",
76
- "@elliemae/ds-form-select": "3.80.0-next.30",
77
- "@elliemae/ds-form-single-combobox": "3.80.0-next.30",
78
- "@elliemae/ds-form-toggle": "3.80.0-next.30",
79
- "@elliemae/ds-global-header": "3.80.0-next.30",
80
- "@elliemae/ds-grid": "3.80.0-next.30",
81
- "@elliemae/ds-hooks-focus-stack": "3.80.0-next.30",
82
- "@elliemae/ds-hooks-focus-trap": "3.80.0-next.30",
83
- "@elliemae/ds-hooks-fontsize-detector": "3.80.0-next.30",
84
- "@elliemae/ds-hooks-fontsize-media": "3.80.0-next.30",
85
- "@elliemae/ds-hooks-headless-tooltip": "3.80.0-next.30",
86
- "@elliemae/ds-hooks-is-mobile": "3.80.0-next.30",
87
- "@elliemae/ds-hooks-is-showing-ellipsis": "3.80.0-next.30",
88
- "@elliemae/ds-hooks-keyboard-navigation": "3.80.0-next.30",
89
- "@elliemae/ds-hooks-on-blur-out": "3.80.0-next.30",
90
- "@elliemae/ds-hooks-on-first-focus-in": "3.80.0-next.30",
91
- "@elliemae/ds-icon": "3.80.0-next.30",
92
- "@elliemae/ds-icons": "3.80.0-next.30",
93
- "@elliemae/ds-image": "3.80.0-next.30",
94
- "@elliemae/ds-imagelibrarymodal": "3.80.0-next.30",
95
- "@elliemae/ds-indeterminate-progress-indicator": "3.80.0-next.30",
96
- "@elliemae/ds-layout-provider": "3.80.0-next.30",
97
- "@elliemae/ds-left-navigation": "3.80.0-next.30",
7
+ "@elliemae/ds-accessibility": "3.80.0-next.31",
8
+ "@elliemae/ds-accordion": "3.80.0-next.31",
9
+ "@elliemae/ds-app-picker": "3.80.0-next.31",
10
+ "@elliemae/ds-backdrop": "3.80.0-next.31",
11
+ "@elliemae/ds-banner": "3.80.0-next.31",
12
+ "@elliemae/ds-basic": "3.80.0-next.31",
13
+ "@elliemae/ds-breadcrumb": "3.80.0-next.31",
14
+ "@elliemae/ds-button-v2": "3.80.0-next.31",
15
+ "@elliemae/ds-card": "3.80.0-next.31",
16
+ "@elliemae/ds-card-navigation": "3.80.0-next.31",
17
+ "@elliemae/ds-card-v1": "3.80.0-next.31",
18
+ "@elliemae/ds-card-v1-detail": "3.80.0-next.31",
19
+ "@elliemae/ds-card-v2": "3.80.0-next.31",
20
+ "@elliemae/ds-card-v2-action-addon": "3.80.0-next.31",
21
+ "@elliemae/ds-card-v2-group": "3.80.0-next.31",
22
+ "@elliemae/ds-card-v3": "3.80.0-next.31",
23
+ "@elliemae/ds-card-v3-poc": "3.80.0-next.31",
24
+ "@elliemae/ds-chat": "3.80.0-next.31",
25
+ "@elliemae/ds-chat-bubble": "3.80.0-next.31",
26
+ "@elliemae/ds-chat-card": "3.80.0-next.31",
27
+ "@elliemae/ds-chat-container": "3.80.0-next.31",
28
+ "@elliemae/ds-chat-container-header": "3.80.0-next.31",
29
+ "@elliemae/ds-chat-empty-state": "3.80.0-next.31",
30
+ "@elliemae/ds-chat-floating-button": "3.80.0-next.31",
31
+ "@elliemae/ds-chat-message-delimeter": "3.80.0-next.31",
32
+ "@elliemae/ds-chat-sidebar": "3.80.0-next.31",
33
+ "@elliemae/ds-chat-system-message": "3.80.0-next.31",
34
+ "@elliemae/ds-chat-tile": "3.80.0-next.31",
35
+ "@elliemae/ds-chip": "3.80.0-next.31",
36
+ "@elliemae/ds-circular-progress-indicator": "3.80.0-next.31",
37
+ "@elliemae/ds-classnames": "3.80.0-next.31",
38
+ "@elliemae/ds-codeeditor": "3.80.0-next.31",
39
+ "@elliemae/ds-comments": "3.80.0-next.31",
40
+ "@elliemae/ds-controlled-form": "3.80.0-next.31",
41
+ "@elliemae/ds-csv-converter": "3.80.0-next.31",
42
+ "@elliemae/ds-data-table": "3.80.0-next.31",
43
+ "@elliemae/ds-data-table-action-cell": "3.80.0-next.31",
44
+ "@elliemae/ds-data-table-cell": "3.80.0-next.31",
45
+ "@elliemae/ds-data-table-cell-header": "3.80.0-next.31",
46
+ "@elliemae/ds-data-table-drag-and-drop-cell": "3.80.0-next.31",
47
+ "@elliemae/ds-data-table-expand-cell": "3.80.0-next.31",
48
+ "@elliemae/ds-data-table-filters": "3.80.0-next.31",
49
+ "@elliemae/ds-data-table-multi-select-cell": "3.80.0-next.31",
50
+ "@elliemae/ds-data-table-single-select-cell": "3.80.0-next.31",
51
+ "@elliemae/ds-dataviz": "3.80.0-next.31",
52
+ "@elliemae/ds-dataviz-pie": "3.80.0-next.31",
53
+ "@elliemae/ds-date-time-picker": "3.80.0-next.31",
54
+ "@elliemae/ds-decision-graph": "3.80.0-next.31",
55
+ "@elliemae/ds-dialog": "3.80.0-next.31",
56
+ "@elliemae/ds-drag-and-drop": "3.80.0-next.31",
57
+ "@elliemae/ds-dropdownmenu-v2": "3.80.0-next.31",
58
+ "@elliemae/ds-dropzone": "3.80.0-next.31",
59
+ "@elliemae/ds-fast-list": "3.80.0-next.31",
60
+ "@elliemae/ds-filter-bar": "3.80.0-next.31",
61
+ "@elliemae/ds-floating-context": "3.80.0-next.31",
62
+ "@elliemae/ds-form-checkbox": "3.80.0-next.31",
63
+ "@elliemae/ds-form-combobox": "3.80.0-next.31",
64
+ "@elliemae/ds-form-date-range-picker": "3.80.0-next.31",
65
+ "@elliemae/ds-form-date-time-picker": "3.80.0-next.31",
66
+ "@elliemae/ds-form-helpers-mask-hooks": "3.80.0-next.31",
67
+ "@elliemae/ds-form-input-text": "3.80.0-next.31",
68
+ "@elliemae/ds-form-input-textarea": "3.80.0-next.31",
69
+ "@elliemae/ds-form-layout-autocomplete": "3.80.0-next.31",
70
+ "@elliemae/ds-form-layout-blocks": "3.80.0-next.31",
71
+ "@elliemae/ds-form-layout-input-group": "3.80.0-next.31",
72
+ "@elliemae/ds-form-layout-label": "3.80.0-next.31",
73
+ "@elliemae/ds-form-multi-combobox": "3.80.0-next.31",
74
+ "@elliemae/ds-form-native-select": "3.80.0-next.31",
75
+ "@elliemae/ds-form-radio": "3.80.0-next.31",
76
+ "@elliemae/ds-form-select": "3.80.0-next.31",
77
+ "@elliemae/ds-form-single-combobox": "3.80.0-next.31",
78
+ "@elliemae/ds-form-toggle": "3.80.0-next.31",
79
+ "@elliemae/ds-global-header": "3.80.0-next.31",
80
+ "@elliemae/ds-grid": "3.80.0-next.31",
81
+ "@elliemae/ds-hooks-focus-stack": "3.80.0-next.31",
82
+ "@elliemae/ds-hooks-focus-trap": "3.80.0-next.31",
83
+ "@elliemae/ds-hooks-fontsize-detector": "3.80.0-next.31",
84
+ "@elliemae/ds-hooks-fontsize-media": "3.80.0-next.31",
85
+ "@elliemae/ds-hooks-headless-tooltip": "3.80.0-next.31",
86
+ "@elliemae/ds-hooks-is-mobile": "3.80.0-next.31",
87
+ "@elliemae/ds-hooks-is-showing-ellipsis": "3.80.0-next.31",
88
+ "@elliemae/ds-hooks-keyboard-navigation": "3.80.0-next.31",
89
+ "@elliemae/ds-hooks-on-blur-out": "3.80.0-next.31",
90
+ "@elliemae/ds-hooks-on-first-focus-in": "3.80.0-next.31",
91
+ "@elliemae/ds-icon": "3.80.0-next.31",
92
+ "@elliemae/ds-icons": "3.80.0-next.31",
93
+ "@elliemae/ds-image": "3.80.0-next.31",
94
+ "@elliemae/ds-imagelibrarymodal": "3.80.0-next.31",
95
+ "@elliemae/ds-indeterminate-progress-indicator": "3.80.0-next.31",
96
+ "@elliemae/ds-layout-provider": "3.80.0-next.31",
97
+ "@elliemae/ds-left-navigation": "3.80.0-next.31",
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.30",
133
- "@elliemae/ds-menu-button": "3.80.0-next.30",
134
- "@elliemae/ds-menu-items": "3.80.0-next.30",
135
- "@elliemae/ds-menu-items-action": "3.80.0-next.30",
136
- "@elliemae/ds-menu-items-commons": "3.80.0-next.30",
137
- "@elliemae/ds-menu-items-multi": "3.80.0-next.30",
138
- "@elliemae/ds-menu-items-section": "3.80.0-next.30",
139
- "@elliemae/ds-menu-items-separator": "3.80.0-next.30",
140
- "@elliemae/ds-menu-items-single": "3.80.0-next.30",
141
- "@elliemae/ds-menu-items-single-with-submenu": "3.80.0-next.30",
142
- "@elliemae/ds-menu-items-skeleton": "3.80.0-next.30",
143
- "@elliemae/ds-menu-items-submenu": "3.80.0-next.30",
144
- "@elliemae/ds-menu-tree-item": "3.80.0-next.30",
145
- "@elliemae/ds-modal-slide": "3.80.0-next.30",
146
- "@elliemae/ds-notification-badge": "3.80.0-next.30",
147
- "@elliemae/ds-overlay": "3.80.0-next.30",
148
- "@elliemae/ds-page-header": "3.80.0-next.30",
149
- "@elliemae/ds-page-header-v1": "3.80.0-next.30",
150
- "@elliemae/ds-page-header-v2": "3.80.0-next.30",
151
- "@elliemae/ds-page-layout": "3.80.0-next.30",
152
- "@elliemae/ds-pagination": "3.80.0-next.30",
153
- "@elliemae/ds-panel-header": "3.80.0-next.30",
154
- "@elliemae/ds-pills-v2": "3.80.0-next.30",
155
- "@elliemae/ds-portal": "3.80.0-next.30",
156
- "@elliemae/ds-progress-indicator": "3.80.0-next.30",
157
- "@elliemae/ds-props-helpers": "3.80.0-next.30",
158
- "@elliemae/ds-query-builder": "3.80.0-next.30",
159
- "@elliemae/ds-read-more": "3.80.0-next.30",
160
- "@elliemae/ds-resizeable-container": "3.80.0-next.30",
161
- "@elliemae/ds-ribbon": "3.80.0-next.30",
162
- "@elliemae/ds-scrollable-container": "3.80.0-next.30",
163
- "@elliemae/ds-separator": "3.80.0-next.30",
164
- "@elliemae/ds-shared": "3.80.0-next.30",
165
- "@elliemae/ds-shuttle-v2": "3.80.0-next.30",
166
- "@elliemae/ds-side-panel": "3.80.0-next.30",
167
- "@elliemae/ds-side-panel-header": "3.80.0-next.30",
168
- "@elliemae/ds-skeleton": "3.80.0-next.30",
169
- "@elliemae/ds-slider-v2": "3.80.0-next.30",
170
- "@elliemae/ds-square-indicator": "3.80.0-next.30",
171
- "@elliemae/ds-stepper": "3.80.0-next.30",
172
- "@elliemae/ds-svg": "3.80.0-next.30",
173
- "@elliemae/ds-system": "3.80.0-next.30",
174
- "@elliemae/ds-tabs": "3.80.0-next.30",
175
- "@elliemae/ds-test-utils": "3.80.0-next.30",
176
- "@elliemae/ds-toast": "3.80.0-next.30",
177
- "@elliemae/ds-toolbar-v1": "3.80.0-next.30",
178
- "@elliemae/ds-toolbar-v2": "3.80.0-next.30",
179
- "@elliemae/ds-tooltip-v3": "3.80.0-next.30",
180
- "@elliemae/ds-transition": "3.80.0-next.30",
181
- "@elliemae/ds-tree-model": "3.80.0-next.30",
182
- "@elliemae/ds-treeview": "3.80.0-next.30",
183
- "@elliemae/ds-truncated-expandable-text": "3.80.0-next.30",
184
- "@elliemae/ds-typescript-helpers": "3.80.0-next.30",
185
- "@elliemae/ds-typography": "3.80.0-next.30",
186
- "@elliemae/ds-virtual-list": "3.80.0-next.30",
187
- "@elliemae/ds-wizard": "3.80.0-next.30",
188
- "@elliemae/ds-zustand-helpers": "3.80.0-next.30"
132
+ "@elliemae/ds-loading-indicator": "3.80.0-next.31",
133
+ "@elliemae/ds-menu-button": "3.80.0-next.31",
134
+ "@elliemae/ds-menu-items": "3.80.0-next.31",
135
+ "@elliemae/ds-menu-items-action": "3.80.0-next.31",
136
+ "@elliemae/ds-menu-items-commons": "3.80.0-next.31",
137
+ "@elliemae/ds-menu-items-multi": "3.80.0-next.31",
138
+ "@elliemae/ds-menu-items-section": "3.80.0-next.31",
139
+ "@elliemae/ds-menu-items-separator": "3.80.0-next.31",
140
+ "@elliemae/ds-menu-items-single": "3.80.0-next.31",
141
+ "@elliemae/ds-menu-items-single-with-submenu": "3.80.0-next.31",
142
+ "@elliemae/ds-menu-items-skeleton": "3.80.0-next.31",
143
+ "@elliemae/ds-menu-items-submenu": "3.80.0-next.31",
144
+ "@elliemae/ds-menu-tree-item": "3.80.0-next.31",
145
+ "@elliemae/ds-modal-slide": "3.80.0-next.31",
146
+ "@elliemae/ds-notification-badge": "3.80.0-next.31",
147
+ "@elliemae/ds-overlay": "3.80.0-next.31",
148
+ "@elliemae/ds-page-header": "3.80.0-next.31",
149
+ "@elliemae/ds-page-header-v1": "3.80.0-next.31",
150
+ "@elliemae/ds-page-header-v2": "3.80.0-next.31",
151
+ "@elliemae/ds-page-layout": "3.80.0-next.31",
152
+ "@elliemae/ds-pagination": "3.80.0-next.31",
153
+ "@elliemae/ds-panel-header": "3.80.0-next.31",
154
+ "@elliemae/ds-pills-v2": "3.80.0-next.31",
155
+ "@elliemae/ds-portal": "3.80.0-next.31",
156
+ "@elliemae/ds-progress-indicator": "3.80.0-next.31",
157
+ "@elliemae/ds-props-helpers": "3.80.0-next.31",
158
+ "@elliemae/ds-query-builder": "3.80.0-next.31",
159
+ "@elliemae/ds-read-more": "3.80.0-next.31",
160
+ "@elliemae/ds-resizeable-container": "3.80.0-next.31",
161
+ "@elliemae/ds-ribbon": "3.80.0-next.31",
162
+ "@elliemae/ds-scrollable-container": "3.80.0-next.31",
163
+ "@elliemae/ds-separator": "3.80.0-next.31",
164
+ "@elliemae/ds-shared": "3.80.0-next.31",
165
+ "@elliemae/ds-shuttle-v2": "3.80.0-next.31",
166
+ "@elliemae/ds-side-panel": "3.80.0-next.31",
167
+ "@elliemae/ds-side-panel-header": "3.80.0-next.31",
168
+ "@elliemae/ds-skeleton": "3.80.0-next.31",
169
+ "@elliemae/ds-slider-v2": "3.80.0-next.31",
170
+ "@elliemae/ds-square-indicator": "3.80.0-next.31",
171
+ "@elliemae/ds-stepper": "3.80.0-next.31",
172
+ "@elliemae/ds-svg": "3.80.0-next.31",
173
+ "@elliemae/ds-system": "3.80.0-next.31",
174
+ "@elliemae/ds-tabs": "3.80.0-next.31",
175
+ "@elliemae/ds-test-utils": "3.80.0-next.31",
176
+ "@elliemae/ds-toast": "3.80.0-next.31",
177
+ "@elliemae/ds-toolbar-v1": "3.80.0-next.31",
178
+ "@elliemae/ds-toolbar-v2": "3.80.0-next.31",
179
+ "@elliemae/ds-tooltip-v3": "3.80.0-next.31",
180
+ "@elliemae/ds-transition": "3.80.0-next.31",
181
+ "@elliemae/ds-tree-model": "3.80.0-next.31",
182
+ "@elliemae/ds-treeview": "3.80.0-next.31",
183
+ "@elliemae/ds-truncated-expandable-text": "3.80.0-next.31",
184
+ "@elliemae/ds-typescript-helpers": "3.80.0-next.31",
185
+ "@elliemae/ds-typography": "3.80.0-next.31",
186
+ "@elliemae/ds-virtual-list": "3.80.0-next.31",
187
+ "@elliemae/ds-wizard": "3.80.0-next.31",
188
+ "@elliemae/ds-zustand-helpers": "3.80.0-next.31"
189
189
  },
190
190
  "publishConfig": {
191
191
  "access": "public"
@@ -1,172 +0,0 @@
1
- /* eslint-disable max-len */
2
- import LeftNavCO from './LeftNavigationCO';
3
- import { axeCoreCheck, mouseOver } from '../helpers';
4
-
5
- if (
6
- (!browser.capabilities['ice:options'].isPhone &&
7
- !browser.capabilities['ice:options'].isTablet &&
8
- browser.capabilities.browserName === 'Chrome') ||
9
- browser.capabilities.browserName === 'chrome'
10
- ) {
11
- describe('PUI-10670 - LeftNavigation: Axe-Core: Basic full features', () => {
12
- before('loading page', async () => {
13
- const errorOnGo = await LeftNavCO.fullFeatures.go();
14
- if (errorOnGo) throw errorOnGo;
15
- });
16
- it('01: All collapsed (Section icons)', async () => {
17
- const result = await axeCoreCheck();
18
- expect(result.length).toBe(0);
19
- });
20
- it('02: Click Notifications and expand sections titles', async () => {
21
- await (await LeftNavCO.leftComponent(0)).click();
22
- const result = await axeCoreCheck();
23
- expect(result.length).toBe(0);
24
- });
25
- it('03: Click and expand Notifications to have items with subsections', async () => {
26
- await (await LeftNavCO.leftNavItem(0)).click();
27
- const result = await axeCoreCheck();
28
- expect(result.length).toBe(0);
29
- });
30
- it('04: Collapse Notifications and open forms with plain items', async () => {
31
- await (await LeftNavCO.leftChevron()).click();
32
- await (await LeftNavCO.leftNavItem(2)).click();
33
- const result = await axeCoreCheck();
34
- expect(result.length).toBe(0);
35
- });
36
- });
37
- describe('PUI-10671 - LeftNavigation, Axe-Core: Loading indicator', () => {
38
- before('loading page', async () => {
39
- const errorOnGo = await LeftNavCO.loading.go();
40
- if (errorOnGo) throw errorOnGo;
41
- });
42
- it('01: loading indicator in leftnav closed', async () => {
43
- const loadingIndicator = await LeftNavCO.loadingIndicator();
44
- await loadingIndicator.waitForDisplayed();
45
- const result = await axeCoreCheck();
46
- expect(result.length).toBe(0);
47
- });
48
- it('02: loading indicator with tooltip (leftnav closed)', async () => {
49
- const loadingIndicator = await LeftNavCO.loadingIndicator();
50
- await mouseOver(loadingIndicator);
51
- const loadingIndicatorTooltip = await LeftNavCO.loadingIndicatorTooltip();
52
- await loadingIndicatorTooltip.waitForDisplayed();
53
- const result = await axeCoreCheck();
54
- expect(result.length).toBe(0);
55
- });
56
- it('03: loading indicator in leftnav opened', async () => {
57
- const loadingIndicator = await LeftNavCO.loadingIndicator();
58
- await loadingIndicator.waitForDisplayed();
59
- const footerBtn = await LeftNavCO.footerBtn();
60
- const footerLabel = await LeftNavCO.footerLabel();
61
- await footerBtn.click();
62
- await footerLabel.waitForDisplayed();
63
- const result = await axeCoreCheck();
64
- expect(result.length).toBe(0);
65
- });
66
- });
67
- describe('PUI-10672 - LeftNavigation, Axe-Core: Tooltip -func', () => {
68
- before('loading page', async () => {
69
- const errorOnGo = await LeftNavCO.fullFeatures.go();
70
- if (errorOnGo) throw errorOnGo;
71
- });
72
- it('01: should display tooltip', async () => {
73
- const notiItem = await LeftNavCO.leftNavItem(0);
74
- await notiItem.click();
75
- await notiItem.click();
76
- const truncItem = await LeftNavCO.getTruncatedText(0);
77
- await mouseOver(truncItem);
78
- const tooltip = await LeftNavCO.getTooltip();
79
- await tooltip.waitForDisplayed();
80
- const result = await axeCoreCheck();
81
- expect(result.length).toBe(0);
82
- });
83
- });
84
- describe('PUI-10673 - LeftNavigation, Axe-Core: Notification badge', () => {
85
- before('loading page', async () => {
86
- const errorOnGo = await LeftNavCO.notificationBadgingURL.go();
87
- if (errorOnGo) throw errorOnGo;
88
- });
89
- it('01: should display integrated notification badge combinations', async () => {
90
- const result = await axeCoreCheck();
91
- expect(result.length).toBe(0);
92
- });
93
- });
94
- describe('PUI-10674 - LeftNavigation: Axe-Core: Keeping items', () => {
95
- before('loading page', async () => {
96
- const errorOnGo = await LeftNavCO.keepingItems.go();
97
- if (errorOnGo) throw errorOnGo;
98
- });
99
- it('01: should expand notifications and keep the remaining sections', async () => {
100
- const subItemBtn = await LeftNavCO.getSubItemBtn();
101
- await subItemBtn.click();
102
- await (await LeftNavCO.leftComponent(0)).click();
103
- const itemLabel = await LeftNavCO.itemLabel(0);
104
- await itemLabel.waitForDisplayed();
105
- const notificationHeader = await LeftNavCO.leftNavItem(0);
106
- await notificationHeader.click();
107
- const result = await axeCoreCheck();
108
- expect(result.length).toBe(0);
109
- });
110
- it('02: should scroll down to display the remaining sections', async () => {
111
- const menuItemBtn = await LeftNavCO.getMenuItemBtn();
112
- await menuItemBtn.click();
113
- const result = await axeCoreCheck();
114
- expect(result.length).toBe(0);
115
- });
116
- });
117
- describe('PUI-10676 - LeftNavigation, Axe-Core: Wrapped text -func', () => {
118
- before('loading page', async () => {
119
- const errorOnGo = await LeftNavCO.wrapped.go();
120
- if (errorOnGo) throw errorOnGo;
121
- });
122
- it('01: should display truncated sections', async () => {
123
- await (await LeftNavCO.leftComponent(0)).click();
124
- const result = await axeCoreCheck();
125
- expect(result.length).toBe(0);
126
- });
127
- it('01: should display truncated items', async () => {
128
- await (await LeftNavCO.leftComponent(0)).click();
129
- const result = await axeCoreCheck();
130
- expect(result.length).toBe(0);
131
- });
132
- });
133
- describe('PUI-10677 - LeftNavigation, Axe-Core: Search bar', () => {
134
- before('loading page', async () => {
135
- const errorOnGo = await LeftNavCO.fullFeatures.go();
136
- if (errorOnGo) throw errorOnGo;
137
- });
138
- it('01: Trigger search button and check axe scan', async () => {
139
- await (await LeftNavCO.leftComponent(0)).click();
140
- await (await LeftNavCO.leftNavItem(0)).click();
141
- const searchButton = await LeftNavCO.getIconButtonByIndex(0);
142
- await searchButton.waitForDisplayed();
143
- await searchButton.click();
144
- const result = await axeCoreCheck();
145
- expect(result.length).toBe(0);
146
- });
147
- });
148
- describe('PUI-10250 - LeftNavigation, Axe-Core: Showcase, more usecases', () => {
149
- before('loading page', async () => {
150
- const errorOnGo = await LeftNavCO.showcaseURL.go();
151
- if (errorOnGo) throw errorOnGo;
152
- });
153
- it('01: should display usecase whocase and check axe scan', async () => {
154
- await (await LeftNavCO.leftComponent(0)).click();
155
- await (await LeftNavCO.leftNavItem(0)).click();
156
- const result = await axeCoreCheck();
157
- expect(result.length).toBe(0);
158
- });
159
- });
160
- describe('PUI-11620 - LeftNavigation, isSkeleton prop -AxeCore Test', () => {
161
- before('loading page', async () => {
162
- const errorOnGo = await LeftNavCO.isSkeletonURL.go();
163
- if (errorOnGo) throw errorOnGo;
164
- });
165
- it('01: should correctly display the leftnav wit isSkeleton and pass axe-core scan', async () => {
166
- const skeleton = await LeftNavCO.getSkeletonByIndex();
167
- await skeleton.waitForDisplayed();
168
- const result = await axeCoreCheck();
169
- expect(result.length).toBe(0);
170
- });
171
- });
172
- }