dimsum-e2e-tests 3.70.0-next.45 → 3.70.0-next.46
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 +6 -0
- package/ds-autocomplete/slots/DSAutocomplete.slots.func.spec.js +6 -1
- package/ds-card/DSCard.cardv2_v1.func.spec.js +54 -0
- package/ds-card/DSCard.cardv2_v1.visual.spec.js +29 -0
- package/ds-card/DSCardCO.js +4 -0
- package/ds-card-v3/DSCardV3CO.js +78 -0
- package/ds-card-v3/accordion/DSCardV3.accordion.axe-core.func.spec.js +28 -0
- package/ds-card-v3/accordion/DSCardV3.accordion.visual.spec.js +4 -6
- package/ds-card-v3/disabled/DSCardV3.disabled.visual.spec.js +1 -2
- package/ds-card-v3/drag-n-drop/DSCardV3.DnD.axe-core.func.spec.js +61 -0
- package/ds-card-v3/drag-n-drop/DSCardV3.DnD.func.spec.js +129 -0
- package/ds-card-v3/drag-n-drop/DSCardV3.DnD.reorder.func.spec.js +73 -0
- package/ds-card-v3/drag-n-drop/DSCardV3.DnD.visual.spec.js +5 -12
- package/ds-card-v3/global-attributes/DSCardV3.global-attributes.axe-core.func.spec.js +33 -0
- package/ds-card-v3/global-attributes/DSCardV3.global-attributes.visual.spec.js +20 -0
- package/ds-card-v3/multi-select/DSCardV3.multiselect.keyboard.func.spec.js +65 -0
- package/ds-card-v3/multi-select/DSCardV3.multiselect.visual.spec.js +17 -0
- package/ds-card-v3/multiple-action/DSCardV3.multiple-action.func.spec.js +53 -0
- package/ds-card-v3/multiple-action/DSCardV3.multiple-action.visual.spec.js +18 -0
- package/ds-card-v3/multiple-control/DSCardV3.multi-control.func.spec.js +25 -0
- package/ds-card-v3/no-action/DSCardV3.no-action.axe-core.func.spec.js +22 -0
- package/ds-card-v3/no-action/DSCardV3.no-action.func.spec.js +23 -0
- package/ds-card-v3/no-action/DSCardV3.no-action.visual.spec.js +15 -0
- package/ds-card-v3/notification-badges/DSCardV3.notification-badges.func.spec.js +19 -0
- package/ds-card-v3/reflow/DSCardV3.reflow.axe-core.func.spec.js +28 -0
- package/ds-card-v3/reflow/DSCardV3.reflow.func.spec.js +36 -0
- package/ds-card-v3/reflow/DSCardV3.reflow.visual.spec.js +1 -2
- package/ds-card-v3/single-select/DSCardV3.single-select.axe-core.func.spec.js +37 -0
- package/ds-card-v3/single-select/DSCardV3.single-select.visual.spec.js +1 -2
- package/ds-card-v3/slots/DSCardV3.slots.visual.spec.js +1 -2
- package/ds-card-v3/variant-accented/DSCardV3.variant-accented.func.spec.js +28 -0
- package/ds-card-v3/variant-accented/DSCardV3.variant-accented.visual.spec.js +35 -0
- package/ds-card-v3/variant-accented-disabled/DSCardV3.variant-accented-disabled.func.spec.js +53 -0
- package/ds-card-v3/variant-disabled/DSCardV3.variant-disabled.axe-core.func.spec.js +22 -0
- package/ds-chat/DSChatCO.js +3 -3
- package/ds-chat/components/ComposerCO.js +1 -1
- package/ds-chat/components/HeaderCO.js +1 -1
- package/ds-controlled-form/react-hook-form/ReactHook.func.spec.js +1 -3
- package/ds-data-table-async/components/HeaderCO.js +5 -1
- package/ds-form-combobox-single/aria-busy-loading/DSComboboxSingle.aria-busy-loading.axe-core.func.spec.js +1 -1
- package/ds-form-date-time-picker/DSControlledDateTimePickerCO.js +7 -0
- package/ds-form-date-time-picker/date-time-full/DateTimeFull.axe-core.func.spec.js +8 -1
- package/ds-form-date-time-picker/date-time-full/DateTimePicker.DateTimeFull.visual.spec.js +9 -0
- package/ds-hooks/DSHookCO.js +1 -22
- package/ds-menu-button/slots/DSMenuButton.slots.axe-core.func.spec.js +28 -0
- package/ds-menu-button/slots/DSMenuButton.slots.func.spec.js +19 -0
- package/ds-shuttle-v2/explicit-selection-ui/DSShuttleV2.explicit-selection-ui.visual.spec.js +3 -0
- package/package.json +150 -150
- package/paths.js +0 -2
- package/ds-hooks/DSHook.func.spec.js +0 -60
|
@@ -281,6 +281,13 @@ export default class DSDateTimePickerCO extends PageObject {
|
|
|
281
281
|
static getCalendarSelectedFocusedDay = async () =>
|
|
282
282
|
$(`[data-testid="ds-controlled-date-time-picker-calendar-selected-focused-day"]`);
|
|
283
283
|
|
|
284
|
+
// Non-current-month day cells only carry the `notCurrentMonth` wrapper class (they share the
|
|
285
|
+
// generic calendar-day data-testid), so this class is the only distinguishing selector. The grid
|
|
286
|
+
// renders leading/trailing spillover cells that are hidden, so index 0 is a hidden filler — use
|
|
287
|
+
// index 1 for the first visible non-current-month day. PUI-14872.
|
|
288
|
+
static getCalendarNotCurrentMonthDayByIndex = async (index = 0) =>
|
|
289
|
+
$$(`.notCurrentMonth button[data-testid="ds-controlled-date-time-picker-calendar-day"]`)[index];
|
|
290
|
+
|
|
284
291
|
// TIMEWHEEL
|
|
285
292
|
static getTimeWheelHeaderLabel = async () =>
|
|
286
293
|
$(`[data-testid="ds-controlled-date-time-picker-timewheel-header-label"]`);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* eslint-disable prettier/prettier */
|
|
2
2
|
/* eslint-disable max-len */
|
|
3
3
|
/* eslint-disable max-lines */
|
|
4
|
-
import { axeCoreCheck } from '../../helpers';
|
|
4
|
+
import { axeCoreCheck, mouseOver } from '../../helpers';
|
|
5
5
|
import DateTimePickerCO from '../DSControlledDateTimePickerCO';
|
|
6
6
|
|
|
7
7
|
if (
|
|
@@ -21,5 +21,12 @@ if (
|
|
|
21
21
|
const result = await axeCoreCheck();
|
|
22
22
|
expect(result.length).toBe(0);
|
|
23
23
|
});
|
|
24
|
+
it('02: should pass axe-core color-contrast while hovering a non-current-month day', async () => {
|
|
25
|
+
const notCurrentMonthDay = await DateTimePickerCO.getCalendarNotCurrentMonthDayByIndex(1);
|
|
26
|
+
await notCurrentMonthDay.waitForDisplayed();
|
|
27
|
+
await mouseOver(notCurrentMonthDay);
|
|
28
|
+
const result = await axeCoreCheck();
|
|
29
|
+
expect(result.length).toBe(0);
|
|
30
|
+
});
|
|
24
31
|
});
|
|
25
32
|
}
|
|
@@ -45,5 +45,14 @@ if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:o
|
|
|
45
45
|
);
|
|
46
46
|
await expect(snapshot).toEqual(0);
|
|
47
47
|
});
|
|
48
|
+
it('05: should keep readable contrast when hovering a non-current-month day', async () => {
|
|
49
|
+
const notCurrentMonthDay = await DateTimePickerCO.getCalendarNotCurrentMonthDayByIndex(1);
|
|
50
|
+
await notCurrentMonthDay.waitForDisplayed();
|
|
51
|
+
await mouseOver(notCurrentMonthDay);
|
|
52
|
+
const snapshot = await browser.checkSnapshot(
|
|
53
|
+
DateTimePickerCO.snapshotPath('date-time-full-not-current-month-day-hover'),
|
|
54
|
+
);
|
|
55
|
+
await expect(snapshot).toEqual(0);
|
|
56
|
+
});
|
|
48
57
|
});
|
|
49
58
|
}
|
package/ds-hooks/DSHookCO.js
CHANGED
|
@@ -1,20 +1,9 @@
|
|
|
1
1
|
/* eslint-disable import/no-relative-packages */
|
|
2
|
-
import {
|
|
3
|
-
PATH_HOOKS,
|
|
4
|
-
PATH_HOOKS_BLUR_OUT,
|
|
5
|
-
PATH_HOOKS_FIRST_FOCUS_IN,
|
|
6
|
-
PATH_E2E_HOOKS,
|
|
7
|
-
PATH_E2E_USE_FONT_SIZE_DETECTOR,
|
|
8
|
-
PATH_E2E_USE_FONT_SIZE_MEDIA,
|
|
9
|
-
} from '../paths';
|
|
2
|
+
import { PATH_HOOKS, PATH_E2E_HOOKS, PATH_E2E_USE_FONT_SIZE_DETECTOR, PATH_E2E_USE_FONT_SIZE_MEDIA } from '../paths';
|
|
10
3
|
import { PageObject, Urlbuilder, getElementByIndex } from '../helpers';
|
|
11
4
|
|
|
12
5
|
export default class DSHookCO extends PageObject {
|
|
13
6
|
// Desktop
|
|
14
|
-
static blurOut = new Urlbuilder(PATH_HOOKS_BLUR_OUT, 'basic');
|
|
15
|
-
|
|
16
|
-
static firstFocusIn = new Urlbuilder(PATH_HOOKS_FIRST_FOCUS_IN, 'basic');
|
|
17
|
-
|
|
18
7
|
static specificFocus = new Urlbuilder(PATH_HOOKS, 'use-on-specific-focus');
|
|
19
8
|
|
|
20
9
|
static useDsTree = new Urlbuilder(PATH_E2E_HOOKS, 'use-ds-tree-test');
|
|
@@ -33,16 +22,6 @@ export default class DSHookCO extends PageObject {
|
|
|
33
22
|
|
|
34
23
|
static getBtnByIndex = async (index) => getElementByIndex(this.getBtns, index);
|
|
35
24
|
|
|
36
|
-
static async getH3s() {
|
|
37
|
-
return $$('div h3');
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
// mostly used
|
|
41
|
-
static getInfo = async () => getElementByIndex(this.getH3s, 3);
|
|
42
|
-
|
|
43
|
-
// used for first focus in story
|
|
44
|
-
static getInfo2 = async () => getElementByIndex(this.getH3s, 4);
|
|
45
|
-
|
|
46
25
|
// Snapshots
|
|
47
26
|
static snapshotPath(example = 'basic') {
|
|
48
27
|
return PageObject.getSnapshotPathBuilder('Hook', example);
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { axeCoreCheck } from '../../helpers';
|
|
2
|
+
import DSMenuButtonCO from '../DSMenuButtonCO';
|
|
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-17845 - DSMenuButton:: Slots - AxeCore', () => {
|
|
11
|
+
before('loading page', async () => {
|
|
12
|
+
const errorOnGo = await DSMenuButtonCO.slotsTest.go();
|
|
13
|
+
if (errorOnGo) throw errorOnGo;
|
|
14
|
+
});
|
|
15
|
+
|
|
16
|
+
it('01: should render slots story with custom theme and pass axe-core scan with menu open', async () => {
|
|
17
|
+
const triggerBtn = await DSMenuButtonCO.getSlotsOpinionatedButtonRoot();
|
|
18
|
+
await triggerBtn.waitForDisplayed();
|
|
19
|
+
await triggerBtn.click();
|
|
20
|
+
|
|
21
|
+
const flyoutRoot = await DSMenuButtonCO.getSlotsFlyoutMenuRoot();
|
|
22
|
+
await flyoutRoot.waitForDisplayed();
|
|
23
|
+
|
|
24
|
+
const result = await axeCoreCheck();
|
|
25
|
+
expect(result.length).toBe(0);
|
|
26
|
+
});
|
|
27
|
+
});
|
|
28
|
+
}
|
|
@@ -36,5 +36,24 @@ if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:o
|
|
|
36
36
|
await expect(floatingWrapper).toHaveAttribute('data-testid', 'im dsFlyoutmenuFloatingWrapper data');
|
|
37
37
|
await expect(menuItem).toHaveAttribute('data-testid', 'im dsMenuitemMenuItemWrapper data');
|
|
38
38
|
});
|
|
39
|
+
|
|
40
|
+
it('03: should apply per-item attributes from the item-slot function to each menu item', async () => {
|
|
41
|
+
const firstItem = await DSMenuButtonCO.getSlotsMenuItemWrappers(0);
|
|
42
|
+
const secondItem = await DSMenuButtonCO.getSlotsMenuItemWrappers(1);
|
|
43
|
+
const thirdItem = await DSMenuButtonCO.getSlotsMenuItemWrappers(2);
|
|
44
|
+
|
|
45
|
+
await expect(firstItem).toHaveAttribute(
|
|
46
|
+
'data-menu-item-wrapper',
|
|
47
|
+
'menu item wrapper for item with label Action 1',
|
|
48
|
+
);
|
|
49
|
+
await expect(secondItem).toHaveAttribute(
|
|
50
|
+
'data-menu-item-wrapper',
|
|
51
|
+
'menu item wrapper for item with label Action 2',
|
|
52
|
+
);
|
|
53
|
+
await expect(thirdItem).toHaveAttribute(
|
|
54
|
+
'data-menu-item-wrapper',
|
|
55
|
+
'menu item wrapper for item with label Action 3',
|
|
56
|
+
);
|
|
57
|
+
});
|
|
39
58
|
});
|
|
40
59
|
}
|
package/ds-shuttle-v2/explicit-selection-ui/DSShuttleV2.explicit-selection-ui.visual.spec.js
CHANGED
|
@@ -11,12 +11,15 @@ if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:o
|
|
|
11
11
|
});
|
|
12
12
|
|
|
13
13
|
it('01: should display unselected checkboxes and disabled checkboxes on prevented items', async () => {
|
|
14
|
+
const firstSelectable = await DSShuttleV2CO.getItemWrapper(0); // "Source 0.0" — selectable
|
|
15
|
+
await firstSelectable.waitForDisplayed();
|
|
14
16
|
const snapshot = await browser.percyCheckScreenshot();
|
|
15
17
|
await expect(snapshot).toEqual(0);
|
|
16
18
|
});
|
|
17
19
|
|
|
18
20
|
it('02: should display checked checkboxes and the BAB after selecting selectable items', async () => {
|
|
19
21
|
const firstSelectable = await DSShuttleV2CO.getItemWrapper(0); // "Source 0.0" — selectable
|
|
22
|
+
await firstSelectable.waitForDisplayed();
|
|
20
23
|
await firstSelectable.click();
|
|
21
24
|
const secondSelectable = await DSShuttleV2CO.getItemWrapper(2); // "Source 0.2" — selectable
|
|
22
25
|
await secondSelectable.click();
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "dimsum-e2e-tests",
|
|
4
|
-
"version": "3.70.0-next.
|
|
4
|
+
"version": "3.70.0-next.46",
|
|
5
5
|
"description": "End-to-end tests for dimsum library",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@elliemae/ds-legacy-button": "1.0.16",
|
|
@@ -38,155 +38,155 @@
|
|
|
38
38
|
"@elliemae/ds-legacy-wysiwygeditor": "1.0.16",
|
|
39
39
|
"@elliemae/ds-legacy-zipcode-search": "1.0.16",
|
|
40
40
|
"@elliemae/ds-legacy-zoom": "1.0.16",
|
|
41
|
-
"@elliemae/ds-accessibility": "3.70.0-next.
|
|
42
|
-
"@elliemae/ds-accordion": "3.70.0-next.
|
|
43
|
-
"@elliemae/ds-
|
|
44
|
-
"@elliemae/ds-
|
|
45
|
-
"@elliemae/ds-
|
|
46
|
-
"@elliemae/ds-
|
|
47
|
-
"@elliemae/ds-
|
|
48
|
-
"@elliemae/ds-
|
|
49
|
-
"@elliemae/ds-
|
|
50
|
-
"@elliemae/ds-
|
|
51
|
-
"@elliemae/ds-card-navigation": "3.70.0-next.
|
|
52
|
-
"@elliemae/ds-card-v1
|
|
53
|
-
"@elliemae/ds-card-
|
|
54
|
-
"@elliemae/ds-card-v2
|
|
55
|
-
"@elliemae/ds-card-
|
|
56
|
-
"@elliemae/ds-card-
|
|
57
|
-
"@elliemae/ds-card-
|
|
58
|
-
"@elliemae/ds-
|
|
59
|
-
"@elliemae/ds-chat
|
|
60
|
-
"@elliemae/ds-chat-
|
|
61
|
-
"@elliemae/ds-chat-
|
|
62
|
-
"@elliemae/ds-chat-container": "3.70.0-next.
|
|
63
|
-
"@elliemae/ds-
|
|
64
|
-
"@elliemae/ds-chat-
|
|
65
|
-
"@elliemae/ds-chat-
|
|
66
|
-
"@elliemae/ds-chat-message
|
|
67
|
-
"@elliemae/ds-chat-sidebar": "3.70.0-next.
|
|
68
|
-
"@elliemae/ds-chat-
|
|
69
|
-
"@elliemae/ds-chat-tile": "3.70.0-next.
|
|
70
|
-
"@elliemae/ds-chip": "3.70.0-next.
|
|
71
|
-
"@elliemae/ds-
|
|
72
|
-
"@elliemae/ds-
|
|
73
|
-
"@elliemae/ds-controlled-form": "3.70.0-next.
|
|
74
|
-
"@elliemae/ds-comments": "3.70.0-next.
|
|
75
|
-
"@elliemae/ds-csv-converter": "3.70.0-next.
|
|
76
|
-
"@elliemae/ds-data-table": "3.70.0-next.
|
|
77
|
-
"@elliemae/ds-data-table-
|
|
78
|
-
"@elliemae/ds-
|
|
79
|
-
"@elliemae/ds-
|
|
80
|
-
"@elliemae/ds-data-table-cell-header": "3.70.0-next.
|
|
81
|
-
"@elliemae/ds-data-table-drag-and-drop-cell": "3.70.0-next.
|
|
82
|
-
"@elliemae/ds-data-table-expand-cell": "3.70.0-next.
|
|
83
|
-
"@elliemae/ds-data-table-multi-select-cell": "3.70.0-next.
|
|
84
|
-
"@elliemae/ds-data-table-
|
|
85
|
-
"@elliemae/ds-
|
|
86
|
-
"@elliemae/ds-
|
|
87
|
-
"@elliemae/ds-dataviz": "3.70.0-next.
|
|
88
|
-
"@elliemae/ds-date-time-picker": "3.70.0-next.
|
|
89
|
-
"@elliemae/ds-
|
|
90
|
-
"@elliemae/ds-
|
|
91
|
-
"@elliemae/ds-drag-and-drop": "3.70.0-next.
|
|
92
|
-
"@elliemae/ds-dropdownmenu-v2": "3.70.0-next.
|
|
93
|
-
"@elliemae/ds-
|
|
94
|
-
"@elliemae/ds-
|
|
95
|
-
"@elliemae/ds-
|
|
96
|
-
"@elliemae/ds-
|
|
97
|
-
"@elliemae/ds-form-
|
|
98
|
-
"@elliemae/ds-form-combobox": "3.70.0-next.
|
|
99
|
-
"@elliemae/ds-
|
|
100
|
-
"@elliemae/ds-form-
|
|
101
|
-
"@elliemae/ds-form-
|
|
102
|
-
"@elliemae/ds-form-
|
|
103
|
-
"@elliemae/ds-form-date-
|
|
104
|
-
"@elliemae/ds-form-
|
|
105
|
-
"@elliemae/ds-form-
|
|
106
|
-
"@elliemae/ds-form-layout-
|
|
107
|
-
"@elliemae/ds-form-
|
|
108
|
-
"@elliemae/ds-form-layout-
|
|
109
|
-
"@elliemae/ds-form-radio": "3.70.0-next.
|
|
110
|
-
"@elliemae/ds-form-
|
|
111
|
-
"@elliemae/ds-form-
|
|
112
|
-
"@elliemae/ds-form-
|
|
113
|
-
"@elliemae/ds-
|
|
114
|
-
"@elliemae/ds-
|
|
115
|
-
"@elliemae/ds-
|
|
116
|
-
"@elliemae/ds-
|
|
117
|
-
"@elliemae/ds-hooks-focus-stack": "3.70.0-next.
|
|
118
|
-
"@elliemae/ds-hooks-fontsize-
|
|
119
|
-
"@elliemae/ds-hooks-
|
|
120
|
-
"@elliemae/ds-hooks-
|
|
121
|
-
"@elliemae/ds-hooks-is-
|
|
122
|
-
"@elliemae/ds-hooks-
|
|
123
|
-
"@elliemae/ds-hooks-
|
|
124
|
-
"@elliemae/ds-hooks-
|
|
125
|
-
"@elliemae/ds-
|
|
126
|
-
"@elliemae/ds-
|
|
127
|
-
"@elliemae/ds-
|
|
128
|
-
"@elliemae/ds-
|
|
129
|
-
"@elliemae/ds-
|
|
130
|
-
"@elliemae/ds-
|
|
131
|
-
"@elliemae/ds-
|
|
132
|
-
"@elliemae/ds-
|
|
133
|
-
"@elliemae/ds-
|
|
134
|
-
"@elliemae/ds-
|
|
135
|
-
"@elliemae/ds-menu-items": "3.70.0-next.
|
|
136
|
-
"@elliemae/ds-menu-items-commons": "3.70.0-next.
|
|
137
|
-
"@elliemae/ds-menu-items-action": "3.70.0-next.
|
|
138
|
-
"@elliemae/ds-menu-items-multi": "3.70.0-next.
|
|
139
|
-
"@elliemae/ds-menu-items-
|
|
140
|
-
"@elliemae/ds-menu-items-
|
|
141
|
-
"@elliemae/ds-menu-items-single": "3.70.0-next.
|
|
142
|
-
"@elliemae/ds-menu-items-
|
|
143
|
-
"@elliemae/ds-menu-items-submenu": "3.70.0-next.
|
|
144
|
-
"@elliemae/ds-menu-
|
|
145
|
-
"@elliemae/ds-menu-
|
|
146
|
-
"@elliemae/ds-mobile": "3.70.0-next.
|
|
147
|
-
"@elliemae/ds-modal-slide": "3.70.0-next.
|
|
148
|
-
"@elliemae/ds-
|
|
149
|
-
"@elliemae/ds-overlay": "3.70.0-next.
|
|
150
|
-
"@elliemae/ds-page-header": "3.70.0-next.
|
|
151
|
-
"@elliemae/ds-
|
|
152
|
-
"@elliemae/ds-page-
|
|
153
|
-
"@elliemae/ds-portal": "3.70.0-next.
|
|
154
|
-
"@elliemae/ds-
|
|
155
|
-
"@elliemae/ds-
|
|
156
|
-
"@elliemae/ds-pills-v2": "3.70.0-next.
|
|
157
|
-
"@elliemae/ds-
|
|
158
|
-
"@elliemae/ds-
|
|
159
|
-
"@elliemae/ds-
|
|
160
|
-
"@elliemae/ds-
|
|
161
|
-
"@elliemae/ds-
|
|
162
|
-
"@elliemae/ds-
|
|
163
|
-
"@elliemae/ds-
|
|
164
|
-
"@elliemae/ds-
|
|
165
|
-
"@elliemae/ds-
|
|
166
|
-
"@elliemae/ds-side-panel": "3.70.0-next.
|
|
167
|
-
"@elliemae/ds-side-panel-header": "3.70.0-next.
|
|
168
|
-
"@elliemae/ds-
|
|
169
|
-
"@elliemae/ds-
|
|
170
|
-
"@elliemae/ds-
|
|
171
|
-
"@elliemae/ds-
|
|
172
|
-
"@elliemae/ds-
|
|
173
|
-
"@elliemae/ds-
|
|
174
|
-
"@elliemae/ds-
|
|
175
|
-
"@elliemae/ds-test-utils": "3.70.0-next.
|
|
176
|
-
"@elliemae/ds-
|
|
177
|
-
"@elliemae/ds-toolbar-
|
|
178
|
-
"@elliemae/ds-toolbar-
|
|
179
|
-
"@elliemae/ds-tooltip-v3": "3.70.0-next.
|
|
180
|
-
"@elliemae/ds-
|
|
181
|
-
"@elliemae/ds-
|
|
182
|
-
"@elliemae/ds-
|
|
183
|
-
"@elliemae/ds-
|
|
184
|
-
"@elliemae/ds-
|
|
185
|
-
"@elliemae/ds-
|
|
186
|
-
"@elliemae/ds-wizard": "3.70.0-next.
|
|
187
|
-
"@elliemae/ds-
|
|
188
|
-
"@elliemae/ds-
|
|
189
|
-
"@elliemae/ds-
|
|
41
|
+
"@elliemae/ds-accessibility": "3.70.0-next.46",
|
|
42
|
+
"@elliemae/ds-accordion": "3.70.0-next.46",
|
|
43
|
+
"@elliemae/ds-banner": "3.70.0-next.46",
|
|
44
|
+
"@elliemae/ds-basic": "3.70.0-next.46",
|
|
45
|
+
"@elliemae/ds-button-v2": "3.70.0-next.46",
|
|
46
|
+
"@elliemae/ds-app-picker": "3.70.0-next.46",
|
|
47
|
+
"@elliemae/ds-accordion-native": "3.70.0-next.46",
|
|
48
|
+
"@elliemae/ds-breadcrumb": "3.70.0-next.46",
|
|
49
|
+
"@elliemae/ds-card": "3.70.0-next.46",
|
|
50
|
+
"@elliemae/ds-backdrop": "3.70.0-next.46",
|
|
51
|
+
"@elliemae/ds-card-navigation": "3.70.0-next.46",
|
|
52
|
+
"@elliemae/ds-card-v1": "3.70.0-next.46",
|
|
53
|
+
"@elliemae/ds-card-v1-detail": "3.70.0-next.46",
|
|
54
|
+
"@elliemae/ds-card-v2": "3.70.0-next.46",
|
|
55
|
+
"@elliemae/ds-card-v2-group": "3.70.0-next.46",
|
|
56
|
+
"@elliemae/ds-card-v3": "3.70.0-next.46",
|
|
57
|
+
"@elliemae/ds-card-v3-poc": "3.70.0-next.46",
|
|
58
|
+
"@elliemae/ds-card-v2-action-addon": "3.70.0-next.46",
|
|
59
|
+
"@elliemae/ds-chat": "3.70.0-next.46",
|
|
60
|
+
"@elliemae/ds-chat-card": "3.70.0-next.46",
|
|
61
|
+
"@elliemae/ds-chat-bubble": "3.70.0-next.46",
|
|
62
|
+
"@elliemae/ds-chat-container": "3.70.0-next.46",
|
|
63
|
+
"@elliemae/ds-chat-container-header": "3.70.0-next.46",
|
|
64
|
+
"@elliemae/ds-chat-floating-button": "3.70.0-next.46",
|
|
65
|
+
"@elliemae/ds-chat-empty-state": "3.70.0-next.46",
|
|
66
|
+
"@elliemae/ds-chat-system-message": "3.70.0-next.46",
|
|
67
|
+
"@elliemae/ds-chat-sidebar": "3.70.0-next.46",
|
|
68
|
+
"@elliemae/ds-chat-message-delimeter": "3.70.0-next.46",
|
|
69
|
+
"@elliemae/ds-chat-tile": "3.70.0-next.46",
|
|
70
|
+
"@elliemae/ds-chip": "3.70.0-next.46",
|
|
71
|
+
"@elliemae/ds-circular-progress-indicator": "3.70.0-next.46",
|
|
72
|
+
"@elliemae/ds-classnames": "3.70.0-next.46",
|
|
73
|
+
"@elliemae/ds-controlled-form": "3.70.0-next.46",
|
|
74
|
+
"@elliemae/ds-comments": "3.70.0-next.46",
|
|
75
|
+
"@elliemae/ds-csv-converter": "3.70.0-next.46",
|
|
76
|
+
"@elliemae/ds-data-table": "3.70.0-next.46",
|
|
77
|
+
"@elliemae/ds-data-table-cell": "3.70.0-next.46",
|
|
78
|
+
"@elliemae/ds-data-table-action-cell": "3.70.0-next.46",
|
|
79
|
+
"@elliemae/ds-codeeditor": "3.70.0-next.46",
|
|
80
|
+
"@elliemae/ds-data-table-cell-header": "3.70.0-next.46",
|
|
81
|
+
"@elliemae/ds-data-table-drag-and-drop-cell": "3.70.0-next.46",
|
|
82
|
+
"@elliemae/ds-data-table-expand-cell": "3.70.0-next.46",
|
|
83
|
+
"@elliemae/ds-data-table-multi-select-cell": "3.70.0-next.46",
|
|
84
|
+
"@elliemae/ds-data-table-single-select-cell": "3.70.0-next.46",
|
|
85
|
+
"@elliemae/ds-dataviz-pie": "3.70.0-next.46",
|
|
86
|
+
"@elliemae/ds-data-table-filters": "3.70.0-next.46",
|
|
87
|
+
"@elliemae/ds-dataviz": "3.70.0-next.46",
|
|
88
|
+
"@elliemae/ds-date-time-picker": "3.70.0-next.46",
|
|
89
|
+
"@elliemae/ds-dialog": "3.70.0-next.46",
|
|
90
|
+
"@elliemae/ds-decision-graph": "3.70.0-next.46",
|
|
91
|
+
"@elliemae/ds-drag-and-drop": "3.70.0-next.46",
|
|
92
|
+
"@elliemae/ds-dropdownmenu-v2": "3.70.0-next.46",
|
|
93
|
+
"@elliemae/ds-dropzone": "3.70.0-next.46",
|
|
94
|
+
"@elliemae/ds-fast-list": "3.70.0-next.46",
|
|
95
|
+
"@elliemae/ds-filter-bar": "3.70.0-next.46",
|
|
96
|
+
"@elliemae/ds-floating-context": "3.70.0-next.46",
|
|
97
|
+
"@elliemae/ds-form-checkbox": "3.70.0-next.46",
|
|
98
|
+
"@elliemae/ds-form-combobox": "3.70.0-next.46",
|
|
99
|
+
"@elliemae/ds-form-date-range-picker": "3.70.0-next.46",
|
|
100
|
+
"@elliemae/ds-form-input-text": "3.70.0-next.46",
|
|
101
|
+
"@elliemae/ds-form-helpers-mask-hooks": "3.70.0-next.46",
|
|
102
|
+
"@elliemae/ds-form-input-textarea": "3.70.0-next.46",
|
|
103
|
+
"@elliemae/ds-form-date-time-picker": "3.70.0-next.46",
|
|
104
|
+
"@elliemae/ds-form-layout-autocomplete": "3.70.0-next.46",
|
|
105
|
+
"@elliemae/ds-form-multi-combobox": "3.70.0-next.46",
|
|
106
|
+
"@elliemae/ds-form-layout-blocks": "3.70.0-next.46",
|
|
107
|
+
"@elliemae/ds-form-native-select": "3.70.0-next.46",
|
|
108
|
+
"@elliemae/ds-form-layout-input-group": "3.70.0-next.46",
|
|
109
|
+
"@elliemae/ds-form-radio": "3.70.0-next.46",
|
|
110
|
+
"@elliemae/ds-form-layout-label": "3.70.0-next.46",
|
|
111
|
+
"@elliemae/ds-form-single-combobox": "3.70.0-next.46",
|
|
112
|
+
"@elliemae/ds-form-toggle": "3.70.0-next.46",
|
|
113
|
+
"@elliemae/ds-hooks-focus-trap": "3.70.0-next.46",
|
|
114
|
+
"@elliemae/ds-grid": "3.70.0-next.46",
|
|
115
|
+
"@elliemae/ds-global-header": "3.70.0-next.46",
|
|
116
|
+
"@elliemae/ds-form-select": "3.70.0-next.46",
|
|
117
|
+
"@elliemae/ds-hooks-focus-stack": "3.70.0-next.46",
|
|
118
|
+
"@elliemae/ds-hooks-fontsize-media": "3.70.0-next.46",
|
|
119
|
+
"@elliemae/ds-hooks-is-mobile": "3.70.0-next.46",
|
|
120
|
+
"@elliemae/ds-hooks-fontsize-detector": "3.70.0-next.46",
|
|
121
|
+
"@elliemae/ds-hooks-is-showing-ellipsis": "3.70.0-next.46",
|
|
122
|
+
"@elliemae/ds-hooks-headless-tooltip": "3.70.0-next.46",
|
|
123
|
+
"@elliemae/ds-hooks-keyboard-navigation": "3.70.0-next.46",
|
|
124
|
+
"@elliemae/ds-hooks-on-blur-out": "3.70.0-next.46",
|
|
125
|
+
"@elliemae/ds-hooks-on-first-focus-in": "3.70.0-next.46",
|
|
126
|
+
"@elliemae/ds-icons": "3.70.0-next.46",
|
|
127
|
+
"@elliemae/ds-icon": "3.70.0-next.46",
|
|
128
|
+
"@elliemae/ds-indeterminate-progress-indicator": "3.70.0-next.46",
|
|
129
|
+
"@elliemae/ds-image": "3.70.0-next.46",
|
|
130
|
+
"@elliemae/ds-layout-provider": "3.70.0-next.46",
|
|
131
|
+
"@elliemae/ds-loading-indicator": "3.70.0-next.46",
|
|
132
|
+
"@elliemae/ds-imagelibrarymodal": "3.70.0-next.46",
|
|
133
|
+
"@elliemae/ds-left-navigation": "3.70.0-next.46",
|
|
134
|
+
"@elliemae/ds-menu-button": "3.70.0-next.46",
|
|
135
|
+
"@elliemae/ds-menu-items": "3.70.0-next.46",
|
|
136
|
+
"@elliemae/ds-menu-items-commons": "3.70.0-next.46",
|
|
137
|
+
"@elliemae/ds-menu-items-action": "3.70.0-next.46",
|
|
138
|
+
"@elliemae/ds-menu-items-multi": "3.70.0-next.46",
|
|
139
|
+
"@elliemae/ds-menu-items-separator": "3.70.0-next.46",
|
|
140
|
+
"@elliemae/ds-menu-items-section": "3.70.0-next.46",
|
|
141
|
+
"@elliemae/ds-menu-items-single": "3.70.0-next.46",
|
|
142
|
+
"@elliemae/ds-menu-items-skeleton": "3.70.0-next.46",
|
|
143
|
+
"@elliemae/ds-menu-items-single-with-submenu": "3.70.0-next.46",
|
|
144
|
+
"@elliemae/ds-menu-items-submenu": "3.70.0-next.46",
|
|
145
|
+
"@elliemae/ds-menu-tree-item": "3.70.0-next.46",
|
|
146
|
+
"@elliemae/ds-mobile": "3.70.0-next.46",
|
|
147
|
+
"@elliemae/ds-modal-slide": "3.70.0-next.46",
|
|
148
|
+
"@elliemae/ds-page-header": "3.70.0-next.46",
|
|
149
|
+
"@elliemae/ds-overlay": "3.70.0-next.46",
|
|
150
|
+
"@elliemae/ds-page-header-v1": "3.70.0-next.46",
|
|
151
|
+
"@elliemae/ds-notification-badge": "3.70.0-next.46",
|
|
152
|
+
"@elliemae/ds-page-header-v2": "3.70.0-next.46",
|
|
153
|
+
"@elliemae/ds-portal": "3.70.0-next.46",
|
|
154
|
+
"@elliemae/ds-pagination": "3.70.0-next.46",
|
|
155
|
+
"@elliemae/ds-page-layout": "3.70.0-next.46",
|
|
156
|
+
"@elliemae/ds-pills-v2": "3.70.0-next.46",
|
|
157
|
+
"@elliemae/ds-query-builder": "3.70.0-next.46",
|
|
158
|
+
"@elliemae/ds-progress-indicator": "3.70.0-next.46",
|
|
159
|
+
"@elliemae/ds-read-more": "3.70.0-next.46",
|
|
160
|
+
"@elliemae/ds-ribbon": "3.70.0-next.46",
|
|
161
|
+
"@elliemae/ds-resizeable-container": "3.70.0-next.46",
|
|
162
|
+
"@elliemae/ds-separator": "3.70.0-next.46",
|
|
163
|
+
"@elliemae/ds-props-helpers": "3.70.0-next.46",
|
|
164
|
+
"@elliemae/ds-shared": "3.70.0-next.46",
|
|
165
|
+
"@elliemae/ds-scrollable-container": "3.70.0-next.46",
|
|
166
|
+
"@elliemae/ds-side-panel": "3.70.0-next.46",
|
|
167
|
+
"@elliemae/ds-side-panel-header": "3.70.0-next.46",
|
|
168
|
+
"@elliemae/ds-shuttle-v2": "3.70.0-next.46",
|
|
169
|
+
"@elliemae/ds-skeleton": "3.70.0-next.46",
|
|
170
|
+
"@elliemae/ds-stepper": "3.70.0-next.46",
|
|
171
|
+
"@elliemae/ds-square-indicator": "3.70.0-next.46",
|
|
172
|
+
"@elliemae/ds-slider-v2": "3.70.0-next.46",
|
|
173
|
+
"@elliemae/ds-system": "3.70.0-next.46",
|
|
174
|
+
"@elliemae/ds-svg": "3.70.0-next.46",
|
|
175
|
+
"@elliemae/ds-test-utils": "3.70.0-next.46",
|
|
176
|
+
"@elliemae/ds-toast": "3.70.0-next.46",
|
|
177
|
+
"@elliemae/ds-toolbar-v2": "3.70.0-next.46",
|
|
178
|
+
"@elliemae/ds-toolbar-v1": "3.70.0-next.46",
|
|
179
|
+
"@elliemae/ds-tooltip-v3": "3.70.0-next.46",
|
|
180
|
+
"@elliemae/ds-tabs": "3.70.0-next.46",
|
|
181
|
+
"@elliemae/ds-treeview": "3.70.0-next.46",
|
|
182
|
+
"@elliemae/ds-transition": "3.70.0-next.46",
|
|
183
|
+
"@elliemae/ds-tree-model": "3.70.0-next.46",
|
|
184
|
+
"@elliemae/ds-truncated-expandable-text": "3.70.0-next.46",
|
|
185
|
+
"@elliemae/ds-typescript-helpers": "3.70.0-next.46",
|
|
186
|
+
"@elliemae/ds-wizard": "3.70.0-next.46",
|
|
187
|
+
"@elliemae/ds-typography": "3.70.0-next.46",
|
|
188
|
+
"@elliemae/ds-zustand-helpers": "3.70.0-next.46",
|
|
189
|
+
"@elliemae/ds-virtual-list": "3.70.0-next.46"
|
|
190
190
|
},
|
|
191
191
|
"publishConfig": {
|
|
192
192
|
"access": "public"
|
package/paths.js
CHANGED
|
@@ -43,8 +43,6 @@ export const PATH_ADVANCED = 'Advanced';
|
|
|
43
43
|
export const PATH_CUSTOMIZATION = `${PATH_ADVANCED}/Customization`;
|
|
44
44
|
export const PATH_CUSTOMIZATION_USECASES = `${PATH_ADVANCED}/Customization/Usecases`;
|
|
45
45
|
export const PATH_HOOKS = 'Hooks';
|
|
46
|
-
export const PATH_HOOKS_BLUR_OUT = `${PATH_HOOKS}/UseOnBlurOut/Examples`;
|
|
47
|
-
export const PATH_HOOKS_FIRST_FOCUS_IN = `${PATH_HOOKS}/UseOnFirstFocusIn/Examples`;
|
|
48
46
|
export const PATH_HOOKS_MASKS = `${PATH_HOOKS}/Masks`;
|
|
49
47
|
export const PATH_THEME = `${PATH_GETTING_STARTED}/-C-Theme`;
|
|
50
48
|
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
/* eslint-disable max-len */
|
|
2
|
-
import DSHookCO from './DSHookCO';
|
|
3
|
-
|
|
4
|
-
if (
|
|
5
|
-
!browser.capabilities['ice:options'].isPhone &&
|
|
6
|
-
!browser.capabilities['ice:options'].isTablet &&
|
|
7
|
-
browser.capabilities.browserName !== 'Safari'
|
|
8
|
-
) {
|
|
9
|
-
describe('PUI-8477, BlurOut Focus hook', () => {
|
|
10
|
-
before(async () => {
|
|
11
|
-
const errorOnGo = await DSHookCO.blurOut.go();
|
|
12
|
-
if (errorOnGo) throw errorOnGo;
|
|
13
|
-
});
|
|
14
|
-
it('should click Parent1, Child2 button and blur out', async () => {
|
|
15
|
-
const button = await DSHookCO.getBtnByIndex(1);
|
|
16
|
-
await button.click();
|
|
17
|
-
const outsideText = await DSHookCO.getInfo();
|
|
18
|
-
await outsideText.click();
|
|
19
|
-
const blurInfo = await (await DSHookCO.getBtnByIndex(6)).getText(); // this button text returns the last blur information for the assert
|
|
20
|
-
await expect(blurInfo).toEqual('Parent 1, Child 2');
|
|
21
|
-
});
|
|
22
|
-
it('should click other item within the same parent without updating the info text', async () => {
|
|
23
|
-
const button = await DSHookCO.getBtnByIndex(0);
|
|
24
|
-
await button.click();
|
|
25
|
-
const blurInfo = await (await DSHookCO.getBtnByIndex(6)).getText();
|
|
26
|
-
await expect(blurInfo).toEqual('Parent 1, Child 2');
|
|
27
|
-
});
|
|
28
|
-
it('should click other item on a diferent same parent updating the info text', async () => {
|
|
29
|
-
const button = await DSHookCO.getBtnByIndex(4);
|
|
30
|
-
await button.click();
|
|
31
|
-
const blurInfo = await (await DSHookCO.getBtnByIndex(6)).getText();
|
|
32
|
-
await expect(blurInfo).toEqual('Parent 1, Child 1');
|
|
33
|
-
});
|
|
34
|
-
});
|
|
35
|
-
|
|
36
|
-
describe('PUI-8478, BlurOut First Focus-In hook', () => {
|
|
37
|
-
before(async () => {
|
|
38
|
-
const errorOnGo = await DSHookCO.firstFocusIn.go();
|
|
39
|
-
if (errorOnGo) throw errorOnGo;
|
|
40
|
-
});
|
|
41
|
-
it('should show the first focused and last blurred item', async () => {
|
|
42
|
-
const button = await DSHookCO.getBtnByIndex(0);
|
|
43
|
-
await button.click();
|
|
44
|
-
const button2 = await DSHookCO.getBtnByIndex(1);
|
|
45
|
-
await button2.click();
|
|
46
|
-
const focusInfo = await (await DSHookCO.getBtnByIndex(6)).getText(); // these buttons text returns blur information for the assert
|
|
47
|
-
const blurInfo = await (await DSHookCO.getBtnByIndex(7)).getText();
|
|
48
|
-
await expect(focusInfo).toEqual('Parent 1, Child 1');
|
|
49
|
-
await expect(blurInfo).toEqual('Parent 1, Child 1');
|
|
50
|
-
});
|
|
51
|
-
it('should change the first focused item when its within a different parent', async () => {
|
|
52
|
-
const button = await DSHookCO.getBtnByIndex(3);
|
|
53
|
-
await button.click();
|
|
54
|
-
const focusInfo = await (await DSHookCO.getBtnByIndex(6)).getText(); // these buttons text returns blur information for the assert
|
|
55
|
-
const blurInfo = await (await DSHookCO.getBtnByIndex(7)).getText();
|
|
56
|
-
await expect(focusInfo).toEqual('Parent 2, Child 2');
|
|
57
|
-
await expect(blurInfo).toEqual('Parent 1, Child 2');
|
|
58
|
-
});
|
|
59
|
-
});
|
|
60
|
-
}
|