dimsum-e2e-tests 3.70.0-alpha.12 → 3.70.0-alpha.14
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 +10 -0
- package/ds-accordion/DSAccordionCO.js +5 -5
- package/ds-breadcrumb/DSBreadcrumbCO.js +1 -1
- package/ds-chip/Basic/DSChip.basic.visual.spec.js +74 -0
- package/ds-chip/Shape/DSChip.shape.visual.spec.js +66 -0
- package/ds-chip/inside-popper/DSChip.inside-popper.visual.spec.js +69 -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-date-range-picker/DateRangePicker.visual.spec.js +9 -0
- package/ds-form-layout-blocks/form-layout-block-item/DSFormLayoutBlockItemCO.js +1 -1
- package/ds-global-header/GlobalHeaderCO.js +28 -2
- package/ds-global-header/app-picker-element-ids/GlobalHeader.app-picker-element-ids.func.spec.js +84 -0
- package/ds-global-header/search-toggle-slots/GlobalHeader.search-toggle-slots.func.spec.js +10 -8
- package/ds-global-header/slots/GlobalHeader.slots.visual.spec.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/DSTabsCO.js +4 -0
- package/ds-tabs/notification-badge/DSTabs.notification-badge.axe-core.func.spec.js +28 -0
- package/ds-tabs/notification-badge/DSTabs.notification-badge.func.spec.js +51 -0
- 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/paths.js +4 -0
- package/z-index/ZindexCO.js +4 -0
- package/z-index/dialog-side-panel/ZIndex.dialog-sidepanel.visual.spec.js +7 -1
- 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
|
@@ -40,7 +40,13 @@ if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:o
|
|
|
40
40
|
it('04: should display date correctly', async () => {
|
|
41
41
|
await browser.eyesOpen();
|
|
42
42
|
await (await ZIndexCO.getPickerChip(2)).click();
|
|
43
|
-
|
|
43
|
+
/*
|
|
44
|
+
* Escape cannot unwind these layers: focus sits on a chip whose label overflows, so the
|
|
45
|
+
* label is expanded and ds-chip consumes the first Escape to dismiss it (PUI-17950,
|
|
46
|
+
* WCAG 1.4.13) before the picker or the dialog ever see it. Closing the dialog explicitly
|
|
47
|
+
* tears down the picker with it, and leaves the side panel button free of the backdrop.
|
|
48
|
+
*/
|
|
49
|
+
await (await ZIndexCO.getCloseDialogBtn()).click();
|
|
44
50
|
await (await ZIndexCO.getOpenDialogOnSidePanel()).click();
|
|
45
51
|
const dateTrigger = await ZIndexCO.getDateTimeOnSidePanelDialog();
|
|
46
52
|
await dateTrigger.click();
|
|
@@ -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
|
-
}
|