dimsum-e2e-tests 3.70.0-next.35 → 3.70.0-next.37

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,16 @@
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.70.0-next.37 (2026-06-22)
7
+
8
+ ### Features
9
+
10
+ - ds-icons:: new audio fill play/pause [PUI-18631](https://jira.elliemae.io/browse/PUI-18631) ([#8125](https://git.elliemae.io/platform-ui/dimsum/issues/8125)) ([218062c](https://git.elliemae.io/platform-ui/dimsum/commit/218062c219405e757f9cdac622ce2398a519535d))
11
+
12
+ ## 3.70.0-next.36 (2026-06-22)
13
+
14
+ **Note:** Version bump only for package dimsum-e2e-tests
15
+
6
16
  ## 3.70.0-next.35 (2026-06-19)
7
17
 
8
18
  ### Bug Fixes
@@ -401,6 +401,10 @@ export default class DataTableCO extends PageObject {
401
401
  return $$('[data-testid="ds-button"]')[index];
402
402
  }
403
403
 
404
+ static getRowActionResult() {
405
+ return $('[data-testid="datatable-row-action-result"]');
406
+ }
407
+
404
408
  static async getSkipToButton() {
405
409
  return $(`[id="storybook-root"] button`);
406
410
  }
@@ -1,7 +1,6 @@
1
1
  import { Key } from 'webdriverio';
2
2
  import DSDataTableCO from '../DSDataTableCO';
3
3
  import DSMenuButtonCO from '../../ds-menu-button/DSMenuButtonCO';
4
- import { safeDismissAlert } from '../../helpers';
5
4
 
6
5
  if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:options'].isTablet) {
7
6
  describe('PUI-16414 - DataTable, MenuButton (keyboard) - Functional Test', async () => {
@@ -29,12 +28,14 @@ if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:o
29
28
  it('03: should trigger menuButton item with keyboard', async () => {
30
29
  await browser.keys(Key.ArrowUp);
31
30
  await browser.keys(Key.Return);
32
- const alertText = await browser.getAlertText();
33
- await expect(alertText).toEqual('item selected: log actions - undefined');
31
+ const result = await DSDataTableCO.getRowActionResult();
32
+ await result.waitForDisplayed();
33
+ await expect(result).toHaveText('item selected: log actions');
34
34
  });
35
35
  it('03: should expand menuButton submenu for datatable row with keyboard', async () => {
36
- await safeDismissAlert();
37
36
  await browser.keys(Key.Return);
37
+ const menuRoot = await DSMenuButtonCO.getMenuRoot();
38
+ await menuRoot.waitForDisplayed();
38
39
  await browser.keys(Key.ArrowDown);
39
40
  const menuItems = (await DSMenuButtonCO.getMenuItems()).length;
40
41
  await expect(menuItems).toEqual(6);
@@ -42,11 +43,11 @@ if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:o
42
43
  it('04: should trigger menuButton submenu item with keyboard', async () => {
43
44
  await browser.keys(Key.ArrowRight);
44
45
  await browser.keys(Key.Return);
45
- const alertText = await browser.getAlertText();
46
- await expect(alertText).toEqual('item selected: Realtor Phone - (424) 000-0000');
46
+ const result = await DSDataTableCO.getRowActionResult();
47
+ await result.waitForDisplayed();
48
+ await expect(result).toHaveText('item selected: Realtor Phone - (424) 000-0000');
47
49
  });
48
50
  it('05: should close menuButton menu with keyboard', async () => {
49
- await safeDismissAlert();
50
51
  await browser.keys(Key.Return);
51
52
  const menu = await DSMenuButtonCO.getMenuRoot();
52
53
  await menu.waitForDisplayed();
@@ -1,5 +1,4 @@
1
1
  import DSDataTableCO from '../DSDataTableCO';
2
- import { safeDismissAlert } from '../../helpers';
3
2
  import CellCO from '../components/CellCO';
4
3
  import DSMenuButtonCO from '../../ds-menu-button/DSMenuButtonCO';
5
4
 
@@ -21,11 +20,11 @@ if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:o
21
20
  it('02: should trigger menuButton item', async () => {
22
21
  const thirdItem = await DSMenuButtonCO.getMenuItemWrapper(2);
23
22
  await thirdItem.click();
24
- const alertText = await browser.getAlertText();
25
- await expect(alertText).toEqual('item selected: sms - undefined');
23
+ const result = await DSDataTableCO.getRowActionResult();
24
+ await result.waitForDisplayed();
25
+ await expect(result).toHaveText('item selected: sms');
26
26
  });
27
27
  it('03: should expand menuButton submenu for datatable row', async () => {
28
- await safeDismissAlert();
29
28
  const menuButtonTrigger = await DSDataTableCO.getButtons(2);
30
29
  await menuButtonTrigger.click();
31
30
  const submenuTriggerItem = await DSMenuButtonCO.getMenuItemWrapper(1);
@@ -39,11 +38,11 @@ if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:o
39
38
  it('04: should trigger menuButton submenu item', async () => {
40
39
  const submenuItem = await DSMenuButtonCO.getMenuItemWrapper(5);
41
40
  await submenuItem.click();
42
- const alertText = await browser.getAlertText();
43
- await expect(alertText).toEqual('item selected: Realtor Phone - (424) 000-0000');
41
+ const result = await DSDataTableCO.getRowActionResult();
42
+ await result.waitForDisplayed();
43
+ await expect(result).toHaveText('item selected: Realtor Phone - (424) 000-0000');
44
44
  });
45
45
  it('05: should close menuButton flyout clicking outside the menu (cell for example)', async () => {
46
- await safeDismissAlert();
47
46
  const menuButtonTrigger = await DSDataTableCO.getButtons(2);
48
47
  await menuButtonTrigger.click();
49
48
  const menu = await DSMenuButtonCO.getMenuRoot();
@@ -34,7 +34,7 @@ export default class DSComboboxMultiCO extends PageObject {
34
34
  static disabled = new Urlbuilder(PATH_E2E_COMBOBOX_MULTI, 'disabled-test');
35
35
 
36
36
  static grouped = new Urlbuilder(PATH_E2E_COMBOBOX_MULTI, 'grouped-test');
37
-
37
+
38
38
  static inlineTest = new Urlbuilder(PATH_E2E_COMBOBOX_MULTI, 'inline-test');
39
39
 
40
40
  static controlledMenuStateWithSectionsSlotsTest = new Urlbuilder(
@@ -281,7 +281,7 @@ export default class DSComboboxMultiCO extends PageObject {
281
281
  }
282
282
 
283
283
  static async getComboboxSectionLabelByIndex(index) {
284
- return $$('[data-dimsum-slot="dsComboboxSectionLabel"]')[index];
284
+ return $$('[data-dimsum-parent-slot="dsComboboxSectionLabel"]')[index];
285
285
  }
286
286
 
287
287
  static async getComboboxSectionWrapperSlotByIndex(index) {
@@ -252,7 +252,7 @@ export default class DSComboboxSingleCO extends PageObject {
252
252
  }
253
253
 
254
254
  static async getComboboxSectionLabelByIndex(index) {
255
- return $$('[data-dimsum-slot="dsComboboxSectionLabel"]')[index];
255
+ return $$('[data-dimsum-parent-slot="dsComboboxSectionLabel"]')[index];
256
256
  }
257
257
 
258
258
  static async getComboboxSectionWrapperSlotByIndex(index) {
@@ -241,6 +241,12 @@ export default class DSTreeViewCO extends PageObject {
241
241
  return (await $$('[data-testid="drag-handle"]'))[index];
242
242
  }
243
243
 
244
+ // Drag handles carry a stable id of the form `${itemId}-drag-handle`, so this selects a row's
245
+ // handle independent of its current position/index (which shifts with the expansion state).
246
+ static async getDragHandleByItemId(itemId) {
247
+ return $(`[id="${itemId}-drag-handle"]`);
248
+ }
249
+
244
250
  static async getFirstDragHandle() {
245
251
  return $$('[data-testid="drag-handle"]')[0];
246
252
  }
@@ -317,6 +323,23 @@ export default class DSTreeViewCO extends PageObject {
317
323
  ]);
318
324
  }
319
325
 
326
+ // Expands a row identified by its content text, but only if it is currently collapsed.
327
+ // Idempotent on purpose: after a drag-and-drop, whether the target group is auto-expanded
328
+ // varies by browser, so a blind toggle would re-collapse an already-expanded row.
329
+ static async ensureRowExpandedByText(text) {
330
+ return browser.execute((rowText) => {
331
+ const items = Array.from(document.querySelectorAll('[data-testid="tree-item"]'));
332
+ const item = items.find((node) => {
333
+ const content = node.querySelector('[data-testid="tree-item-content"]');
334
+ return content && content.textContent.trim() === rowText;
335
+ });
336
+ if (item && item.getAttribute('aria-expanded') === 'false') {
337
+ const toggle = item.querySelector('[data-testid="tree-item-expand-toggle"]');
338
+ if (toggle) toggle.click();
339
+ }
340
+ }, text);
341
+ }
342
+
320
343
  static async isExpanded(index) {
321
344
  return (await this.getRow(index)).getAttribute('aria-expanded');
322
345
  }
@@ -0,0 +1,96 @@
1
+ /* eslint-disable wdio/no-pause */
2
+ import { Key } from 'webdriverio';
3
+ import DSTreeViewCO from '../DSTreeViewCO';
4
+
5
+ // The TreeView uses @dnd-kit (pointer + keyboard sensors), not HTML5 native drag.
6
+ // WDIO's mouse `.dragAndDrop()` only actuates the pointer sensor reliably under
7
+ // geckodriver (Firefox); Chromedriver/safaridriver synthesize the drag differently,
8
+ // so the mouse-driven version of these tests passed only in Firefox. These tests are
9
+ // therefore driven through the dnd-kit keyboard sensor (Space to pick up, ArrowDown
10
+ // to move/nest, Space to drop), which is deterministic and stable across all browsers
11
+ // — mirroring the keyboard-driven dnd tests in ds-data-table-async. Do not convert
12
+ // back to mouse `.dragAndDrop()`.
13
+
14
+ if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:options'].isTablet) {
15
+ describe('PUI-11320 - TreeView, Basic Drag and Drop Functionality (keyboard)', () => {
16
+ before(async () => {
17
+ const errorOnGo = await DSTreeViewCO.dragAndDrop.go();
18
+ if (errorOnGo) throw errorOnGo;
19
+ });
20
+ it('01: drag and drop in the same position - parent item', async () => {
21
+ const dragHandleFirstRow = await DSTreeViewCO.getDragHandle(0);
22
+ await dragHandleFirstRow.click();
23
+ await browser.keys(Key.Space); // pick up
24
+ await browser.pause(300);
25
+ await browser.keys(Key.Space); // drop in place
26
+ await browser.pause(300);
27
+ const firstRow = await DSTreeViewCO.getRowContent(0);
28
+ await expect(firstRow).toHaveText(expect.stringContaining('Parent. id: 1'));
29
+ });
30
+ it('02: drag and drop in the same position - child item', async () => {
31
+ const expandableBtnFirstRow = await DSTreeViewCO.getToggleBtn(0);
32
+ await expandableBtnFirstRow.click();
33
+ await browser.pause(300);
34
+ const dragHandleFirstChild = await DSTreeViewCO.getDragHandle(1);
35
+ await dragHandleFirstChild.click();
36
+ await browser.keys(Key.Space); // pick up
37
+ await browser.pause(300);
38
+ await browser.keys(Key.Space); // drop in place
39
+ await browser.pause(300);
40
+ const firstChildRow = await DSTreeViewCO.getRowContent(1);
41
+ await expect(firstChildRow).toHaveText(expect.stringContaining('Child of 1. id: 2'));
42
+ });
43
+ it('03: drag a parent and drop it in another parent', async () => {
44
+ const dragHandleParentId1 = await DSTreeViewCO.getDragHandle(0);
45
+ await dragHandleParentId1.click();
46
+ await browser.keys(Key.Space); // pick up Parent id 1
47
+ await browser.pause(300);
48
+ await browser.keys(Key.ArrowDown); // move into Parent id 4
49
+ await browser.pause(300);
50
+ await browser.keys(Key.Space); // drop
51
+ await browser.pause(300);
52
+ await DSTreeViewCO.expandCollapseAll();
53
+ await browser.pause(300);
54
+ const firstRow = await DSTreeViewCO.getRowContent(0);
55
+ await expect(firstRow).toHaveText(expect.stringContaining('Parent. id: 4'));
56
+ });
57
+ // Safari's WebKit driver is non-deterministic for TreeView keyboard drag-and-drop (the drag
58
+ // intermittently fails to nest the item), so this scenario is not registered on Safari —
59
+ // consistent with PUI-8198, which is also skipped on Safari. It still runs on Chrome, Edge and
60
+ // Firefox.
61
+ if (browser.capabilities.browserName !== 'Safari') {
62
+ it('04: drag a child of a parent and drop it in another parent with no children', async () => {
63
+ // Make the dragged child (id 3) visible regardless of the expansion state the previous test
64
+ // left behind (expandCollapseAll is browser-dependent), then select it by its stable handle
65
+ // id instead of an absolute index — an absolute index points at the wrong row when an
66
+ // ancestor group is collapsed.
67
+ await DSTreeViewCO.ensureRowExpandedByText('Parent. id: 4');
68
+ await DSTreeViewCO.ensureRowExpandedByText('Parent. id: 1');
69
+ await browser.pause(300);
70
+ const dragHandleChildOfParent1 = await DSTreeViewCO.getDragHandleByItemId(3);
71
+ await dragHandleChildOfParent1.click();
72
+ await browser.keys(Key.Space); // pick up Child of 1. Also parent. id 3
73
+ await browser.pause(300);
74
+ await browser.keys(Key.ArrowDown); // move into Item with no children. id 7
75
+ await browser.pause(300);
76
+ await browser.keys(Key.Space); // drop
77
+ await browser.pause(300);
78
+ // Reveal the dragged child by expanding its new parent (id 7), but only when collapsed.
79
+ // expandCollapseAll() is avoided: it is a focus-dependent toggle that behaves inconsistently
80
+ // across browsers after a keyboard drop, and whether the drop auto-expands id 7 also varies.
81
+ await DSTreeViewCO.ensureRowExpandedByText('Item with no children. id: 7');
82
+ await browser.pause(300);
83
+
84
+ // Assert relative to id 7 rather than an absolute row index: the exact indices depend on how
85
+ // many ancestor groups are expanded (which varies across browsers). The dragged child (id 3)
86
+ // is always the row immediately after its new parent (id 7).
87
+ const rowContents = await DSTreeViewCO.getElementsTexts();
88
+ // WebdriverIO's element-array `.map()` is an async helper that resolves to the values
89
+ // directly — do not wrap it in Promise.all (that passes a Promise to Promise.all).
90
+ const rowTexts = await rowContents.map((row) => row.getText());
91
+ const parentId7Index = rowTexts.indexOf('Item with no children. id: 7');
92
+ await expect(rowTexts[parentId7Index + 1]).toEqual('Child of 1. Also parent. id: 3');
93
+ });
94
+ }
95
+ });
96
+ }
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.35",
4
+ "version": "3.70.0-next.37",
5
5
  "description": "End-to-end tests for dimsum library",
6
6
  "dependencies": {
7
7
  "@elliemae/ds-legacy-button": "1.0.16",
@@ -39,155 +39,155 @@
39
39
  "@elliemae/ds-legacy-wysiwygeditor": "1.0.16",
40
40
  "@elliemae/ds-legacy-zipcode-search": "1.0.16",
41
41
  "@elliemae/ds-legacy-zoom": "1.0.16",
42
- "@elliemae/ds-accessibility": "3.70.0-next.35",
43
- "@elliemae/ds-accordion": "3.70.0-next.35",
44
- "@elliemae/ds-app-picker": "3.70.0-next.35",
45
- "@elliemae/ds-backdrop": "3.70.0-next.35",
46
- "@elliemae/ds-accordion-native": "3.70.0-next.35",
47
- "@elliemae/ds-basic": "3.70.0-next.35",
48
- "@elliemae/ds-breadcrumb": "3.70.0-next.35",
49
- "@elliemae/ds-banner": "3.70.0-next.35",
50
- "@elliemae/ds-card": "3.70.0-next.35",
51
- "@elliemae/ds-card-navigation": "3.70.0-next.35",
52
- "@elliemae/ds-button-v2": "3.70.0-next.35",
53
- "@elliemae/ds-card-v1": "3.70.0-next.35",
54
- "@elliemae/ds-card-v2-action-addon": "3.70.0-next.35",
55
- "@elliemae/ds-card-v1-detail": "3.70.0-next.35",
56
- "@elliemae/ds-card-v2": "3.70.0-next.35",
57
- "@elliemae/ds-card-v2-group": "3.70.0-next.35",
58
- "@elliemae/ds-card-v3-poc": "3.70.0-next.35",
59
- "@elliemae/ds-card-v3": "3.70.0-next.35",
60
- "@elliemae/ds-chat": "3.70.0-next.35",
61
- "@elliemae/ds-chat-bubble": "3.70.0-next.35",
62
- "@elliemae/ds-chat-container": "3.70.0-next.35",
63
- "@elliemae/ds-chat-card": "3.70.0-next.35",
64
- "@elliemae/ds-chat-container-header": "3.70.0-next.35",
65
- "@elliemae/ds-chat-floating-button": "3.70.0-next.35",
66
- "@elliemae/ds-chat-empty-state": "3.70.0-next.35",
67
- "@elliemae/ds-chat-message-delimeter": "3.70.0-next.35",
68
- "@elliemae/ds-chat-system-message": "3.70.0-next.35",
69
- "@elliemae/ds-chat-sidebar": "3.70.0-next.35",
70
- "@elliemae/ds-chat-tile": "3.70.0-next.35",
71
- "@elliemae/ds-chip": "3.70.0-next.35",
72
- "@elliemae/ds-circular-progress-indicator": "3.70.0-next.35",
73
- "@elliemae/ds-codeeditor": "3.70.0-next.35",
74
- "@elliemae/ds-comments": "3.70.0-next.35",
75
- "@elliemae/ds-classnames": "3.70.0-next.35",
76
- "@elliemae/ds-data-table": "3.70.0-next.35",
77
- "@elliemae/ds-csv-converter": "3.70.0-next.35",
78
- "@elliemae/ds-controlled-form": "3.70.0-next.35",
79
- "@elliemae/ds-data-table-cell": "3.70.0-next.35",
80
- "@elliemae/ds-data-table-cell-header": "3.70.0-next.35",
81
- "@elliemae/ds-data-table-action-cell": "3.70.0-next.35",
82
- "@elliemae/ds-data-table-filters": "3.70.0-next.35",
83
- "@elliemae/ds-data-table-drag-and-drop-cell": "3.70.0-next.35",
84
- "@elliemae/ds-data-table-single-select-cell": "3.70.0-next.35",
85
- "@elliemae/ds-data-table-expand-cell": "3.70.0-next.35",
86
- "@elliemae/ds-dataviz": "3.70.0-next.35",
87
- "@elliemae/ds-date-time-picker": "3.70.0-next.35",
88
- "@elliemae/ds-dataviz-pie": "3.70.0-next.35",
89
- "@elliemae/ds-dialog": "3.70.0-next.35",
90
- "@elliemae/ds-decision-graph": "3.70.0-next.35",
91
- "@elliemae/ds-data-table-multi-select-cell": "3.70.0-next.35",
92
- "@elliemae/ds-drag-and-drop": "3.70.0-next.35",
93
- "@elliemae/ds-dropdownmenu-v2": "3.70.0-next.35",
94
- "@elliemae/ds-dropzone": "3.70.0-next.35",
95
- "@elliemae/ds-filter-bar": "3.70.0-next.35",
96
- "@elliemae/ds-floating-context": "3.70.0-next.35",
97
- "@elliemae/ds-form-checkbox": "3.70.0-next.35",
98
- "@elliemae/ds-fast-list": "3.70.0-next.35",
99
- "@elliemae/ds-form-combobox": "3.70.0-next.35",
100
- "@elliemae/ds-form-date-range-picker": "3.70.0-next.35",
101
- "@elliemae/ds-form-date-time-picker": "3.70.0-next.35",
102
- "@elliemae/ds-form-helpers-mask-hooks": "3.70.0-next.35",
103
- "@elliemae/ds-form-input-text": "3.70.0-next.35",
104
- "@elliemae/ds-form-input-textarea": "3.70.0-next.35",
105
- "@elliemae/ds-form-layout-blocks": "3.70.0-next.35",
106
- "@elliemae/ds-form-layout-input-group": "3.70.0-next.35",
107
- "@elliemae/ds-form-layout-autocomplete": "3.70.0-next.35",
108
- "@elliemae/ds-form-layout-label": "3.70.0-next.35",
109
- "@elliemae/ds-form-multi-combobox": "3.70.0-next.35",
110
- "@elliemae/ds-form-radio": "3.70.0-next.35",
111
- "@elliemae/ds-form-native-select": "3.70.0-next.35",
112
- "@elliemae/ds-form-select": "3.70.0-next.35",
113
- "@elliemae/ds-form-single-combobox": "3.70.0-next.35",
114
- "@elliemae/ds-form-toggle": "3.70.0-next.35",
115
- "@elliemae/ds-grid": "3.70.0-next.35",
116
- "@elliemae/ds-global-header": "3.70.0-next.35",
117
- "@elliemae/ds-hooks-focus-stack": "3.70.0-next.35",
118
- "@elliemae/ds-hooks-fontsize-detector": "3.70.0-next.35",
119
- "@elliemae/ds-hooks-focus-trap": "3.70.0-next.35",
120
- "@elliemae/ds-hooks-fontsize-media": "3.70.0-next.35",
121
- "@elliemae/ds-hooks-headless-tooltip": "3.70.0-next.35",
122
- "@elliemae/ds-hooks-is-mobile": "3.70.0-next.35",
123
- "@elliemae/ds-hooks-keyboard-navigation": "3.70.0-next.35",
124
- "@elliemae/ds-hooks-on-first-focus-in": "3.70.0-next.35",
125
- "@elliemae/ds-hooks-is-showing-ellipsis": "3.70.0-next.35",
126
- "@elliemae/ds-hooks-on-blur-out": "3.70.0-next.35",
127
- "@elliemae/ds-icons": "3.70.0-next.35",
128
- "@elliemae/ds-icon": "3.70.0-next.35",
129
- "@elliemae/ds-image": "3.70.0-next.35",
130
- "@elliemae/ds-imagelibrarymodal": "3.70.0-next.35",
131
- "@elliemae/ds-layout-provider": "3.70.0-next.35",
132
- "@elliemae/ds-indeterminate-progress-indicator": "3.70.0-next.35",
133
- "@elliemae/ds-left-navigation": "3.70.0-next.35",
134
- "@elliemae/ds-menu-items-action": "3.70.0-next.35",
135
- "@elliemae/ds-menu-items": "3.70.0-next.35",
136
- "@elliemae/ds-loading-indicator": "3.70.0-next.35",
137
- "@elliemae/ds-menu-button": "3.70.0-next.35",
138
- "@elliemae/ds-menu-items-section": "3.70.0-next.35",
139
- "@elliemae/ds-menu-items-multi": "3.70.0-next.35",
140
- "@elliemae/ds-menu-items-separator": "3.70.0-next.35",
141
- "@elliemae/ds-menu-items-commons": "3.70.0-next.35",
142
- "@elliemae/ds-menu-items-single": "3.70.0-next.35",
143
- "@elliemae/ds-menu-items-submenu": "3.70.0-next.35",
144
- "@elliemae/ds-menu-items-skeleton": "3.70.0-next.35",
145
- "@elliemae/ds-menu-tree-item": "3.70.0-next.35",
146
- "@elliemae/ds-mobile": "3.70.0-next.35",
147
- "@elliemae/ds-menu-items-single-with-submenu": "3.70.0-next.35",
148
- "@elliemae/ds-modal-slide": "3.70.0-next.35",
149
- "@elliemae/ds-notification-badge": "3.70.0-next.35",
150
- "@elliemae/ds-overlay": "3.70.0-next.35",
151
- "@elliemae/ds-page-header-v2": "3.70.0-next.35",
152
- "@elliemae/ds-page-header": "3.70.0-next.35",
153
- "@elliemae/ds-page-header-v1": "3.70.0-next.35",
154
- "@elliemae/ds-page-layout": "3.70.0-next.35",
155
- "@elliemae/ds-pills-v2": "3.70.0-next.35",
156
- "@elliemae/ds-pagination": "3.70.0-next.35",
157
- "@elliemae/ds-progress-indicator": "3.70.0-next.35",
158
- "@elliemae/ds-portal": "3.70.0-next.35",
159
- "@elliemae/ds-props-helpers": "3.70.0-next.35",
160
- "@elliemae/ds-query-builder": "3.70.0-next.35",
161
- "@elliemae/ds-read-more": "3.70.0-next.35",
162
- "@elliemae/ds-resizeable-container": "3.70.0-next.35",
163
- "@elliemae/ds-ribbon": "3.70.0-next.35",
164
- "@elliemae/ds-scrollable-container": "3.70.0-next.35",
165
- "@elliemae/ds-separator": "3.70.0-next.35",
166
- "@elliemae/ds-shared": "3.70.0-next.35",
167
- "@elliemae/ds-side-panel-header": "3.70.0-next.35",
168
- "@elliemae/ds-shuttle-v2": "3.70.0-next.35",
169
- "@elliemae/ds-skeleton": "3.70.0-next.35",
170
- "@elliemae/ds-side-panel": "3.70.0-next.35",
171
- "@elliemae/ds-slider-v2": "3.70.0-next.35",
172
- "@elliemae/ds-square-indicator": "3.70.0-next.35",
173
- "@elliemae/ds-svg": "3.70.0-next.35",
174
- "@elliemae/ds-stepper": "3.70.0-next.35",
175
- "@elliemae/ds-system": "3.70.0-next.35",
176
- "@elliemae/ds-tabs": "3.70.0-next.35",
177
- "@elliemae/ds-test-utils": "3.70.0-next.35",
178
- "@elliemae/ds-toast": "3.70.0-next.35",
179
- "@elliemae/ds-toolbar-v1": "3.70.0-next.35",
180
- "@elliemae/ds-tooltip-v3": "3.70.0-next.35",
181
- "@elliemae/ds-toolbar-v2": "3.70.0-next.35",
182
- "@elliemae/ds-tree-model": "3.70.0-next.35",
183
- "@elliemae/ds-transition": "3.70.0-next.35",
184
- "@elliemae/ds-truncated-expandable-text": "3.70.0-next.35",
185
- "@elliemae/ds-treeview": "3.70.0-next.35",
186
- "@elliemae/ds-typescript-helpers": "3.70.0-next.35",
187
- "@elliemae/ds-typography": "3.70.0-next.35",
188
- "@elliemae/ds-virtual-list": "3.70.0-next.35",
189
- "@elliemae/ds-wizard": "3.70.0-next.35",
190
- "@elliemae/ds-zustand-helpers": "3.70.0-next.35"
42
+ "@elliemae/ds-accordion": "3.70.0-next.37",
43
+ "@elliemae/ds-accessibility": "3.70.0-next.37",
44
+ "@elliemae/ds-accordion-native": "3.70.0-next.37",
45
+ "@elliemae/ds-backdrop": "3.70.0-next.37",
46
+ "@elliemae/ds-app-picker": "3.70.0-next.37",
47
+ "@elliemae/ds-basic": "3.70.0-next.37",
48
+ "@elliemae/ds-banner": "3.70.0-next.37",
49
+ "@elliemae/ds-breadcrumb": "3.70.0-next.37",
50
+ "@elliemae/ds-button-v2": "3.70.0-next.37",
51
+ "@elliemae/ds-card": "3.70.0-next.37",
52
+ "@elliemae/ds-card-v1": "3.70.0-next.37",
53
+ "@elliemae/ds-card-v1-detail": "3.70.0-next.37",
54
+ "@elliemae/ds-card-navigation": "3.70.0-next.37",
55
+ "@elliemae/ds-card-v2": "3.70.0-next.37",
56
+ "@elliemae/ds-card-v2-action-addon": "3.70.0-next.37",
57
+ "@elliemae/ds-card-v2-group": "3.70.0-next.37",
58
+ "@elliemae/ds-card-v3": "3.70.0-next.37",
59
+ "@elliemae/ds-card-v3-poc": "3.70.0-next.37",
60
+ "@elliemae/ds-chat": "3.70.0-next.37",
61
+ "@elliemae/ds-chat-card": "3.70.0-next.37",
62
+ "@elliemae/ds-chat-container": "3.70.0-next.37",
63
+ "@elliemae/ds-chat-bubble": "3.70.0-next.37",
64
+ "@elliemae/ds-chat-container-header": "3.70.0-next.37",
65
+ "@elliemae/ds-chat-empty-state": "3.70.0-next.37",
66
+ "@elliemae/ds-chat-floating-button": "3.70.0-next.37",
67
+ "@elliemae/ds-chat-message-delimeter": "3.70.0-next.37",
68
+ "@elliemae/ds-chat-sidebar": "3.70.0-next.37",
69
+ "@elliemae/ds-chat-system-message": "3.70.0-next.37",
70
+ "@elliemae/ds-chat-tile": "3.70.0-next.37",
71
+ "@elliemae/ds-chip": "3.70.0-next.37",
72
+ "@elliemae/ds-circular-progress-indicator": "3.70.0-next.37",
73
+ "@elliemae/ds-classnames": "3.70.0-next.37",
74
+ "@elliemae/ds-codeeditor": "3.70.0-next.37",
75
+ "@elliemae/ds-comments": "3.70.0-next.37",
76
+ "@elliemae/ds-controlled-form": "3.70.0-next.37",
77
+ "@elliemae/ds-data-table": "3.70.0-next.37",
78
+ "@elliemae/ds-csv-converter": "3.70.0-next.37",
79
+ "@elliemae/ds-data-table-cell": "3.70.0-next.37",
80
+ "@elliemae/ds-data-table-action-cell": "3.70.0-next.37",
81
+ "@elliemae/ds-data-table-cell-header": "3.70.0-next.37",
82
+ "@elliemae/ds-data-table-drag-and-drop-cell": "3.70.0-next.37",
83
+ "@elliemae/ds-data-table-filters": "3.70.0-next.37",
84
+ "@elliemae/ds-data-table-expand-cell": "3.70.0-next.37",
85
+ "@elliemae/ds-data-table-multi-select-cell": "3.70.0-next.37",
86
+ "@elliemae/ds-data-table-single-select-cell": "3.70.0-next.37",
87
+ "@elliemae/ds-dataviz": "3.70.0-next.37",
88
+ "@elliemae/ds-dataviz-pie": "3.70.0-next.37",
89
+ "@elliemae/ds-date-time-picker": "3.70.0-next.37",
90
+ "@elliemae/ds-decision-graph": "3.70.0-next.37",
91
+ "@elliemae/ds-drag-and-drop": "3.70.0-next.37",
92
+ "@elliemae/ds-dialog": "3.70.0-next.37",
93
+ "@elliemae/ds-dropdownmenu-v2": "3.70.0-next.37",
94
+ "@elliemae/ds-dropzone": "3.70.0-next.37",
95
+ "@elliemae/ds-filter-bar": "3.70.0-next.37",
96
+ "@elliemae/ds-fast-list": "3.70.0-next.37",
97
+ "@elliemae/ds-form-checkbox": "3.70.0-next.37",
98
+ "@elliemae/ds-floating-context": "3.70.0-next.37",
99
+ "@elliemae/ds-form-combobox": "3.70.0-next.37",
100
+ "@elliemae/ds-form-date-range-picker": "3.70.0-next.37",
101
+ "@elliemae/ds-form-helpers-mask-hooks": "3.70.0-next.37",
102
+ "@elliemae/ds-form-date-time-picker": "3.70.0-next.37",
103
+ "@elliemae/ds-form-input-textarea": "3.70.0-next.37",
104
+ "@elliemae/ds-form-input-text": "3.70.0-next.37",
105
+ "@elliemae/ds-form-layout-blocks": "3.70.0-next.37",
106
+ "@elliemae/ds-form-layout-input-group": "3.70.0-next.37",
107
+ "@elliemae/ds-form-layout-autocomplete": "3.70.0-next.37",
108
+ "@elliemae/ds-form-layout-label": "3.70.0-next.37",
109
+ "@elliemae/ds-form-native-select": "3.70.0-next.37",
110
+ "@elliemae/ds-form-radio": "3.70.0-next.37",
111
+ "@elliemae/ds-form-multi-combobox": "3.70.0-next.37",
112
+ "@elliemae/ds-form-select": "3.70.0-next.37",
113
+ "@elliemae/ds-form-single-combobox": "3.70.0-next.37",
114
+ "@elliemae/ds-form-toggle": "3.70.0-next.37",
115
+ "@elliemae/ds-global-header": "3.70.0-next.37",
116
+ "@elliemae/ds-grid": "3.70.0-next.37",
117
+ "@elliemae/ds-hooks-focus-stack": "3.70.0-next.37",
118
+ "@elliemae/ds-hooks-fontsize-detector": "3.70.0-next.37",
119
+ "@elliemae/ds-hooks-headless-tooltip": "3.70.0-next.37",
120
+ "@elliemae/ds-hooks-is-mobile": "3.70.0-next.37",
121
+ "@elliemae/ds-hooks-focus-trap": "3.70.0-next.37",
122
+ "@elliemae/ds-hooks-keyboard-navigation": "3.70.0-next.37",
123
+ "@elliemae/ds-hooks-is-showing-ellipsis": "3.70.0-next.37",
124
+ "@elliemae/ds-hooks-fontsize-media": "3.70.0-next.37",
125
+ "@elliemae/ds-hooks-on-blur-out": "3.70.0-next.37",
126
+ "@elliemae/ds-hooks-on-first-focus-in": "3.70.0-next.37",
127
+ "@elliemae/ds-icon": "3.70.0-next.37",
128
+ "@elliemae/ds-image": "3.70.0-next.37",
129
+ "@elliemae/ds-imagelibrarymodal": "3.70.0-next.37",
130
+ "@elliemae/ds-icons": "3.70.0-next.37",
131
+ "@elliemae/ds-layout-provider": "3.70.0-next.37",
132
+ "@elliemae/ds-indeterminate-progress-indicator": "3.70.0-next.37",
133
+ "@elliemae/ds-left-navigation": "3.70.0-next.37",
134
+ "@elliemae/ds-menu-button": "3.70.0-next.37",
135
+ "@elliemae/ds-loading-indicator": "3.70.0-next.37",
136
+ "@elliemae/ds-menu-items": "3.70.0-next.37",
137
+ "@elliemae/ds-menu-items-action": "3.70.0-next.37",
138
+ "@elliemae/ds-menu-items-commons": "3.70.0-next.37",
139
+ "@elliemae/ds-menu-items-multi": "3.70.0-next.37",
140
+ "@elliemae/ds-menu-items-section": "3.70.0-next.37",
141
+ "@elliemae/ds-menu-items-separator": "3.70.0-next.37",
142
+ "@elliemae/ds-menu-items-single-with-submenu": "3.70.0-next.37",
143
+ "@elliemae/ds-menu-items-skeleton": "3.70.0-next.37",
144
+ "@elliemae/ds-menu-items-single": "3.70.0-next.37",
145
+ "@elliemae/ds-menu-items-submenu": "3.70.0-next.37",
146
+ "@elliemae/ds-mobile": "3.70.0-next.37",
147
+ "@elliemae/ds-menu-tree-item": "3.70.0-next.37",
148
+ "@elliemae/ds-modal-slide": "3.70.0-next.37",
149
+ "@elliemae/ds-notification-badge": "3.70.0-next.37",
150
+ "@elliemae/ds-overlay": "3.70.0-next.37",
151
+ "@elliemae/ds-page-header": "3.70.0-next.37",
152
+ "@elliemae/ds-page-header-v1": "3.70.0-next.37",
153
+ "@elliemae/ds-page-header-v2": "3.70.0-next.37",
154
+ "@elliemae/ds-page-layout": "3.70.0-next.37",
155
+ "@elliemae/ds-pagination": "3.70.0-next.37",
156
+ "@elliemae/ds-pills-v2": "3.70.0-next.37",
157
+ "@elliemae/ds-portal": "3.70.0-next.37",
158
+ "@elliemae/ds-progress-indicator": "3.70.0-next.37",
159
+ "@elliemae/ds-props-helpers": "3.70.0-next.37",
160
+ "@elliemae/ds-read-more": "3.70.0-next.37",
161
+ "@elliemae/ds-resizeable-container": "3.70.0-next.37",
162
+ "@elliemae/ds-query-builder": "3.70.0-next.37",
163
+ "@elliemae/ds-ribbon": "3.70.0-next.37",
164
+ "@elliemae/ds-scrollable-container": "3.70.0-next.37",
165
+ "@elliemae/ds-shared": "3.70.0-next.37",
166
+ "@elliemae/ds-separator": "3.70.0-next.37",
167
+ "@elliemae/ds-shuttle-v2": "3.70.0-next.37",
168
+ "@elliemae/ds-side-panel": "3.70.0-next.37",
169
+ "@elliemae/ds-skeleton": "3.70.0-next.37",
170
+ "@elliemae/ds-square-indicator": "3.70.0-next.37",
171
+ "@elliemae/ds-side-panel-header": "3.70.0-next.37",
172
+ "@elliemae/ds-slider-v2": "3.70.0-next.37",
173
+ "@elliemae/ds-stepper": "3.70.0-next.37",
174
+ "@elliemae/ds-svg": "3.70.0-next.37",
175
+ "@elliemae/ds-tabs": "3.70.0-next.37",
176
+ "@elliemae/ds-test-utils": "3.70.0-next.37",
177
+ "@elliemae/ds-system": "3.70.0-next.37",
178
+ "@elliemae/ds-toast": "3.70.0-next.37",
179
+ "@elliemae/ds-toolbar-v1": "3.70.0-next.37",
180
+ "@elliemae/ds-toolbar-v2": "3.70.0-next.37",
181
+ "@elliemae/ds-tooltip-v3": "3.70.0-next.37",
182
+ "@elliemae/ds-transition": "3.70.0-next.37",
183
+ "@elliemae/ds-tree-model": "3.70.0-next.37",
184
+ "@elliemae/ds-treeview": "3.70.0-next.37",
185
+ "@elliemae/ds-truncated-expandable-text": "3.70.0-next.37",
186
+ "@elliemae/ds-typography": "3.70.0-next.37",
187
+ "@elliemae/ds-typescript-helpers": "3.70.0-next.37",
188
+ "@elliemae/ds-wizard": "3.70.0-next.37",
189
+ "@elliemae/ds-virtual-list": "3.70.0-next.37",
190
+ "@elliemae/ds-zustand-helpers": "3.70.0-next.37"
191
191
  },
192
192
  "publishConfig": {
193
193
  "access": "public"
@@ -1,61 +0,0 @@
1
- /* eslint-disable wdio/no-pause */
2
- import DSTreeViewCO from '../DSTreeViewCO';
3
-
4
- if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:options'].isTablet) {
5
- describe('PUI-11320 - TreeView, Basic Drag and Drop Functionality', () => {
6
- before(async () => {
7
- const errorOnGo = await DSTreeViewCO.dragAndDrop.go();
8
- if (errorOnGo) throw errorOnGo;
9
- });
10
- it('01: drag and drop in the same position - parent item', async () => {
11
- const firstRow = await DSTreeViewCO.getRowContent(0);
12
- const dragHandleFirstRow = await DSTreeViewCO.getDragHandle(0);
13
- await dragHandleFirstRow.dragAndDrop(firstRow, { duration: 1000 });
14
- await expect(firstRow).toHaveText(expect.stringContaining('Parent. id: 1'));
15
- });
16
- it('02: drag and drop in the same position - child item', async () => {
17
- const expandableBtnFirstRow = await DSTreeViewCO.getToggleBtn(0);
18
- await expandableBtnFirstRow.click();
19
- const firstChildRow = await DSTreeViewCO.getRowContent(1);
20
- const dragHandleFirstChild = await DSTreeViewCO.getDragHandle(1);
21
- await dragHandleFirstChild.dragAndDrop(firstChildRow, { duration: 1000 });
22
- await expect(firstChildRow).toHaveText(expect.stringContaining('Child of 1. id: 2'));
23
- });
24
- it('03: drag a parent and drop it in another parent', async () => {
25
- const parentId4 = await DSTreeViewCO.getRowContent(3);
26
- const dragHandleParentId1 = await DSTreeViewCO.getDragHandle(0);
27
- await dragHandleParentId1.dragAndDrop(parentId4, { duration: 1000 });
28
- await browser.pause(300);
29
- await DSTreeViewCO.expandCollapseAll();
30
- await browser.pause(300);
31
- const firstRow = await DSTreeViewCO.getRowContent(0);
32
- await expect(firstRow).toHaveText(expect.stringContaining('Parent. id: 4'));
33
- });
34
- it('04: drag a child of a parent and drop it in another parent with no children', async () => {
35
- const dragHandleChildOfParent1 = await DSTreeViewCO.getDragHandle(5);
36
- const parentId7 = await DSTreeViewCO.getRowContent(8);
37
- await dragHandleChildOfParent1.dragAndDrop(parentId7, { duration: 1000 });
38
- await browser.pause(300);
39
- await DSTreeViewCO.expandCollapseAll();
40
- await browser.pause(300);
41
-
42
- const sixthRow = await DSTreeViewCO.getRowContent(6);
43
- const sixthRowValue = await sixthRow.getText();
44
- await expect(sixthRowValue).toEqual('Child of 1. Also parent. id: 3');
45
- });
46
- it('05: drag a parent and drop it into last row', async () => {
47
- const parentId8 = await DSTreeViewCO.getRowContent(9);
48
- const dragHandleParentId4 = await DSTreeViewCO.getDragHandle(0);
49
- await dragHandleParentId4.click();
50
- await dragHandleParentId4.dragAndDrop(parentId8, { duration: 1000 });
51
- await DSTreeViewCO.expandCollapseAll();
52
- await DSTreeViewCO.expandCollapseAll();
53
- await browser.pause(300);
54
-
55
- await $('span*=Parent. id: 4').waitForDisplayed({ timeout: 5000 });
56
- const parentId4 = await DSTreeViewCO.getRowContent(5);
57
- const parentId4Value = await parentId4.getText();
58
- await expect(parentId4Value).toEqual('Parent. id: 4');
59
- });
60
- });
61
- }