dimsum-e2e-tests 3.53.0-next.2 → 3.53.0-next.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/ds-card-v3/drag-n-drop/DSCardV3.DnD.visual.spec.js +1 -1
- package/ds-data-table-async/date-filters/DSDataTable.date-switcher.single.func.spec.js +1 -1
- package/ds-form-date-range-picker/aria-disabled/DateRangePicker.applyAriaDisabled.keyboard-nav.func.spec.js +31 -5
- package/ds-form-date-time-picker/DSControlledDateTimePickerCO.js +2 -2
- package/ds-form-date-time-picker/date-input/DateInput.keyboard-nav.func.spec.js +2 -2
- package/ds-form-date-time-picker/date-time-full/DateTimePicker.func.spec.js +8 -2
- package/ds-form-date-time-picker/date-time-input/DateTimeInput.applyAriaDisabled.keyboard-nav.func.spec.js +40 -4
- package/ds-form-date-time-picker/showcase/DateTimePicker.applyAriaDisabled-showcase.visual.spec.js +2 -2
- package/ds-form-date-time-picker/showcase/DateTimePicker.readOnly-showcase.visual.spec.js +2 -2
- package/ds-global-header/GlobalHeader.axe-core.func.spec.js +13 -0
- package/ds-global-header/GlobalHeaderCO.js +2 -0
- package/ds-slider-v2/DSSliderV2.func.spec.js +98 -0
- package/ds-slider-v2/DSSliderV2CO.js +8 -0
- package/package.json +188 -187
- package/ds-slider-v2/DSSliderV2.skipped.js +0 -46
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [3.53.0-next.4](https://git.elliemae.io/platform-ui/dimsum/compare/v3.53.0-next.3...v3.53.0-next.4) (2025-06-09)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package dimsum-e2e-tests
|
|
9
|
+
|
|
10
|
+
## [3.53.0-next.3](https://git.elliemae.io/platform-ui/dimsum/compare/v3.53.0-next.2...v3.53.0-next.3) (2025-06-05)
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
- ds-form-date-time-picker:: add functional tests for focus behaviour [PUI-16200](https://jira.elliemae.io/browse/PUI-16200) ([#7506](https://git.elliemae.io/platform-ui/dimsum/issues/7506)) ([b7d170d](https://git.elliemae.io/platform-ui/dimsum/commit/b7d170de1eba0b2f832fa83c17e6ad49b6250bef))
|
|
15
|
+
- ds-global-header:: added e2e test for iframe/axecore [PUI-16270](https://jira.elliemae.io/browse/PUI-16270) ([#7512](https://git.elliemae.io/platform-ui/dimsum/issues/7512)) ([ea2f683](https://git.elliemae.io/platform-ui/dimsum/commit/ea2f683ed18762df6dcf2d0e8421d98460dd1ae4))
|
|
16
|
+
|
|
6
17
|
## [3.53.0-next.2](https://git.elliemae.io/platform-ui/dimsum/compare/v3.53.0-next.1...v3.53.0-next.2) (2025-06-02)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package dimsum-e2e-tests
|
|
@@ -30,7 +30,7 @@ if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:o
|
|
|
30
30
|
const snapshot = await browser.eyesCheckSnapshot(DSCardV3CO.snapshotPath('card-v3-dnd-drop-last-position'));
|
|
31
31
|
await expect(snapshot).toEqual(0);
|
|
32
32
|
});
|
|
33
|
-
|
|
33
|
+
// https://jira.elliemae.io/browse/PUI-15649
|
|
34
34
|
it('04: should move an item to the the first position', async () => {
|
|
35
35
|
await browser.eyesOpen();
|
|
36
36
|
await tabStops(12);
|
|
@@ -70,7 +70,7 @@ if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:o
|
|
|
70
70
|
await expect(textOnMenuCenterText).toEqual('February 2020');
|
|
71
71
|
});
|
|
72
72
|
it('10: should change the date using the mouse and should be reflected on the pill', async () => {
|
|
73
|
-
const daySix = await DateSwitcherCO.
|
|
73
|
+
const daySix = await DateSwitcherCO.getDayByNumber('6');
|
|
74
74
|
await daySix.click();
|
|
75
75
|
const dateSwitcherTxtPill = await FilterBarCO.getPillByIndex(1);
|
|
76
76
|
const txtPillText = await dateSwitcherTxtPill.getText();
|
|
@@ -5,7 +5,7 @@ import { type } from '../../helpers';
|
|
|
5
5
|
import DateRangePickerCO from '../DateRangePickerCO';
|
|
6
6
|
|
|
7
7
|
if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:options'].isTablet) {
|
|
8
|
-
describe('PUI-
|
|
8
|
+
describe('PUI-16204 - DateTimePicker:: ApplyAriaDisabled: keyboard navigation', () => {
|
|
9
9
|
before('loading page', async () => {
|
|
10
10
|
const errorOnGo = await DateRangePickerCO.applyAriaDisabled.go();
|
|
11
11
|
if (errorOnGo) throw errorOnGo;
|
|
@@ -75,17 +75,43 @@ if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:o
|
|
|
75
75
|
const picker = await DateRangePickerCO.getPickerBtn();
|
|
76
76
|
await expect(picker).toBeFocused();
|
|
77
77
|
});
|
|
78
|
-
it('14: should
|
|
78
|
+
it('14: should open the calendar - "Enter"', async () => {
|
|
79
79
|
await browser.keys(Key.Enter);
|
|
80
80
|
const calendar = await DateRangePickerCO.getControllerCalendar();
|
|
81
|
+
await expect(calendar).toBeDisplayed();
|
|
82
|
+
});
|
|
83
|
+
it('15: should close the calendar - "Escape"', async () => {
|
|
84
|
+
await browser.keys(Key.Escape);
|
|
85
|
+
const calendar = await DateRangePickerCO.getControllerCalendar();
|
|
81
86
|
await expect(calendar).not.toBeDisplayed();
|
|
82
87
|
});
|
|
83
|
-
it('
|
|
88
|
+
it('16: should open the calendar - "Space"', async () => {
|
|
84
89
|
await browser.keys(Key.Space);
|
|
85
90
|
const calendar = await DateRangePickerCO.getControllerCalendar();
|
|
86
|
-
await expect(calendar).
|
|
91
|
+
await expect(calendar).toBeDisplayed();
|
|
87
92
|
});
|
|
88
|
-
it('
|
|
93
|
+
it('17: should not change "from" and "to" dates', async () => {
|
|
94
|
+
await browser.keys(Key.ArrowDown);
|
|
95
|
+
await browser.keys(Key.ArrowDown);
|
|
96
|
+
await browser.keys(Key.ArrowDown);
|
|
97
|
+
await browser.keys(Key.Enter);
|
|
98
|
+
|
|
99
|
+
const fromMonth = await DateRangePickerCO.getMonthInputByIndex(0);
|
|
100
|
+
const fromDay = await DateRangePickerCO.getDayInputByIndex(0);
|
|
101
|
+
const fromYear = await DateRangePickerCO.getYearInputByIndex(0);
|
|
102
|
+
const toMonth = await DateRangePickerCO.getMonthInputByIndex(1);
|
|
103
|
+
const toDay = await DateRangePickerCO.getDayInputByIndex(1);
|
|
104
|
+
const toYear = await DateRangePickerCO.getYearInputByIndex(1);
|
|
105
|
+
|
|
106
|
+
await expect(fromMonth).toHaveValue('12');
|
|
107
|
+
await expect(fromDay).toHaveValue('04');
|
|
108
|
+
await expect(fromYear).toHaveValue('2024');
|
|
109
|
+
await expect(toMonth).toHaveValue('12');
|
|
110
|
+
await expect(toDay).toHaveValue('19');
|
|
111
|
+
await expect(toYear).toHaveValue('2024');
|
|
112
|
+
});
|
|
113
|
+
it('18: should return to month input - "Shift+Tab"', async () => {
|
|
114
|
+
await browser.keys(Key.Escape);
|
|
89
115
|
await browser.keys([Key.Shift, Key.Tab]);
|
|
90
116
|
await browser.keys([Key.Shift, Key.Tab]);
|
|
91
117
|
await browser.keys([Key.Shift, Key.Tab]);
|
|
@@ -29,9 +29,9 @@ export default class DSDateTimePickerCO extends PageObject {
|
|
|
29
29
|
|
|
30
30
|
static dateAndDatePicker = new Urlbuilder(PATH_E2E_FORM_DATE, 'date-and-date-picker-test');
|
|
31
31
|
|
|
32
|
-
static basic = new Urlbuilder(PATH_E2E_FORM_DATE, 'basic-test');
|
|
33
|
-
|
|
34
32
|
// date-time
|
|
33
|
+
static basic = new Urlbuilder(PATH_E2E_FORM_DATE_TIME, 'basic-test');
|
|
34
|
+
|
|
35
35
|
static invalidSelectionDateTime = new Urlbuilder(PATH_E2E_FORM_DATE_TIME, 'invalid-selection-date-time-test');
|
|
36
36
|
|
|
37
37
|
static dateTimeFull = new Urlbuilder(PATH_E2E_FORM_DATE_TIME, 'date-time-full');
|
|
@@ -131,7 +131,7 @@ if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:o
|
|
|
131
131
|
});
|
|
132
132
|
});
|
|
133
133
|
describe('PUI-9614 - DSControlledDateTimePicker:: DateInput: keyboard nav - Regressive Backspace', () => {
|
|
134
|
-
|
|
134
|
+
before('loading page', async () => {
|
|
135
135
|
const errorOnGo = await DateTimePickerCO.dateShowcase.go();
|
|
136
136
|
if (errorOnGo) throw errorOnGo;
|
|
137
137
|
});
|
|
@@ -145,7 +145,7 @@ if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:o
|
|
|
145
145
|
await expect(month).toHaveValue(expect.stringContaining('01'));
|
|
146
146
|
await expect(day).toHaveValue(expect.stringContaining('02'));
|
|
147
147
|
await expect(year).toHaveValue(expect.stringContaining('0732'));
|
|
148
|
-
await DateTimePickerCO.pressBackspace(
|
|
148
|
+
await DateTimePickerCO.pressBackspace(10);
|
|
149
149
|
await expect(month).toHaveValue(expect.stringContaining(''));
|
|
150
150
|
await expect(day).toHaveValue(expect.stringContaining(''));
|
|
151
151
|
await expect(year).toHaveValue(expect.stringContaining(''));
|
|
@@ -85,16 +85,22 @@ if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:o
|
|
|
85
85
|
});
|
|
86
86
|
});
|
|
87
87
|
describe('PUI-16076 - DateTimePicker:: focus current day -Func', () => {
|
|
88
|
-
|
|
88
|
+
beforeEach('loading page', async () => {
|
|
89
89
|
const errorOnGo = await DateTimePickerCO.basic.go();
|
|
90
90
|
if (errorOnGo) throw errorOnGo;
|
|
91
91
|
});
|
|
92
92
|
it('01: should focus current day when openend calendar', async () => {
|
|
93
93
|
const currentDay = await new Date().getDate().toString();
|
|
94
|
-
const dateTrigger = await DateTimePickerCO.
|
|
94
|
+
const dateTrigger = await DateTimePickerCO.getCalendarTimeWheelPickerBtnByIndex(0);
|
|
95
95
|
await dateTrigger.click();
|
|
96
96
|
const focusedDay = await DateTimePickerCO.getCalendarFocusedDay();
|
|
97
97
|
await expect(await focusedDay.getText()).toBe(currentDay);
|
|
98
98
|
});
|
|
99
|
+
it('02: should focus selected day when openend calendar', async () => {
|
|
100
|
+
const dateTrigger = await DateTimePickerCO.getCalendarTimeWheelPickerBtnByIndex(1);
|
|
101
|
+
await dateTrigger.click();
|
|
102
|
+
const focusedDay = await DateTimePickerCO.getCalendarSelectedFocusedDay();
|
|
103
|
+
await expect(await focusedDay.getText()).toBe('3');
|
|
104
|
+
});
|
|
99
105
|
});
|
|
100
106
|
}
|
|
@@ -75,17 +75,53 @@ if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:o
|
|
|
75
75
|
const picker = await DateTimePickerCO.getCalendarTimeWheelPickerBtn();
|
|
76
76
|
await expect(picker).toBeFocused();
|
|
77
77
|
});
|
|
78
|
-
it('14: should
|
|
78
|
+
it('14: should open the calendar - "Enter"', async () => {
|
|
79
79
|
await browser.keys(Key.Enter);
|
|
80
80
|
const calendar = await DateTimePickerCO.getControllerCalendar();
|
|
81
|
+
await expect(calendar).toBeDisplayed();
|
|
82
|
+
});
|
|
83
|
+
it('15: should close the calendar - "Escape"', async () => {
|
|
84
|
+
await browser.keys(Key.Escape);
|
|
85
|
+
const calendar = await DateTimePickerCO.getControllerCalendar();
|
|
81
86
|
await expect(calendar).not.toBeDisplayed();
|
|
82
87
|
});
|
|
83
|
-
it('
|
|
88
|
+
it('16: should open the calendar - "Space"', async () => {
|
|
84
89
|
await browser.keys(Key.Space);
|
|
85
90
|
const calendar = await DateTimePickerCO.getControllerCalendar();
|
|
86
|
-
await expect(calendar).
|
|
91
|
+
await expect(calendar).toBeDisplayed();
|
|
92
|
+
});
|
|
93
|
+
it('17: should not change de day', async () => {
|
|
94
|
+
await browser.keys(Key.ArrowDown);
|
|
95
|
+
await browser.keys(Key.Enter);
|
|
96
|
+
const day = await DateTimePickerCO.getDayInput();
|
|
97
|
+
await expect(day).toHaveValue('15');
|
|
98
|
+
});
|
|
99
|
+
it('18: should not change the month and year', async () => {
|
|
100
|
+
await browser.keys(Key.ArrowDown);
|
|
101
|
+
await browser.keys(Key.ArrowDown);
|
|
102
|
+
await browser.keys(Key.ArrowDown);
|
|
103
|
+
await browser.keys(Key.Enter);
|
|
104
|
+
const month = await DateTimePickerCO.getMonthInput();
|
|
105
|
+
const year = await DateTimePickerCO.getYearInput();
|
|
106
|
+
await expect(month).toHaveValue('12');
|
|
107
|
+
await expect(year).toHaveValue('2024');
|
|
108
|
+
});
|
|
109
|
+
it('19: should not change hour/min/meridiem', async () => {
|
|
110
|
+
await browser.keys(Key.Tab);
|
|
111
|
+
await browser.keys(Key.ArrowDown);
|
|
112
|
+
await browser.keys(Key.Tab);
|
|
113
|
+
await browser.keys(Key.ArrowDown);
|
|
114
|
+
await browser.keys(Key.Tab);
|
|
115
|
+
await browser.keys(Key.ArrowDown);
|
|
116
|
+
const hour = await DateTimePickerCO.getHourInput();
|
|
117
|
+
const min = await DateTimePickerCO.getMinutesInput();
|
|
118
|
+
const meridiem = await DateTimePickerCO.getMeridiemInput();
|
|
119
|
+
await expect(hour).toHaveValue('10');
|
|
120
|
+
await expect(min).toHaveValue('30');
|
|
121
|
+
await expect(meridiem).toHaveValue('PM');
|
|
87
122
|
});
|
|
88
|
-
it('
|
|
123
|
+
it('20: should return to month input - "Shift+Tab"', async () => {
|
|
124
|
+
await browser.keys(Key.Escape);
|
|
89
125
|
await browser.keys([Key.Shift, Key.Tab]);
|
|
90
126
|
await browser.keys([Key.Shift, Key.Tab]);
|
|
91
127
|
await browser.keys([Key.Shift, Key.Tab]);
|
package/ds-form-date-time-picker/showcase/DateTimePicker.applyAriaDisabled-showcase.visual.spec.js
CHANGED
|
@@ -9,9 +9,9 @@ if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:o
|
|
|
9
9
|
if (errorOnGo) throw errorOnGo;
|
|
10
10
|
});
|
|
11
11
|
it('01: should display the showcase of all the variants in ApplyAriaDisabled state', async () => {
|
|
12
|
-
const
|
|
12
|
+
const selectedDay = await DateTimePickerCO.getCalendarSelectedDay();
|
|
13
13
|
const day10 = await DateTimePickerCO.getCalendarDay(10);
|
|
14
|
-
await
|
|
14
|
+
await selectedDay.click();
|
|
15
15
|
await mouseOver(day10);
|
|
16
16
|
const snapshot = await browser.checkSnapshot(DateTimePickerCO.snapshotPath('applyAriaDisabled-showcase'));
|
|
17
17
|
await expect(snapshot).toEqual(0);
|
|
@@ -9,9 +9,9 @@ if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:o
|
|
|
9
9
|
if (errorOnGo) throw errorOnGo;
|
|
10
10
|
});
|
|
11
11
|
it('01: should display the showcase of all the variants in readOnly state', async () => {
|
|
12
|
-
const
|
|
12
|
+
const selectedDay = await DateTimePickerCO.getCalendarSelectedDay();
|
|
13
13
|
const day10 = await DateTimePickerCO.getCalendarDay(10);
|
|
14
|
-
await
|
|
14
|
+
await selectedDay.click();
|
|
15
15
|
await mouseOver(day10);
|
|
16
16
|
const snapshot = await browser.checkSnapshot(DateTimePickerCO.snapshotPath('readOnly-showcase'));
|
|
17
17
|
await expect(snapshot).toEqual(0);
|
|
@@ -88,4 +88,17 @@ if (
|
|
|
88
88
|
expect(result.length).toBe(0);
|
|
89
89
|
});
|
|
90
90
|
});
|
|
91
|
+
|
|
92
|
+
describe('PUI-16270 - GlobalHeader: Controled with Iframe -AxeCore', () => {
|
|
93
|
+
before(async () => {
|
|
94
|
+
const errorOnGo = await GlobalHeaderCO.iframeURL.go();
|
|
95
|
+
if (errorOnGo) throw errorOnGo;
|
|
96
|
+
});
|
|
97
|
+
it('01: should have global header within iframe and pass axe-core scan', async () => {
|
|
98
|
+
const globalHeader = await GlobalHeaderCO.getGlobalHeader();
|
|
99
|
+
await globalHeader.waitForDisplayed();
|
|
100
|
+
const result = await axeCoreCheck();
|
|
101
|
+
expect(result.length).toBe(0);
|
|
102
|
+
});
|
|
103
|
+
});
|
|
91
104
|
}
|
|
@@ -7,6 +7,8 @@ export default class GlobalHeader extends PageObject {
|
|
|
7
7
|
|
|
8
8
|
static oneTab = new Urlbuilder(PATH_E2E_GLOBAL_HEADER, 'one-tab');
|
|
9
9
|
|
|
10
|
+
static iframeURL = new Urlbuilder(PATH_E2E_GLOBAL_HEADER, 'controlled-and-with-iframe-test');
|
|
11
|
+
|
|
10
12
|
static slotsTest = new Urlbuilder(PATH_E2E_GLOBAL_HEADER, 'slots-test');
|
|
11
13
|
|
|
12
14
|
static noToolbarTest = new Urlbuilder(PATH_E2E_GLOBAL_HEADER, 'no-toolbar-test');
|
|
@@ -179,6 +179,104 @@ if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:o
|
|
|
179
179
|
});
|
|
180
180
|
});
|
|
181
181
|
|
|
182
|
+
describe('PUI-12328 - SliderV2 - Multiple, mouse -Func', () => {
|
|
183
|
+
before('loading page', async () => {
|
|
184
|
+
const errorOnGo = await DSSliderV2CO.multipleURL.go();
|
|
185
|
+
if (errorOnGo) throw errorOnGo;
|
|
186
|
+
});
|
|
187
|
+
it('01: should change value of both handlers (same track) (with mouse)', async () => {
|
|
188
|
+
await browser.maximizeWindow();
|
|
189
|
+
const handler1 = await DSSliderV2CO.getSliderThumb(0);
|
|
190
|
+
const handler2 = await DSSliderV2CO.getSliderThumb(1);
|
|
191
|
+
const valueHandler1 = await DSSliderV2CO.getSliderValue(handler1);
|
|
192
|
+
const valueHandler2 = await DSSliderV2CO.getSliderValue(handler2);
|
|
193
|
+
await handler1.dragAndDrop({ x: 250, y: 0 });
|
|
194
|
+
await handler2.dragAndDrop({ x: -250, y: 0 });
|
|
195
|
+
const valueHandler1after = await DSSliderV2CO.getSliderValue(handler1);
|
|
196
|
+
const valueHandler2after = await DSSliderV2CO.getSliderValue(handler2);
|
|
197
|
+
await expect(valueHandler1).toEqual('0');
|
|
198
|
+
await expect(valueHandler2).toEqual('100');
|
|
199
|
+
await expect(valueHandler1after).toEqual('25');
|
|
200
|
+
await expect(valueHandler2after).toEqual('75');
|
|
201
|
+
});
|
|
202
|
+
it('02: should be able to change the handlers order (with mouse)', async () => {
|
|
203
|
+
const minSlider = await DSSliderV2CO.getMinHandlerByAriaLabel();
|
|
204
|
+
const maxSlider = await DSSliderV2CO.getMaxHandlerByAriaLabel();
|
|
205
|
+
await minSlider.dragAndDrop({ x: 550, y: 0 });
|
|
206
|
+
await maxSlider.dragAndDrop({ x: -1200, y: 0 });
|
|
207
|
+
const valueMinSliderAfter = await DSSliderV2CO.getSliderValue(minSlider);
|
|
208
|
+
const valueMaxSliderAfter = await DSSliderV2CO.getSliderValue(maxSlider);
|
|
209
|
+
await expect(valueMinSliderAfter).toEqual('50');
|
|
210
|
+
await expect(valueMaxSliderAfter).toEqual('0');
|
|
211
|
+
});
|
|
212
|
+
it('03: should be to set both handlers at the same value with mouse', async () => {
|
|
213
|
+
const minSlider = await DSSliderV2CO.getMinHandlerByAriaLabel();
|
|
214
|
+
const maxSlider = await DSSliderV2CO.getMaxHandlerByAriaLabel();
|
|
215
|
+
await minSlider.dragAndDrop({ x: 900, y: 0 });
|
|
216
|
+
await maxSlider.dragAndDrop({ x: 900, y: 0 });
|
|
217
|
+
await maxSlider.dragAndDrop({ x: 900, y: 0 });
|
|
218
|
+
const valueMinSliderAfter = await DSSliderV2CO.getSliderValue(minSlider);
|
|
219
|
+
const valueMaxSliderAfter = await DSSliderV2CO.getSliderValue(maxSlider);
|
|
220
|
+
await expect(valueMinSliderAfter).toEqual('100');
|
|
221
|
+
await expect(valueMaxSliderAfter).toEqual('100');
|
|
222
|
+
});
|
|
223
|
+
it('04: should be to move from 100', async () => {
|
|
224
|
+
const minSlider = await DSSliderV2CO.getMinHandlerByAriaLabel();
|
|
225
|
+
const maxSlider = await DSSliderV2CO.getMaxHandlerByAriaLabel();
|
|
226
|
+
await minSlider.dragAndDrop({ x: -750, y: 0 });
|
|
227
|
+
const valueMinSliderAfter = await DSSliderV2CO.getSliderValue(minSlider);
|
|
228
|
+
const valueMaxSliderAfter = await DSSliderV2CO.getSliderValue(maxSlider);
|
|
229
|
+
await expect(valueMinSliderAfter).toEqual('100');
|
|
230
|
+
await expect(valueMaxSliderAfter).toEqual('50');
|
|
231
|
+
});
|
|
232
|
+
});
|
|
233
|
+
|
|
234
|
+
describe('PUI-16290 - SliderV2 - Multiple, keyboard -Func', () => {
|
|
235
|
+
before('loading page', async () => {
|
|
236
|
+
const errorOnGo = await DSSliderV2CO.multipleURL.go();
|
|
237
|
+
if (errorOnGo) throw errorOnGo;
|
|
238
|
+
});
|
|
239
|
+
it('01: should change value of both handlers (same track) (with KB)', async () => {
|
|
240
|
+
await browser.maximizeWindow();
|
|
241
|
+
const handler1 = await DSSliderV2CO.getSliderThumb(0);
|
|
242
|
+
const handler2 = await DSSliderV2CO.getSliderThumb(1);
|
|
243
|
+
const valueHandler1 = await DSSliderV2CO.getSliderValue(handler1);
|
|
244
|
+
const valueHandler2 = await DSSliderV2CO.getSliderValue(handler2);
|
|
245
|
+
await browser.keys(Key.Tab);
|
|
246
|
+
await browser.keys(Key.ArrowRight);
|
|
247
|
+
await browser.keys(Key.Tab);
|
|
248
|
+
await browser.keys(Key.ArrowLeft);
|
|
249
|
+
const valueHandler1after = await DSSliderV2CO.getSliderValue(handler1);
|
|
250
|
+
const valueHandler2after = await DSSliderV2CO.getSliderValue(handler2);
|
|
251
|
+
await expect(valueHandler1).toEqual('0');
|
|
252
|
+
await expect(valueHandler2).toEqual('100');
|
|
253
|
+
await expect(valueHandler1after).toEqual('25');
|
|
254
|
+
await expect(valueHandler2after).toEqual('75');
|
|
255
|
+
});
|
|
256
|
+
it('02: should be able to change the handlers order (with KB)', async () => {
|
|
257
|
+
const minSlider = await DSSliderV2CO.getMinHandlerByAriaLabel();
|
|
258
|
+
const maxSlider = await DSSliderV2CO.getMaxHandlerByAriaLabel();
|
|
259
|
+
await browser.keys(Key.ArrowLeft);
|
|
260
|
+
await browser.keys(Key.ArrowLeft);
|
|
261
|
+
await browser.keys([Key.Shift, Key.Tab]);
|
|
262
|
+
await browser.keys(Key.ArrowRight);
|
|
263
|
+
const valueMinSliderAfter = await DSSliderV2CO.getSliderValue(minSlider);
|
|
264
|
+
const valueMaxSliderAfter = await DSSliderV2CO.getSliderValue(maxSlider);
|
|
265
|
+
await expect(valueMinSliderAfter).toEqual('50');
|
|
266
|
+
await expect(valueMaxSliderAfter).toEqual('25');
|
|
267
|
+
});
|
|
268
|
+
it('03: should be to set both handlers at the same value (with KB)', async () => {
|
|
269
|
+
const minSlider = await DSSliderV2CO.getMinHandlerByAriaLabel();
|
|
270
|
+
const maxSlider = await DSSliderV2CO.getMaxHandlerByAriaLabel();
|
|
271
|
+
await browser.keys(Key.Tab);
|
|
272
|
+
await browser.keys(Key.ArrowRight);
|
|
273
|
+
const valueMinSliderAfter = await DSSliderV2CO.getSliderValue(minSlider);
|
|
274
|
+
const valueMaxSliderAfter = await DSSliderV2CO.getSliderValue(maxSlider);
|
|
275
|
+
await expect(valueMinSliderAfter).toEqual('50');
|
|
276
|
+
await expect(valueMaxSliderAfter).toEqual('50');
|
|
277
|
+
});
|
|
278
|
+
});
|
|
279
|
+
|
|
182
280
|
if (browser.capabilities.browserName === 'chrome' || browser.capabilities.browserName === 'Chrome') {
|
|
183
281
|
describe('PUI-16006 - SliderV2 - Data-testid and Aria-label presence - Func', () => {
|
|
184
282
|
before('loading page', async () => {
|
|
@@ -85,6 +85,14 @@ export default class DSSliderCO extends PageObject {
|
|
|
85
85
|
return $$('[data-testid="ds-sliderv2-tick-mark-value"]');
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
+
static async getMinHandlerByAriaLabel() {
|
|
89
|
+
return $('[aria-label="Min Range slider multiple aria"]');
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
static async getMaxHandlerByAriaLabel() {
|
|
93
|
+
return $('[aria-label="Max Range slider multiple aria"]');
|
|
94
|
+
}
|
|
95
|
+
|
|
88
96
|
// actions
|
|
89
97
|
static async getSliderValue(sliderThumb) {
|
|
90
98
|
return sliderThumb.getAttribute('aria-valuenow');
|
package/package.json
CHANGED
|
@@ -1,193 +1,194 @@
|
|
|
1
1
|
{
|
|
2
|
+
"type": "module",
|
|
2
3
|
"name": "dimsum-e2e-tests",
|
|
3
|
-
"version": "3.53.0-next.
|
|
4
|
+
"version": "3.53.0-next.4",
|
|
4
5
|
"description": "End-to-end tests for dimsum library",
|
|
5
6
|
"dependencies": {
|
|
6
|
-
"@elliemae/ds-accordion": "3.53.0-next.
|
|
7
|
-
"@elliemae/ds-
|
|
8
|
-
"@elliemae/ds-
|
|
9
|
-
"@elliemae/ds-
|
|
10
|
-
"@elliemae/ds-
|
|
11
|
-
"@elliemae/ds-
|
|
12
|
-
"@elliemae/ds-button": "3.53.0-next.
|
|
13
|
-
"@elliemae/ds-
|
|
14
|
-
"@elliemae/ds-
|
|
15
|
-
"@elliemae/ds-button
|
|
16
|
-
"@elliemae/ds-button-v2": "3.53.0-next.
|
|
17
|
-
"@elliemae/ds-card
|
|
18
|
-
"@elliemae/ds-card": "3.53.0-next.
|
|
19
|
-
"@elliemae/ds-card-
|
|
20
|
-
"@elliemae/ds-card-v1
|
|
21
|
-
"@elliemae/ds-card-
|
|
22
|
-
"@elliemae/ds-card-v2-
|
|
23
|
-
"@elliemae/ds-card-v2
|
|
24
|
-
"@elliemae/ds-card-
|
|
25
|
-
"@elliemae/ds-card-
|
|
26
|
-
"@elliemae/ds-card-v3-poc": "3.53.0-next.
|
|
27
|
-
"@elliemae/ds-chat
|
|
28
|
-
"@elliemae/ds-chat": "3.53.0-next.
|
|
29
|
-
"@elliemae/ds-chat-
|
|
30
|
-
"@elliemae/ds-chat-container": "3.53.0-next.
|
|
31
|
-
"@elliemae/ds-chat-
|
|
32
|
-
"@elliemae/ds-chat-
|
|
33
|
-
"@elliemae/ds-chat-
|
|
34
|
-
"@elliemae/ds-chat-
|
|
35
|
-
"@elliemae/ds-chat-sidebar": "3.53.0-next.
|
|
36
|
-
"@elliemae/ds-chat-system-message": "3.53.0-next.
|
|
37
|
-
"@elliemae/ds-
|
|
38
|
-
"@elliemae/ds-
|
|
39
|
-
"@elliemae/ds-
|
|
40
|
-
"@elliemae/ds-
|
|
41
|
-
"@elliemae/ds-
|
|
42
|
-
"@elliemae/ds-
|
|
43
|
-
"@elliemae/ds-common": "3.53.0-next.
|
|
44
|
-
"@elliemae/ds-controlled-form": "3.53.0-next.
|
|
45
|
-
"@elliemae/ds-csv-converter": "3.53.0-next.
|
|
46
|
-
"@elliemae/ds-data-table": "3.53.0-next.
|
|
47
|
-
"@elliemae/ds-data-table-cell": "3.53.0-next.
|
|
48
|
-
"@elliemae/ds-data-table-cell
|
|
49
|
-
"@elliemae/ds-data-table-
|
|
50
|
-
"@elliemae/ds-data-table-drag-and-drop-cell": "3.53.0-next.
|
|
51
|
-
"@elliemae/ds-data-table-
|
|
52
|
-
"@elliemae/ds-data-table-
|
|
53
|
-
"@elliemae/ds-data-table-
|
|
54
|
-
"@elliemae/ds-data-table-single-select-cell": "3.53.0-next.
|
|
55
|
-
"@elliemae/ds-datagrids": "3.53.0-next.
|
|
56
|
-
"@elliemae/ds-
|
|
57
|
-
"@elliemae/ds-dataviz-pie": "3.53.0-next.
|
|
58
|
-
"@elliemae/ds-
|
|
59
|
-
"@elliemae/ds-date-range-picker": "3.53.0-next.
|
|
60
|
-
"@elliemae/ds-date-range-selector": "3.53.0-next.
|
|
61
|
-
"@elliemae/ds-date-time-picker": "3.53.0-next.
|
|
62
|
-
"@elliemae/ds-
|
|
63
|
-
"@elliemae/ds-
|
|
64
|
-
"@elliemae/ds-
|
|
65
|
-
"@elliemae/ds-drag-and-drop": "3.53.0-next.
|
|
66
|
-
"@elliemae/ds-dropdownmenu
|
|
67
|
-
"@elliemae/ds-
|
|
68
|
-
"@elliemae/ds-
|
|
69
|
-
"@elliemae/ds-
|
|
70
|
-
"@elliemae/ds-
|
|
71
|
-
"@elliemae/ds-
|
|
72
|
-
"@elliemae/ds-
|
|
73
|
-
"@elliemae/ds-form-checkbox": "3.53.0-next.
|
|
74
|
-
"@elliemae/ds-form-combobox": "3.53.0-next.
|
|
75
|
-
"@elliemae/ds-form-
|
|
76
|
-
"@elliemae/ds-form-date-time-picker": "3.53.0-next.
|
|
77
|
-
"@elliemae/ds-form-
|
|
78
|
-
"@elliemae/ds-form-
|
|
79
|
-
"@elliemae/ds-form-input-textarea": "3.53.0-next.
|
|
80
|
-
"@elliemae/ds-form-layout-autocomplete": "3.53.0-next.
|
|
81
|
-
"@elliemae/ds-form-layout-blocks": "3.53.0-next.
|
|
82
|
-
"@elliemae/ds-form-layout-input-group": "3.53.0-next.
|
|
83
|
-
"@elliemae/ds-form-layout-label": "3.53.0-next.
|
|
84
|
-
"@elliemae/ds-form-
|
|
85
|
-
"@elliemae/ds-form-
|
|
86
|
-
"@elliemae/ds-form-select": "3.53.0-next.
|
|
87
|
-
"@elliemae/ds-form-
|
|
88
|
-
"@elliemae/ds-form-
|
|
89
|
-
"@elliemae/ds-
|
|
90
|
-
"@elliemae/ds-
|
|
91
|
-
"@elliemae/ds-
|
|
92
|
-
"@elliemae/ds-group-box": "3.53.0-next.
|
|
93
|
-
"@elliemae/ds-header": "3.53.0-next.
|
|
94
|
-
"@elliemae/ds-hidden": "3.53.0-next.
|
|
95
|
-
"@elliemae/ds-hooks-focus-stack": "3.53.0-next.
|
|
96
|
-
"@elliemae/ds-hooks-focus-trap": "3.53.0-next.
|
|
97
|
-
"@elliemae/ds-hooks-fontsize-detector": "3.53.0-next.
|
|
98
|
-
"@elliemae/ds-hooks-fontsize-media": "3.53.0-next.
|
|
99
|
-
"@elliemae/ds-hooks-headless-tooltip": "3.53.0-next.
|
|
100
|
-
"@elliemae/ds-hooks-is-
|
|
101
|
-
"@elliemae/ds-hooks-is-
|
|
102
|
-
"@elliemae/ds-hooks-
|
|
103
|
-
"@elliemae/ds-hooks-on-
|
|
104
|
-
"@elliemae/ds-
|
|
105
|
-
"@elliemae/ds-
|
|
106
|
-
"@elliemae/ds-image": "3.53.0-next.
|
|
107
|
-
"@elliemae/ds-
|
|
108
|
-
"@elliemae/ds-
|
|
109
|
-
"@elliemae/ds-indeterminate-progress-indicator": "3.53.0-next.
|
|
110
|
-
"@elliemae/ds-label-value": "3.53.0-next.
|
|
111
|
-
"@elliemae/ds-
|
|
112
|
-
"@elliemae/ds-
|
|
113
|
-
"@elliemae/ds-
|
|
114
|
-
"@elliemae/ds-
|
|
115
|
-
"@elliemae/ds-
|
|
116
|
-
"@elliemae/ds-menu-items": "3.53.0-next.
|
|
117
|
-
"@elliemae/ds-menu-button": "3.53.0-next.
|
|
118
|
-
"@elliemae/ds-menu-items-
|
|
119
|
-
"@elliemae/ds-menu-items-
|
|
120
|
-
"@elliemae/ds-menu-items-multi": "3.53.0-next.
|
|
121
|
-
"@elliemae/ds-menu-items-
|
|
122
|
-
"@elliemae/ds-menu-items-
|
|
123
|
-
"@elliemae/ds-menu-items-single": "3.53.0-next.
|
|
124
|
-
"@elliemae/ds-menu-items-
|
|
125
|
-
"@elliemae/ds-menu-
|
|
126
|
-
"@elliemae/ds-
|
|
127
|
-
"@elliemae/ds-
|
|
128
|
-
"@elliemae/ds-mobile": "3.53.0-next.
|
|
129
|
-
"@elliemae/ds-
|
|
130
|
-
"@elliemae/ds-
|
|
131
|
-
"@elliemae/ds-
|
|
132
|
-
"@elliemae/ds-
|
|
133
|
-
"@elliemae/ds-
|
|
134
|
-
"@elliemae/ds-
|
|
135
|
-
"@elliemae/ds-
|
|
136
|
-
"@elliemae/ds-page-header-
|
|
137
|
-
"@elliemae/ds-page-
|
|
138
|
-
"@elliemae/ds-page-layout": "3.53.0-next.
|
|
139
|
-
"@elliemae/ds-page-
|
|
140
|
-
"@elliemae/ds-pagination": "3.53.0-next.
|
|
141
|
-
"@elliemae/ds-pills": "3.53.0-next.
|
|
142
|
-
"@elliemae/ds-
|
|
143
|
-
"@elliemae/ds-
|
|
144
|
-
"@elliemae/ds-
|
|
145
|
-
"@elliemae/ds-
|
|
146
|
-
"@elliemae/ds-portal": "3.53.0-next.
|
|
147
|
-
"@elliemae/ds-
|
|
148
|
-
"@elliemae/ds-
|
|
149
|
-
"@elliemae/ds-
|
|
150
|
-
"@elliemae/ds-
|
|
151
|
-
"@elliemae/ds-resizeable-container": "3.53.0-next.
|
|
152
|
-
"@elliemae/ds-scrollable-container": "3.53.0-next.
|
|
153
|
-
"@elliemae/ds-ribbon": "3.53.0-next.
|
|
154
|
-
"@elliemae/ds-search-field": "3.53.0-next.
|
|
155
|
-
"@elliemae/ds-separator": "3.53.0-next.
|
|
156
|
-
"@elliemae/ds-shared": "3.53.0-next.
|
|
157
|
-
"@elliemae/ds-shuttle
|
|
158
|
-
"@elliemae/ds-
|
|
159
|
-
"@elliemae/ds-
|
|
160
|
-
"@elliemae/ds-
|
|
161
|
-
"@elliemae/ds-
|
|
162
|
-
"@elliemae/ds-slider-v2": "3.53.0-next.
|
|
163
|
-
"@elliemae/ds-
|
|
164
|
-
"@elliemae/ds-
|
|
165
|
-
"@elliemae/ds-square-indicator": "3.53.0-next.
|
|
166
|
-
"@elliemae/ds-
|
|
167
|
-
"@elliemae/ds-
|
|
168
|
-
"@elliemae/ds-
|
|
169
|
-
"@elliemae/ds-test-utils": "3.53.0-next.
|
|
170
|
-
"@elliemae/ds-
|
|
171
|
-
"@elliemae/ds-
|
|
172
|
-
"@elliemae/ds-
|
|
173
|
-
"@elliemae/ds-
|
|
174
|
-
"@elliemae/ds-toolbar": "3.53.0-next.
|
|
175
|
-
"@elliemae/ds-toolbar
|
|
176
|
-
"@elliemae/ds-
|
|
177
|
-
"@elliemae/ds-
|
|
178
|
-
"@elliemae/ds-
|
|
179
|
-
"@elliemae/ds-
|
|
180
|
-
"@elliemae/ds-treeview": "3.53.0-next.
|
|
181
|
-
"@elliemae/ds-truncated-expandable-text": "3.53.0-next.
|
|
182
|
-
"@elliemae/ds-truncated-tooltip-text": "3.53.0-next.
|
|
183
|
-
"@elliemae/ds-typescript-helpers": "3.53.0-next.
|
|
184
|
-
"@elliemae/ds-
|
|
185
|
-
"@elliemae/ds-
|
|
186
|
-
"@elliemae/ds-
|
|
187
|
-
"@elliemae/ds-
|
|
188
|
-
"@elliemae/ds-
|
|
189
|
-
"@elliemae/ds-zipcode-search": "3.53.0-next.
|
|
190
|
-
"@elliemae/ds-
|
|
191
|
-
"@elliemae/ds-
|
|
7
|
+
"@elliemae/ds-accordion": "3.53.0-next.4",
|
|
8
|
+
"@elliemae/ds-app-picker": "3.53.0-next.4",
|
|
9
|
+
"@elliemae/ds-banner": "3.53.0-next.4",
|
|
10
|
+
"@elliemae/ds-backdrop": "3.53.0-next.4",
|
|
11
|
+
"@elliemae/ds-accessibility": "3.53.0-next.4",
|
|
12
|
+
"@elliemae/ds-breadcrumb": "3.53.0-next.4",
|
|
13
|
+
"@elliemae/ds-button-group": "3.53.0-next.4",
|
|
14
|
+
"@elliemae/ds-basic": "3.53.0-next.4",
|
|
15
|
+
"@elliemae/ds-button-v1": "3.53.0-next.4",
|
|
16
|
+
"@elliemae/ds-button": "3.53.0-next.4",
|
|
17
|
+
"@elliemae/ds-button-v2": "3.53.0-next.4",
|
|
18
|
+
"@elliemae/ds-card": "3.53.0-next.4",
|
|
19
|
+
"@elliemae/ds-card-array": "3.53.0-next.4",
|
|
20
|
+
"@elliemae/ds-card-navigation": "3.53.0-next.4",
|
|
21
|
+
"@elliemae/ds-card-v1": "3.53.0-next.4",
|
|
22
|
+
"@elliemae/ds-card-v1-detail": "3.53.0-next.4",
|
|
23
|
+
"@elliemae/ds-card-v2-action-addon": "3.53.0-next.4",
|
|
24
|
+
"@elliemae/ds-card-v2": "3.53.0-next.4",
|
|
25
|
+
"@elliemae/ds-card-v2-group": "3.53.0-next.4",
|
|
26
|
+
"@elliemae/ds-card-v3": "3.53.0-next.4",
|
|
27
|
+
"@elliemae/ds-card-v3-poc": "3.53.0-next.4",
|
|
28
|
+
"@elliemae/ds-chat": "3.53.0-next.4",
|
|
29
|
+
"@elliemae/ds-chat-card": "3.53.0-next.4",
|
|
30
|
+
"@elliemae/ds-chat-container": "3.53.0-next.4",
|
|
31
|
+
"@elliemae/ds-chat-container-header": "3.53.0-next.4",
|
|
32
|
+
"@elliemae/ds-chat-bubble": "3.53.0-next.4",
|
|
33
|
+
"@elliemae/ds-chat-empty-state": "3.53.0-next.4",
|
|
34
|
+
"@elliemae/ds-chat-message-delimeter": "3.53.0-next.4",
|
|
35
|
+
"@elliemae/ds-chat-floating-button": "3.53.0-next.4",
|
|
36
|
+
"@elliemae/ds-chat-sidebar": "3.53.0-next.4",
|
|
37
|
+
"@elliemae/ds-chat-system-message": "3.53.0-next.4",
|
|
38
|
+
"@elliemae/ds-chat-tile": "3.53.0-next.4",
|
|
39
|
+
"@elliemae/ds-chip": "3.53.0-next.4",
|
|
40
|
+
"@elliemae/ds-circular-progress-indicator": "3.53.0-next.4",
|
|
41
|
+
"@elliemae/ds-codeeditor": "3.53.0-next.4",
|
|
42
|
+
"@elliemae/ds-classnames": "3.53.0-next.4",
|
|
43
|
+
"@elliemae/ds-comments": "3.53.0-next.4",
|
|
44
|
+
"@elliemae/ds-common": "3.53.0-next.4",
|
|
45
|
+
"@elliemae/ds-controlled-form": "3.53.0-next.4",
|
|
46
|
+
"@elliemae/ds-csv-converter": "3.53.0-next.4",
|
|
47
|
+
"@elliemae/ds-data-table": "3.53.0-next.4",
|
|
48
|
+
"@elliemae/ds-data-table-action-cell": "3.53.0-next.4",
|
|
49
|
+
"@elliemae/ds-data-table-cell": "3.53.0-next.4",
|
|
50
|
+
"@elliemae/ds-data-table-cell-header": "3.53.0-next.4",
|
|
51
|
+
"@elliemae/ds-data-table-drag-and-drop-cell": "3.53.0-next.4",
|
|
52
|
+
"@elliemae/ds-data-table-expand-cell": "3.53.0-next.4",
|
|
53
|
+
"@elliemae/ds-data-table-filters": "3.53.0-next.4",
|
|
54
|
+
"@elliemae/ds-data-table-multi-select-cell": "3.53.0-next.4",
|
|
55
|
+
"@elliemae/ds-data-table-single-select-cell": "3.53.0-next.4",
|
|
56
|
+
"@elliemae/ds-datagrids": "3.53.0-next.4",
|
|
57
|
+
"@elliemae/ds-dataviz": "3.53.0-next.4",
|
|
58
|
+
"@elliemae/ds-dataviz-pie": "3.53.0-next.4",
|
|
59
|
+
"@elliemae/ds-date-picker": "3.53.0-next.4",
|
|
60
|
+
"@elliemae/ds-date-range-picker": "3.53.0-next.4",
|
|
61
|
+
"@elliemae/ds-date-range-selector": "3.53.0-next.4",
|
|
62
|
+
"@elliemae/ds-date-time-picker": "3.53.0-next.4",
|
|
63
|
+
"@elliemae/ds-date-time-recurrence-picker": "3.53.0-next.4",
|
|
64
|
+
"@elliemae/ds-decision-graph": "3.53.0-next.4",
|
|
65
|
+
"@elliemae/ds-dialog": "3.53.0-next.4",
|
|
66
|
+
"@elliemae/ds-drag-and-drop": "3.53.0-next.4",
|
|
67
|
+
"@elliemae/ds-dropdownmenu": "3.53.0-next.4",
|
|
68
|
+
"@elliemae/ds-dropdownmenu-v2": "3.53.0-next.4",
|
|
69
|
+
"@elliemae/ds-dropzone": "3.53.0-next.4",
|
|
70
|
+
"@elliemae/ds-fast-list": "3.53.0-next.4",
|
|
71
|
+
"@elliemae/ds-filterbar": "3.53.0-next.4",
|
|
72
|
+
"@elliemae/ds-floating-context": "3.53.0-next.4",
|
|
73
|
+
"@elliemae/ds-form": "3.53.0-next.4",
|
|
74
|
+
"@elliemae/ds-form-checkbox": "3.53.0-next.4",
|
|
75
|
+
"@elliemae/ds-form-combobox": "3.53.0-next.4",
|
|
76
|
+
"@elliemae/ds-form-date-range-picker": "3.53.0-next.4",
|
|
77
|
+
"@elliemae/ds-form-date-time-picker": "3.53.0-next.4",
|
|
78
|
+
"@elliemae/ds-form-helpers-mask-hooks": "3.53.0-next.4",
|
|
79
|
+
"@elliemae/ds-form-input-text": "3.53.0-next.4",
|
|
80
|
+
"@elliemae/ds-form-input-textarea": "3.53.0-next.4",
|
|
81
|
+
"@elliemae/ds-form-layout-autocomplete": "3.53.0-next.4",
|
|
82
|
+
"@elliemae/ds-form-layout-blocks": "3.53.0-next.4",
|
|
83
|
+
"@elliemae/ds-form-layout-input-group": "3.53.0-next.4",
|
|
84
|
+
"@elliemae/ds-form-layout-label": "3.53.0-next.4",
|
|
85
|
+
"@elliemae/ds-form-radio": "3.53.0-next.4",
|
|
86
|
+
"@elliemae/ds-form-multi-combobox": "3.53.0-next.4",
|
|
87
|
+
"@elliemae/ds-form-native-select": "3.53.0-next.4",
|
|
88
|
+
"@elliemae/ds-form-select": "3.53.0-next.4",
|
|
89
|
+
"@elliemae/ds-form-toggle": "3.53.0-next.4",
|
|
90
|
+
"@elliemae/ds-global-header": "3.53.0-next.4",
|
|
91
|
+
"@elliemae/ds-grid": "3.53.0-next.4",
|
|
92
|
+
"@elliemae/ds-form-single-combobox": "3.53.0-next.4",
|
|
93
|
+
"@elliemae/ds-group-box": "3.53.0-next.4",
|
|
94
|
+
"@elliemae/ds-header": "3.53.0-next.4",
|
|
95
|
+
"@elliemae/ds-hidden": "3.53.0-next.4",
|
|
96
|
+
"@elliemae/ds-hooks-focus-stack": "3.53.0-next.4",
|
|
97
|
+
"@elliemae/ds-hooks-focus-trap": "3.53.0-next.4",
|
|
98
|
+
"@elliemae/ds-hooks-fontsize-detector": "3.53.0-next.4",
|
|
99
|
+
"@elliemae/ds-hooks-fontsize-media": "3.53.0-next.4",
|
|
100
|
+
"@elliemae/ds-hooks-headless-tooltip": "3.53.0-next.4",
|
|
101
|
+
"@elliemae/ds-hooks-is-mobile": "3.53.0-next.4",
|
|
102
|
+
"@elliemae/ds-hooks-is-showing-ellipsis": "3.53.0-next.4",
|
|
103
|
+
"@elliemae/ds-hooks-keyboard-navigation": "3.53.0-next.4",
|
|
104
|
+
"@elliemae/ds-hooks-on-blur-out": "3.53.0-next.4",
|
|
105
|
+
"@elliemae/ds-hooks-on-first-focus-in": "3.53.0-next.4",
|
|
106
|
+
"@elliemae/ds-icon": "3.53.0-next.4",
|
|
107
|
+
"@elliemae/ds-image": "3.53.0-next.4",
|
|
108
|
+
"@elliemae/ds-icons": "3.53.0-next.4",
|
|
109
|
+
"@elliemae/ds-imagelibrarymodal": "3.53.0-next.4",
|
|
110
|
+
"@elliemae/ds-indeterminate-progress-indicator": "3.53.0-next.4",
|
|
111
|
+
"@elliemae/ds-label-value": "3.53.0-next.4",
|
|
112
|
+
"@elliemae/ds-left-navigation": "3.53.0-next.4",
|
|
113
|
+
"@elliemae/ds-loading-indicator": "3.53.0-next.4",
|
|
114
|
+
"@elliemae/ds-layout-provider": "3.53.0-next.4",
|
|
115
|
+
"@elliemae/ds-list-section-header": "3.53.0-next.4",
|
|
116
|
+
"@elliemae/ds-menu": "3.53.0-next.4",
|
|
117
|
+
"@elliemae/ds-menu-items": "3.53.0-next.4",
|
|
118
|
+
"@elliemae/ds-menu-button": "3.53.0-next.4",
|
|
119
|
+
"@elliemae/ds-menu-items-commons": "3.53.0-next.4",
|
|
120
|
+
"@elliemae/ds-menu-items-action": "3.53.0-next.4",
|
|
121
|
+
"@elliemae/ds-menu-items-multi": "3.53.0-next.4",
|
|
122
|
+
"@elliemae/ds-menu-items-section": "3.53.0-next.4",
|
|
123
|
+
"@elliemae/ds-menu-items-separator": "3.53.0-next.4",
|
|
124
|
+
"@elliemae/ds-menu-items-single-with-submenu": "3.53.0-next.4",
|
|
125
|
+
"@elliemae/ds-menu-items-single": "3.53.0-next.4",
|
|
126
|
+
"@elliemae/ds-menu-items-submenu": "3.53.0-next.4",
|
|
127
|
+
"@elliemae/ds-menu-items-skeleton": "3.53.0-next.4",
|
|
128
|
+
"@elliemae/ds-mini-toolbar": "3.53.0-next.4",
|
|
129
|
+
"@elliemae/ds-mobile": "3.53.0-next.4",
|
|
130
|
+
"@elliemae/ds-menu-tree-item": "3.53.0-next.4",
|
|
131
|
+
"@elliemae/ds-modal": "3.53.0-next.4",
|
|
132
|
+
"@elliemae/ds-modal-slide": "3.53.0-next.4",
|
|
133
|
+
"@elliemae/ds-notification-badge": "3.53.0-next.4",
|
|
134
|
+
"@elliemae/ds-overlay": "3.53.0-next.4",
|
|
135
|
+
"@elliemae/ds-page-header": "3.53.0-next.4",
|
|
136
|
+
"@elliemae/ds-number-range-field": "3.53.0-next.4",
|
|
137
|
+
"@elliemae/ds-page-header-v2": "3.53.0-next.4",
|
|
138
|
+
"@elliemae/ds-page-header-v1": "3.53.0-next.4",
|
|
139
|
+
"@elliemae/ds-page-layout": "3.53.0-next.4",
|
|
140
|
+
"@elliemae/ds-page-number": "3.53.0-next.4",
|
|
141
|
+
"@elliemae/ds-pagination": "3.53.0-next.4",
|
|
142
|
+
"@elliemae/ds-pills": "3.53.0-next.4",
|
|
143
|
+
"@elliemae/ds-pills-v2": "3.53.0-next.4",
|
|
144
|
+
"@elliemae/ds-popover": "3.53.0-next.4",
|
|
145
|
+
"@elliemae/ds-popper": "3.53.0-next.4",
|
|
146
|
+
"@elliemae/ds-popperjs": "3.53.0-next.4",
|
|
147
|
+
"@elliemae/ds-portal": "3.53.0-next.4",
|
|
148
|
+
"@elliemae/ds-props-helpers": "3.53.0-next.4",
|
|
149
|
+
"@elliemae/ds-progress-indicator": "3.53.0-next.4",
|
|
150
|
+
"@elliemae/ds-query-builder": "3.53.0-next.4",
|
|
151
|
+
"@elliemae/ds-read-more": "3.53.0-next.4",
|
|
152
|
+
"@elliemae/ds-resizeable-container": "3.53.0-next.4",
|
|
153
|
+
"@elliemae/ds-scrollable-container": "3.53.0-next.4",
|
|
154
|
+
"@elliemae/ds-ribbon": "3.53.0-next.4",
|
|
155
|
+
"@elliemae/ds-search-field": "3.53.0-next.4",
|
|
156
|
+
"@elliemae/ds-separator": "3.53.0-next.4",
|
|
157
|
+
"@elliemae/ds-shared": "3.53.0-next.4",
|
|
158
|
+
"@elliemae/ds-shuttle": "3.53.0-next.4",
|
|
159
|
+
"@elliemae/ds-side-panel": "3.53.0-next.4",
|
|
160
|
+
"@elliemae/ds-shuttle-v2": "3.53.0-next.4",
|
|
161
|
+
"@elliemae/ds-slider": "3.53.0-next.4",
|
|
162
|
+
"@elliemae/ds-side-panel-header": "3.53.0-next.4",
|
|
163
|
+
"@elliemae/ds-slider-v2": "3.53.0-next.4",
|
|
164
|
+
"@elliemae/ds-skeleton": "3.53.0-next.4",
|
|
165
|
+
"@elliemae/ds-spinner": "3.53.0-next.4",
|
|
166
|
+
"@elliemae/ds-square-indicator": "3.53.0-next.4",
|
|
167
|
+
"@elliemae/ds-stepper": "3.53.0-next.4",
|
|
168
|
+
"@elliemae/ds-svg": "3.53.0-next.4",
|
|
169
|
+
"@elliemae/ds-system": "3.53.0-next.4",
|
|
170
|
+
"@elliemae/ds-test-utils": "3.53.0-next.4",
|
|
171
|
+
"@elliemae/ds-text-wrapper": "3.53.0-next.4",
|
|
172
|
+
"@elliemae/ds-tabs": "3.53.0-next.4",
|
|
173
|
+
"@elliemae/ds-toast": "3.53.0-next.4",
|
|
174
|
+
"@elliemae/ds-time-picker": "3.53.0-next.4",
|
|
175
|
+
"@elliemae/ds-toolbar-v1": "3.53.0-next.4",
|
|
176
|
+
"@elliemae/ds-toolbar": "3.53.0-next.4",
|
|
177
|
+
"@elliemae/ds-tooltip-v3": "3.53.0-next.4",
|
|
178
|
+
"@elliemae/ds-toolbar-v2": "3.53.0-next.4",
|
|
179
|
+
"@elliemae/ds-transition": "3.53.0-next.4",
|
|
180
|
+
"@elliemae/ds-tree-model": "3.53.0-next.4",
|
|
181
|
+
"@elliemae/ds-treeview": "3.53.0-next.4",
|
|
182
|
+
"@elliemae/ds-truncated-expandable-text": "3.53.0-next.4",
|
|
183
|
+
"@elliemae/ds-truncated-tooltip-text": "3.53.0-next.4",
|
|
184
|
+
"@elliemae/ds-typescript-helpers": "3.53.0-next.4",
|
|
185
|
+
"@elliemae/ds-typography": "3.53.0-next.4",
|
|
186
|
+
"@elliemae/ds-uploader": "3.53.0-next.4",
|
|
187
|
+
"@elliemae/ds-virtual-list": "3.53.0-next.4",
|
|
188
|
+
"@elliemae/ds-wizard": "3.53.0-next.4",
|
|
189
|
+
"@elliemae/ds-wysiwygeditor": "3.53.0-next.4",
|
|
190
|
+
"@elliemae/ds-zipcode-search": "3.53.0-next.4",
|
|
191
|
+
"@elliemae/ds-zoom": "3.53.0-next.4",
|
|
192
|
+
"@elliemae/ds-zustand-helpers": "3.53.0-next.4"
|
|
192
193
|
}
|
|
193
194
|
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
// Unskip after 12653 is done and implemented
|
|
2
|
-
describe.skip('PUI-12328 - SliderV2 - Multiple -Func', () => {
|
|
3
|
-
before('loading page', async () => {
|
|
4
|
-
const errorOnGo = await DSSliderV2CO.multipleURL.go();
|
|
5
|
-
if (errorOnGo) throw errorOnGo;
|
|
6
|
-
});
|
|
7
|
-
it('01: should change value of both handlers (same track) with mouse', async () => {
|
|
8
|
-
const handler1 = await DSSliderV2CO.getSliderThumb(0);
|
|
9
|
-
const handler2 = await DSSliderV2CO.getSliderThumb(1);
|
|
10
|
-
const valueHandler1 = await DSSliderV2CO.getSliderValue(handler1);
|
|
11
|
-
const valueHandler2 = await DSSliderV2CO.getSliderValue(handler2);
|
|
12
|
-
await handler1.dragAndDrop({ x: 200, y: 0 });
|
|
13
|
-
await handler2.dragAndDrop({ x: -200, y: 0 });
|
|
14
|
-
const valueHandler1after = await DSSliderV2CO.getSliderValue(handler1);
|
|
15
|
-
const valueHandler2after = await DSSliderV2CO.getSliderValue(handler2);
|
|
16
|
-
await expect(valueHandler1).toEqual('0');
|
|
17
|
-
await expect(valueHandler2).toEqual('100');
|
|
18
|
-
await expect(valueHandler1after).toEqual('25');
|
|
19
|
-
await expect(valueHandler2after).toEqual('75');
|
|
20
|
-
});
|
|
21
|
-
it('01: should NOT be able to change the handlers order (with mouse)', async () => {
|
|
22
|
-
const handler1 = await DSSliderV2CO.getSliderThumb(0);
|
|
23
|
-
const handler2 = await DSSliderV2CO.getSliderThumb(1);
|
|
24
|
-
const valueHandler1 = await DSSliderV2CO.getSliderValue(handler1);
|
|
25
|
-
const valueHandler2 = await DSSliderV2CO.getSliderValue(handler2);
|
|
26
|
-
await handler2.dragAndDrop({ x: -550, y: 0 }); // tries to put second handler before first
|
|
27
|
-
const valueHandler1after = await DSSliderV2CO.getSliderValue(handler1);
|
|
28
|
-
const valueHandler2after = await DSSliderV2CO.getSliderValue(handler2);
|
|
29
|
-
await expect(valueHandler1).toEqual('25');
|
|
30
|
-
await expect(valueHandler2).toEqual('75');
|
|
31
|
-
await expect(valueHandler1after).toEqual('25');
|
|
32
|
-
await expect(valueHandler2after).toEqual('25');
|
|
33
|
-
});
|
|
34
|
-
it('03: should NOT be able to change the handlers order (with keyboard)', async () => {
|
|
35
|
-
const handler1 = await DSSliderV2CO.getSliderThumb(0);
|
|
36
|
-
const handler2 = await DSSliderV2CO.getSliderThumb(1);
|
|
37
|
-
await browser.keys(Key.ArrowLeft);
|
|
38
|
-
await browser.keys(Key.ArrowLeft); // tries to put second handler before first
|
|
39
|
-
await browser.keys([Key.Shift, Key.Tab]);
|
|
40
|
-
await browser.keys(Key.ArrowRight); // tries to put first handler before second
|
|
41
|
-
const valueHandler1 = await DSSliderV2CO.getSliderValue(handler1);
|
|
42
|
-
const valueHandler2 = await DSSliderV2CO.getSliderValue(handler2);
|
|
43
|
-
await expect(valueHandler1).toEqual('25');
|
|
44
|
-
await expect(valueHandler2).toEqual('25');
|
|
45
|
-
});
|
|
46
|
-
});
|