dimsum-e2e-tests 3.37.0-next.5 → 3.37.0-next.7

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.
Files changed (130) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/ds-card-v3/DSCardV3CO.js +9 -14
  3. package/ds-card-v3/single-select/DSCardV3.single-select.func.spec.js +34 -0
  4. package/ds-card-v3/single-select/DSCardV3.single-select.visual.spec.js +22 -0
  5. package/package.json +120 -120
  6. package/zzz-eol/InputMask/AlphaNumeric.InputMask.func.spec.js +0 -41
  7. package/zzz-eol/InputMask/AutoCorrectedDate.InputMask.func.spec.js +0 -18
  8. package/zzz-eol/InputMask/DSInputMask.visual.spec.js +0 -21
  9. package/zzz-eol/InputMask/DSInputMaskCO.js +0 -92
  10. package/zzz-eol/InputMask/Date.InputMask.func.spec.js +0 -48
  11. package/zzz-eol/InputMask/DateTime.InputMask.func.spec.js +0 -48
  12. package/zzz-eol/InputMask/Decimal.InputMask.func.spec.js +0 -119
  13. package/zzz-eol/InputMask/Number.InputMask.func.spec.js +0 -98
  14. package/zzz-eol/InputMask/Percent.InputMask.func.spec.js +0 -54
  15. package/zzz-eol/InputMask/Phone.InputMask.func.spec.js +0 -48
  16. package/zzz-eol/InputMask/PhoneInternational.InputMask.func.spec.js +0 -60
  17. package/zzz-eol/InputMask/Ssn.InputMask.func.spec.js +0 -60
  18. package/zzz-eol/InputMask/UsZipCode.InputMask.func.spec.js +0 -46
  19. package/zzz-eol/ds-button-group/DSButtonGropu.visual.spec.js +0 -16
  20. package/zzz-eol/ds-button-group/DSButtonGroupCO.js +0 -20
  21. package/zzz-eol/ds-button-v1/DSButton.func.spec.js +0 -23
  22. package/zzz-eol/ds-button-v1/DSButton.visual.spec.js +0 -16
  23. package/zzz-eol/ds-button-v1/DSButtonCO.js +0 -38
  24. package/zzz-eol/ds-button-v2/DSButtonV2.axe-core.func.spec.js +0 -22
  25. package/zzz-eol/ds-button-v2/DSButtonV2.func.spec.js +0 -139
  26. package/zzz-eol/ds-button-v2/DSButtonV2.visual.spec.js +0 -153
  27. package/zzz-eol/ds-button-v2/DSButtonV2CO.js +0 -43
  28. package/zzz-eol/ds-date-picker/DSDatePicker.func.spec.js +0 -272
  29. package/zzz-eol/ds-date-picker/DSDatePickerCO.js +0 -104
  30. package/zzz-eol/ds-date-range-picker/DSDateRangePicker.func.spec.js +0 -115
  31. package/zzz-eol/ds-date-range-picker/DSDateRangePicker.visual.spec.js +0 -14
  32. package/zzz-eol/ds-date-range-picker/DSDateRangePickerCO.js +0 -99
  33. package/zzz-eol/ds-date-range-selector/DSDateRangeSelector.axe-core.func.spec.js +0 -48
  34. package/zzz-eol/ds-date-range-selector/DSDateRangeSelector.func.spec.js +0 -22
  35. package/zzz-eol/ds-date-range-selector/DSDateRangeSelector.visual.spec.js +0 -115
  36. package/zzz-eol/ds-date-range-selector/DSDateRangeSelectorCO.js +0 -44
  37. package/zzz-eol/ds-date-time-picker/DSDateTimePicker.func.spec.js +0 -210
  38. package/zzz-eol/ds-date-time-picker/DateTimePickerCO.js +0 -140
  39. package/zzz-eol/ds-dropdownmenu/DSDropddownMenu-loading.visual.spec.js +0 -31
  40. package/zzz-eol/ds-dropdownmenu/DSDropddownMenu.func.spec.js +0 -38
  41. package/zzz-eol/ds-dropdownmenu/DSDropdownMenu-basic.visual.spec.js +0 -30
  42. package/zzz-eol/ds-dropdownmenu/DSDropdownMenu-withselect.visual.spec.js +0 -24
  43. package/zzz-eol/ds-dropdownmenu/DropdownMenuCO.js +0 -61
  44. package/zzz-eol/ds-filterbar/DSFilterBar-basic.axe-core.func.spec.js +0 -88
  45. package/zzz-eol/ds-filterbar/DSFilterBar-basic.func.spec.js +0 -15
  46. package/zzz-eol/ds-filterbar/DSFilterBar-basic.visual.spec.js +0 -92
  47. package/zzz-eol/ds-filterbar/DSFilterBar-dropdown-multipill.visual.spec.js +0 -55
  48. package/zzz-eol/ds-filterbar/FilterbarCO.js +0 -65
  49. package/zzz-eol/ds-form/Checkbox/DSCheckbox.func.spec.js +0 -69
  50. package/zzz-eol/ds-form/Checkbox/DSCheckbox.keyboard.navigation.func.spec.js +0 -64
  51. package/zzz-eol/ds-form/Checkbox/DSCheckbox.visual.spec.js +0 -37
  52. package/zzz-eol/ds-form/Checkbox/DSCheckboxCO.js +0 -60
  53. package/zzz-eol/ds-form/Combobox/DSCombobox.accessibility.func.spec.js +0 -150
  54. package/zzz-eol/ds-form/Combobox/DSCombobox.basic.func.spec.js +0 -238
  55. package/zzz-eol/ds-form/Combobox/DSCombobox.freesolo.func.spec.js +0 -97
  56. package/zzz-eol/ds-form/Combobox/DSCombobox.freesolo.visual.spec.js +0 -25
  57. package/zzz-eol/ds-form/Combobox/DSCombobox.multi.func.spec.js +0 -121
  58. package/zzz-eol/ds-form/Combobox/DSCombobox.multi.visual.spec.js +0 -55
  59. package/zzz-eol/ds-form/Combobox/DSCombobox.tablet.func.spec.js +0 -30
  60. package/zzz-eol/ds-form/Combobox/DSCombobox.visual.spec.js +0 -93
  61. package/zzz-eol/ds-form/Combobox/DSComboboxCO.js +0 -210
  62. package/zzz-eol/ds-form/DateInput/DSDateInputCO.js +0 -51
  63. package/zzz-eol/ds-form/DateInput/DateInput.func.spec.js +0 -217
  64. package/zzz-eol/ds-form/DateInput/DateInput.states.func.spec.js +0 -55
  65. package/zzz-eol/ds-form/FormatItemLayout/FormItemLayout.func.spec.js +0 -46
  66. package/zzz-eol/ds-form/FormatItemLayout/FormatItemLayout.js +0 -56
  67. package/zzz-eol/ds-form/FormatItemLayout/FormatItemLayout.visual.spec.js +0 -94
  68. package/zzz-eol/ds-form/InputGroup/DSInputGroup.visual.spec.js +0 -15
  69. package/zzz-eol/ds-form/InputGroup/DSInputGroupCO.js +0 -19
  70. package/zzz-eol/ds-form/InputProtected/DSInputProtected.func.spec.js +0 -18
  71. package/zzz-eol/ds-form/InputProtected/DSInputProtected.visual.spec.js +0 -18
  72. package/zzz-eol/ds-form/InputProtected/DSInputProtectedCO.js +0 -45
  73. package/zzz-eol/ds-form/LargeInputText/DSLargeInputText.func.spec.js +0 -37
  74. package/zzz-eol/ds-form/LargeInputText/DSLargeInputText.visual.spec.js +0 -18
  75. package/zzz-eol/ds-form/LargeInputText/DSLargeInputTextCO.js +0 -45
  76. package/zzz-eol/ds-form/Radio/DSRadio.func.spec.js +0 -13
  77. package/zzz-eol/ds-form/Radio/DSRadio.visual.spec.js +0 -39
  78. package/zzz-eol/ds-form/Radio/DSRadioCO.js +0 -49
  79. package/zzz-eol/ds-form/SearchBox/DSSearchBox.func.spec.js +0 -90
  80. package/zzz-eol/ds-form/SearchBox/DSSearchBox.visual.spec.js +0 -96
  81. package/zzz-eol/ds-form/SearchBox/DSSearchBoxCO.js +0 -80
  82. package/zzz-eol/ds-form/Toggle/DSToggle.func.spec.js +0 -70
  83. package/zzz-eol/ds-form/Toggle/DSToggle.visual.spec.js +0 -21
  84. package/zzz-eol/ds-form/Toggle/DSToggleCO.js +0 -45
  85. package/zzz-eol/ds-group-box/DSGroupBox.axe-core.func.spec.js +0 -30
  86. package/zzz-eol/ds-group-box/DSGroupBox.visual.spec.js +0 -44
  87. package/zzz-eol/ds-group-box/DSGroupBoxCO.js +0 -29
  88. package/zzz-eol/ds-mini-toolbar/MiniToolbal.axe-core.func.spec.js +0 -26
  89. package/zzz-eol/ds-mini-toolbar/MiniToolbal.func.spec.js +0 -82
  90. package/zzz-eol/ds-mini-toolbar/MiniToolbal.visual.spec.js +0 -34
  91. package/zzz-eol/ds-mini-toolbar/MiniToolbarCO.js +0 -45
  92. package/zzz-eol/ds-modal/Modal.func.spec.js +0 -35
  93. package/zzz-eol/ds-modal/Modal.visual.spec.js +0 -84
  94. package/zzz-eol/ds-modal/ModalCO.js +0 -43
  95. package/zzz-eol/ds-number-range-field/NumberRangeField.func.spec.js +0 -75
  96. package/zzz-eol/ds-number-range-field/NumberRangeField.visual.spec.js +0 -30
  97. package/zzz-eol/ds-number-range-field/NumberRangeFieldCO.js +0 -31
  98. package/zzz-eol/ds-page-number/DSPageNumber.func.spec.js +0 -37
  99. package/zzz-eol/ds-page-number/DSPageNumber.visual.spec.js +0 -39
  100. package/zzz-eol/ds-page-number/DSPageNumberCO.js +0 -42
  101. package/zzz-eol/ds-pills/DSLabeledDropdownSinglePill.visual.spec.js +0 -19
  102. package/zzz-eol/ds-pills/DSPills.func.spec.js +0 -126
  103. package/zzz-eol/ds-pills/DSPills.visual.spec.js +0 -74
  104. package/zzz-eol/ds-pills/DSPillsCO.js +0 -110
  105. package/zzz-eol/ds-search-field/SearchField.func.spec.js +0 -109
  106. package/zzz-eol/ds-search-field/SearchField.visual.spec.js +0 -77
  107. package/zzz-eol/ds-search-field/SearchFieldCO.js +0 -117
  108. package/zzz-eol/ds-shuttle/DSShuttle-infinite-scroll.func.spec.js +0 -64
  109. package/zzz-eol/ds-shuttle/DSShuttle-infinite-scroll.visual.spec.js +0 -63
  110. package/zzz-eol/ds-shuttle/DSShuttle-truncate-option.visual.spec.js +0 -24
  111. package/zzz-eol/ds-shuttle/DSShuttle.func.spec.js +0 -139
  112. package/zzz-eol/ds-shuttle/DSShuttleCO.js +0 -193
  113. package/zzz-eol/ds-slider/DSSlider.func.spec.js +0 -17
  114. package/zzz-eol/ds-slider/DSSlider.visual.spec.js +0 -51
  115. package/zzz-eol/ds-slider/DSSliderCO.js +0 -37
  116. package/zzz-eol/ds-spinner/DSSpinner.axe-core.spec.js +0 -22
  117. package/zzz-eol/ds-spinner/DSSpinnerCO.js +0 -17
  118. package/zzz-eol/ds-text-box/DSTextBox.func.spec.js +0 -40
  119. package/zzz-eol/ds-text-box/DSTextBox.visual.spec.js +0 -51
  120. package/zzz-eol/ds-text-box/DSTextBoxCO.js +0 -40
  121. package/zzz-eol/ds-time-picker/DSTimePicker.func.spec.js +0 -48
  122. package/zzz-eol/ds-time-picker/DSTimePickerCO.js +0 -113
  123. package/zzz-eol/ds-toolbar/Toolbar.func.spec.js +0 -26
  124. package/zzz-eol/ds-toolbar/ToolbarCO.js +0 -23
  125. package/zzz-eol/ds-tooltip/DSTooltip.func.spec.js +0 -86
  126. package/zzz-eol/ds-tooltip/DSTooltip.visual.spec.js +0 -19
  127. package/zzz-eol/ds-tooltip/DSTooltipCO.js +0 -38
  128. package/zzz-eol/ds-uploader/Uploader.func.spec.js +0 -29
  129. package/zzz-eol/ds-uploader/Uploader.visual.spec.js +0 -64
  130. package/zzz-eol/ds-uploader/UploaderCO.js +0 -33
package/CHANGELOG.md CHANGED
@@ -3,6 +3,18 @@
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.37.0-next.7](https://git.elliemae.io/platform-ui/dimsum/compare/v3.37.0-next.6...v3.37.0-next.7) (2024-06-12)
7
+
8
+ ### Bug Fixes
9
+
10
+ - environment:: storybook - remove legacy from portal [PUI-13704](https://jira.elliemae.io/browse/PUI-13704) ([#6870](https://git.elliemae.io/platform-ui/dimsum/issues/6870)) ([7321b2b](https://git.elliemae.io/platform-ui/dimsum/commit/7321b2b50c545a4f6f8a62af7aa64267608f7fa0))
11
+
12
+ ## [3.37.0-next.6](https://git.elliemae.io/platform-ui/dimsum/compare/v3.37.0-next.5...v3.37.0-next.6) (2024-06-11)
13
+
14
+ ### Features
15
+
16
+ - ds-card-v3:: e2e - test cases added [PUI-13244](https://jira.elliemae.io/browse/PUI-1244) ([#6868](https://git.elliemae.io/platform-ui/dimsum/issues/6868)) ([5ea625b](https://git.elliemae.io/platform-ui/dimsum/commit/5ea625b49e33901db04b72002f0f916ac3988a33))
17
+
6
18
  ## [3.37.0-next.5](https://git.elliemae.io/platform-ui/dimsum/compare/v3.37.0-next.4...v3.37.0-next.5) (2024-06-10)
7
19
 
8
20
  ### Bug Fixes
@@ -5,30 +5,25 @@ import { PageObject, Urlbuilder } from '../helpers';
5
5
 
6
6
  export default class DSCardV3CO extends PageObject {
7
7
  // URL's
8
-
9
8
  static accordionURL = new Urlbuilder(PATH_E2E_CARD_V3, 'accordion-test');
10
9
 
11
- static displayURL = new Urlbuilder(PATH_E2E_CARD_V3, 'display-test');
10
+ static actionURL = new Urlbuilder(PATH_E2E_CARD_V3, 'action-test');
11
+
12
+ static disabledURL = new Urlbuilder(PATH_E2E_CARD_V3, 'disabled-test');
12
13
 
13
14
  static dragAndDropURL = new Urlbuilder(PATH_E2E_CARD_V3, 'drag-and-drop-test');
14
15
 
15
- static emptyURL = new Urlbuilder(PATH_E2E_CARD_V3, 'empty-test');
16
+ static multiActionURL = new Urlbuilder(PATH_E2E_CARD_V3, 'multi-action-test');
16
17
 
17
- static objectURL = new Urlbuilder(PATH_E2E_CARD_V3, 'object-test');
18
+ static multiSelectURL = new Urlbuilder(PATH_E2E_CARD_V3, 'multi-select-test');
18
19
 
19
- static selectURL = new Urlbuilder(PATH_E2E_CARD_V3, 'select-test');
20
+ static noActionURL = new Urlbuilder(PATH_E2E_CARD_V3, 'no-action-test');
20
21
 
21
- static statesURL = new Urlbuilder(PATH_E2E_CARD_V3, 'states-test');
22
+ static notificationBadgesURL = new Urlbuilder(PATH_E2E_CARD_V3, 'notification-badges-test');
22
23
 
23
- // selectors
24
- static async getButtonByIndex(index = 0) {
25
- return $$('[data-testid="ds-button"]')[index];
26
- }
27
-
28
- static async getRadioByIndex(index = 0) {
29
- return $$('[data-testid="ds-radio-container"]')[index];
30
- }
24
+ static singleSelectURL = new Urlbuilder(PATH_E2E_CARD_V3, 'single-select-test');
31
25
 
26
+ // selectors
32
27
  static async getActionAreaByIndex(index = 0) {
33
28
  return $$('[data-testid="ds-card-v3-action-area"]')[index];
34
29
  }
@@ -0,0 +1,34 @@
1
+ /* eslint-disable max-lines */
2
+ import { Key } from 'webdriverio';
3
+ import DSCardV3CO from '../DSCardV3CO';
4
+ import DSControlledRadioCO from '../../ds-controlled-form/ds-controlled-radio/DSControlledRadioCO';
5
+
6
+ if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:options'].isTablet) {
7
+ describe('PUI-13700 - CardV3: Single Select (keyboard) - Func Test', () => {
8
+ before('loading page', async () => {
9
+ const errorOnGo = await DSCardV3CO.singleSelectURL.go();
10
+ if (errorOnGo) throw errorOnGo;
11
+ });
12
+ it('01: first radio button should be focused - [TAB]', async () => {
13
+ await browser.keys(Key.Tab);
14
+ const firstRadioButton = await DSControlledRadioCO.getRadioByIndex(0);
15
+ await expect(firstRadioButton).toBeFocused();
16
+ });
17
+ it('02: first radio button should be selected - [SPACE]', async () => {
18
+ await browser.keys(Key.Space);
19
+ const firstRadioButton = await DSControlledRadioCO.getRadioByIndex(0);
20
+ await expect(firstRadioButton).toBeSelected();
21
+ });
22
+ it('03: second radio button should be focused - [TAB]', async () => {
23
+ await browser.keys(Key.Tab);
24
+ await browser.keys(Key.Tab);
25
+ const secondRadioButton = await DSControlledRadioCO.getRadioByIndex(1);
26
+ await expect(secondRadioButton).toBeFocused();
27
+ });
28
+ it('04: second radio button should be selected - [Enter]', async () => {
29
+ await browser.keys(Key.Enter);
30
+ const secondRadioButton = await DSControlledRadioCO.getRadioByIndex(1);
31
+ await expect(secondRadioButton).toBeSelected();
32
+ });
33
+ });
34
+ }
@@ -0,0 +1,22 @@
1
+ /* eslint-disable max-lines */
2
+ import DSCardV3CO from '../DSCardV3CO';
3
+ import DSControlledRadioCO from '../../ds-controlled-form/ds-controlled-radio/DSControlledRadioCO';
4
+ import DSButtonV3CO from '../../ds-button-v3/DSButtonV3CO';
5
+
6
+ if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:options'].isTablet) {
7
+ describe('PUI-13713 - CardV3: Single Select (keyboard) - Visual Test', () => {
8
+ before('loading page', async () => {
9
+ const errorOnGo = await DSCardV3CO.singleSelectURL.go();
10
+ if (errorOnGo) throw errorOnGo;
11
+ });
12
+ it('01: first radio button should be selected, and the dropdown menu should be opened', async () => {
13
+ await browser.eyesOpen();
14
+ const firstRadioButton = await DSControlledRadioCO.getRadioByIndex(0);
15
+ const ellipsisMenuBtn = await DSButtonV3CO.getButtonByIndex(0);
16
+ await firstRadioButton.click();
17
+ await ellipsisMenuBtn.click();
18
+ const snapshot = await browser.eyesCheckSnapshot(DSCardV3CO.snapshotPath('card-v3-sigle-select'));
19
+ await expect(snapshot).toEqual(0);
20
+ });
21
+ });
22
+ }
package/package.json CHANGED
@@ -1,126 +1,126 @@
1
1
  {
2
2
  "name": "dimsum-e2e-tests",
3
- "version": "3.37.0-next.5",
3
+ "version": "3.37.0-next.7",
4
4
  "description": "End-to-end tests for dimsum library",
5
5
  "dependencies": {
6
- "@elliemae/ds-accessibility": "3.37.0-next.5",
7
- "@elliemae/ds-accordion": "3.37.0-next.5",
8
- "@elliemae/ds-backdrop": "3.37.0-next.5",
9
- "@elliemae/ds-banner": "3.37.0-next.5",
10
- "@elliemae/ds-breadcrumb": "3.37.0-next.5",
11
- "@elliemae/ds-app-picker": "3.37.0-next.5",
12
- "@elliemae/ds-button-group": "3.37.0-next.5",
13
- "@elliemae/ds-basic": "3.37.0-next.5",
14
- "@elliemae/ds-button": "3.37.0-next.5",
15
- "@elliemae/ds-button-v1": "3.37.0-next.5",
16
- "@elliemae/ds-button-v2": "3.37.0-next.5",
17
- "@elliemae/ds-card-array": "3.37.0-next.5",
18
- "@elliemae/ds-card": "3.37.0-next.5",
19
- "@elliemae/ds-card-navigation": "3.37.0-next.5",
20
- "@elliemae/ds-card-v2": "3.37.0-next.5",
21
- "@elliemae/ds-card-v2-action-addon": "3.37.0-next.5",
22
- "@elliemae/ds-card-v2-group": "3.37.0-next.5",
23
- "@elliemae/ds-chat": "3.37.0-next.5",
24
- "@elliemae/ds-chat-tile": "3.37.0-next.5",
25
- "@elliemae/ds-chat-bubble": "3.37.0-next.5",
26
- "@elliemae/ds-codeeditor": "3.37.0-next.5",
27
- "@elliemae/ds-chip": "3.37.0-next.5",
28
- "@elliemae/ds-circular-progress-indicator": "3.37.0-next.5",
29
- "@elliemae/ds-comments": "3.37.0-next.5",
30
- "@elliemae/ds-csv-converter": "3.37.0-next.5",
31
- "@elliemae/ds-data-table-cell-header": "3.37.0-next.5",
32
- "@elliemae/ds-controlled-form": "3.37.0-next.5",
33
- "@elliemae/ds-datagrids": "3.37.0-next.5",
34
- "@elliemae/ds-data-table": "3.37.0-next.5",
35
- "@elliemae/ds-dataviz": "3.37.0-next.5",
36
- "@elliemae/ds-dataviz-pie": "3.37.0-next.5",
37
- "@elliemae/ds-date-picker": "3.37.0-next.5",
38
- "@elliemae/ds-date-range-picker": "3.37.0-next.5",
39
- "@elliemae/ds-date-range-selector": "3.37.0-next.5",
40
- "@elliemae/ds-date-time-picker": "3.37.0-next.5",
41
- "@elliemae/ds-date-time-recurrence-picker": "3.37.0-next.5",
42
- "@elliemae/ds-decision-graph": "3.37.0-next.5",
43
- "@elliemae/ds-dropdownmenu": "3.37.0-next.5",
44
- "@elliemae/ds-dialog": "3.37.0-next.5",
45
- "@elliemae/ds-dropzone": "3.37.0-next.5",
46
- "@elliemae/ds-drag-and-drop": "3.37.0-next.5",
47
- "@elliemae/ds-fast-list": "3.37.0-next.5",
48
- "@elliemae/ds-filterbar": "3.37.0-next.5",
49
- "@elliemae/ds-form-date-range-picker": "3.37.0-next.5",
50
- "@elliemae/ds-form": "3.37.0-next.5",
51
- "@elliemae/ds-form-layout-blocks": "3.37.0-next.5",
52
- "@elliemae/ds-form-date-time-picker": "3.37.0-next.5",
53
- "@elliemae/ds-form-layout-label": "3.37.0-next.5",
54
- "@elliemae/ds-global-header": "3.37.0-next.5",
55
- "@elliemae/ds-grid": "3.37.0-next.5",
56
- "@elliemae/ds-header": "3.37.0-next.5",
57
- "@elliemae/ds-group-box": "3.37.0-next.5",
58
- "@elliemae/ds-hooks-fontsize-detector": "3.37.0-next.5",
59
- "@elliemae/ds-hooks-fontsize-media": "3.37.0-next.5",
60
- "@elliemae/ds-icon": "3.37.0-next.5",
61
- "@elliemae/ds-image": "3.37.0-next.5",
62
- "@elliemae/ds-icons": "3.37.0-next.5",
63
- "@elliemae/ds-imagelibrarymodal": "3.37.0-next.5",
64
- "@elliemae/ds-indeterminate-progress-indicator": "3.37.0-next.5",
65
- "@elliemae/ds-label-value": "3.37.0-next.5",
66
- "@elliemae/ds-left-navigation": "3.37.0-next.5",
67
- "@elliemae/ds-list-section-header": "3.37.0-next.5",
68
- "@elliemae/ds-menu": "3.37.0-next.5",
69
- "@elliemae/ds-loading-indicator": "3.37.0-next.5",
70
- "@elliemae/ds-mobile": "3.37.0-next.5",
71
- "@elliemae/ds-mini-toolbar": "3.37.0-next.5",
72
- "@elliemae/ds-modal": "3.37.0-next.5",
73
- "@elliemae/ds-menu-items": "3.37.0-next.5",
74
- "@elliemae/ds-number-range-field": "3.37.0-next.5",
75
- "@elliemae/ds-modal-slide": "3.37.0-next.5",
76
- "@elliemae/ds-notification-badge": "3.37.0-next.5",
77
- "@elliemae/ds-page-header-v1": "3.37.0-next.5",
78
- "@elliemae/ds-page-header": "3.37.0-next.5",
79
- "@elliemae/ds-page-layout": "3.37.0-next.5",
80
- "@elliemae/ds-page-number": "3.37.0-next.5",
81
- "@elliemae/ds-page-header-v2": "3.37.0-next.5",
82
- "@elliemae/ds-pagination": "3.37.0-next.5",
83
- "@elliemae/ds-pills": "3.37.0-next.5",
84
- "@elliemae/ds-popover": "3.37.0-next.5",
85
- "@elliemae/ds-popper": "3.37.0-next.5",
86
- "@elliemae/ds-popperjs": "3.37.0-next.5",
87
- "@elliemae/ds-progress-indicator": "3.37.0-next.5",
88
- "@elliemae/ds-read-more": "3.37.0-next.5",
89
- "@elliemae/ds-query-builder": "3.37.0-next.5",
90
- "@elliemae/ds-ribbon": "3.37.0-next.5",
91
- "@elliemae/ds-resizeable-container": "3.37.0-next.5",
92
- "@elliemae/ds-search-field": "3.37.0-next.5",
93
- "@elliemae/ds-separator": "3.37.0-next.5",
94
- "@elliemae/ds-shuttle": "3.37.0-next.5",
95
- "@elliemae/ds-shuttle-v2": "3.37.0-next.5",
96
- "@elliemae/ds-skeleton": "3.37.0-next.5",
97
- "@elliemae/ds-side-panel": "3.37.0-next.5",
98
- "@elliemae/ds-slider": "3.37.0-next.5",
99
- "@elliemae/ds-spinner": "3.37.0-next.5",
100
- "@elliemae/ds-square-indicator": "3.37.0-next.5",
101
- "@elliemae/ds-stepper": "3.37.0-next.5",
102
- "@elliemae/ds-svg": "3.37.0-next.5",
103
- "@elliemae/ds-system": "3.37.0-next.5",
104
- "@elliemae/ds-test-utils": "3.37.0-next.5",
105
- "@elliemae/ds-text-wrapper": "3.37.0-next.5",
106
- "@elliemae/ds-tabs": "3.37.0-next.5",
107
- "@elliemae/ds-toast": "3.37.0-next.5",
108
- "@elliemae/ds-time-picker": "3.37.0-next.5",
109
- "@elliemae/ds-toolbar": "3.37.0-next.5",
110
- "@elliemae/ds-toolbar-v2": "3.37.0-next.5",
111
- "@elliemae/ds-transition": "3.37.0-next.5",
112
- "@elliemae/ds-tooltip": "3.37.0-next.5",
113
- "@elliemae/ds-truncated-expandable-text": "3.37.0-next.5",
114
- "@elliemae/ds-tree-model": "3.37.0-next.5",
115
- "@elliemae/ds-treeview": "3.37.0-next.5",
116
- "@elliemae/ds-typography": "3.37.0-next.5",
117
- "@elliemae/ds-truncated-tooltip-text": "3.37.0-next.5",
118
- "@elliemae/ds-uploader": "3.37.0-next.5",
119
- "@elliemae/ds-utilities": "3.37.0-next.5",
120
- "@elliemae/ds-wysiwygeditor": "3.37.0-next.5",
121
- "@elliemae/ds-virtual-list": "3.37.0-next.5",
122
- "@elliemae/ds-wizard": "3.37.0-next.5",
123
- "@elliemae/ds-zoom": "3.37.0-next.5",
124
- "@elliemae/ds-zipcode-search": "3.37.0-next.5"
6
+ "@elliemae/ds-accessibility": "3.37.0-next.7",
7
+ "@elliemae/ds-accordion": "3.37.0-next.7",
8
+ "@elliemae/ds-app-picker": "3.37.0-next.7",
9
+ "@elliemae/ds-banner": "3.37.0-next.7",
10
+ "@elliemae/ds-backdrop": "3.37.0-next.7",
11
+ "@elliemae/ds-basic": "3.37.0-next.7",
12
+ "@elliemae/ds-breadcrumb": "3.37.0-next.7",
13
+ "@elliemae/ds-button": "3.37.0-next.7",
14
+ "@elliemae/ds-button-group": "3.37.0-next.7",
15
+ "@elliemae/ds-button-v1": "3.37.0-next.7",
16
+ "@elliemae/ds-button-v2": "3.37.0-next.7",
17
+ "@elliemae/ds-card-array": "3.37.0-next.7",
18
+ "@elliemae/ds-card-v2": "3.37.0-next.7",
19
+ "@elliemae/ds-card-navigation": "3.37.0-next.7",
20
+ "@elliemae/ds-card-v2-action-addon": "3.37.0-next.7",
21
+ "@elliemae/ds-card": "3.37.0-next.7",
22
+ "@elliemae/ds-card-v2-group": "3.37.0-next.7",
23
+ "@elliemae/ds-chat-bubble": "3.37.0-next.7",
24
+ "@elliemae/ds-chat-tile": "3.37.0-next.7",
25
+ "@elliemae/ds-chat": "3.37.0-next.7",
26
+ "@elliemae/ds-chip": "3.37.0-next.7",
27
+ "@elliemae/ds-circular-progress-indicator": "3.37.0-next.7",
28
+ "@elliemae/ds-codeeditor": "3.37.0-next.7",
29
+ "@elliemae/ds-controlled-form": "3.37.0-next.7",
30
+ "@elliemae/ds-comments": "3.37.0-next.7",
31
+ "@elliemae/ds-csv-converter": "3.37.0-next.7",
32
+ "@elliemae/ds-data-table": "3.37.0-next.7",
33
+ "@elliemae/ds-dataviz": "3.37.0-next.7",
34
+ "@elliemae/ds-data-table-cell-header": "3.37.0-next.7",
35
+ "@elliemae/ds-datagrids": "3.37.0-next.7",
36
+ "@elliemae/ds-dataviz-pie": "3.37.0-next.7",
37
+ "@elliemae/ds-date-picker": "3.37.0-next.7",
38
+ "@elliemae/ds-date-range-picker": "3.37.0-next.7",
39
+ "@elliemae/ds-date-range-selector": "3.37.0-next.7",
40
+ "@elliemae/ds-date-time-picker": "3.37.0-next.7",
41
+ "@elliemae/ds-date-time-recurrence-picker": "3.37.0-next.7",
42
+ "@elliemae/ds-decision-graph": "3.37.0-next.7",
43
+ "@elliemae/ds-dialog": "3.37.0-next.7",
44
+ "@elliemae/ds-drag-and-drop": "3.37.0-next.7",
45
+ "@elliemae/ds-dropzone": "3.37.0-next.7",
46
+ "@elliemae/ds-fast-list": "3.37.0-next.7",
47
+ "@elliemae/ds-dropdownmenu": "3.37.0-next.7",
48
+ "@elliemae/ds-form": "3.37.0-next.7",
49
+ "@elliemae/ds-form-date-range-picker": "3.37.0-next.7",
50
+ "@elliemae/ds-filterbar": "3.37.0-next.7",
51
+ "@elliemae/ds-form-layout-blocks": "3.37.0-next.7",
52
+ "@elliemae/ds-form-date-time-picker": "3.37.0-next.7",
53
+ "@elliemae/ds-form-layout-label": "3.37.0-next.7",
54
+ "@elliemae/ds-grid": "3.37.0-next.7",
55
+ "@elliemae/ds-group-box": "3.37.0-next.7",
56
+ "@elliemae/ds-header": "3.37.0-next.7",
57
+ "@elliemae/ds-global-header": "3.37.0-next.7",
58
+ "@elliemae/ds-hooks-fontsize-detector": "3.37.0-next.7",
59
+ "@elliemae/ds-hooks-fontsize-media": "3.37.0-next.7",
60
+ "@elliemae/ds-icon": "3.37.0-next.7",
61
+ "@elliemae/ds-image": "3.37.0-next.7",
62
+ "@elliemae/ds-icons": "3.37.0-next.7",
63
+ "@elliemae/ds-indeterminate-progress-indicator": "3.37.0-next.7",
64
+ "@elliemae/ds-imagelibrarymodal": "3.37.0-next.7",
65
+ "@elliemae/ds-left-navigation": "3.37.0-next.7",
66
+ "@elliemae/ds-label-value": "3.37.0-next.7",
67
+ "@elliemae/ds-list-section-header": "3.37.0-next.7",
68
+ "@elliemae/ds-loading-indicator": "3.37.0-next.7",
69
+ "@elliemae/ds-menu-items": "3.37.0-next.7",
70
+ "@elliemae/ds-menu": "3.37.0-next.7",
71
+ "@elliemae/ds-mini-toolbar": "3.37.0-next.7",
72
+ "@elliemae/ds-mobile": "3.37.0-next.7",
73
+ "@elliemae/ds-modal": "3.37.0-next.7",
74
+ "@elliemae/ds-modal-slide": "3.37.0-next.7",
75
+ "@elliemae/ds-notification-badge": "3.37.0-next.7",
76
+ "@elliemae/ds-page-header-v1": "3.37.0-next.7",
77
+ "@elliemae/ds-page-header": "3.37.0-next.7",
78
+ "@elliemae/ds-number-range-field": "3.37.0-next.7",
79
+ "@elliemae/ds-page-header-v2": "3.37.0-next.7",
80
+ "@elliemae/ds-page-layout": "3.37.0-next.7",
81
+ "@elliemae/ds-page-number": "3.37.0-next.7",
82
+ "@elliemae/ds-pagination": "3.37.0-next.7",
83
+ "@elliemae/ds-pills": "3.37.0-next.7",
84
+ "@elliemae/ds-popover": "3.37.0-next.7",
85
+ "@elliemae/ds-popper": "3.37.0-next.7",
86
+ "@elliemae/ds-popperjs": "3.37.0-next.7",
87
+ "@elliemae/ds-progress-indicator": "3.37.0-next.7",
88
+ "@elliemae/ds-read-more": "3.37.0-next.7",
89
+ "@elliemae/ds-query-builder": "3.37.0-next.7",
90
+ "@elliemae/ds-ribbon": "3.37.0-next.7",
91
+ "@elliemae/ds-resizeable-container": "3.37.0-next.7",
92
+ "@elliemae/ds-search-field": "3.37.0-next.7",
93
+ "@elliemae/ds-separator": "3.37.0-next.7",
94
+ "@elliemae/ds-shuttle": "3.37.0-next.7",
95
+ "@elliemae/ds-shuttle-v2": "3.37.0-next.7",
96
+ "@elliemae/ds-side-panel": "3.37.0-next.7",
97
+ "@elliemae/ds-skeleton": "3.37.0-next.7",
98
+ "@elliemae/ds-slider": "3.37.0-next.7",
99
+ "@elliemae/ds-spinner": "3.37.0-next.7",
100
+ "@elliemae/ds-square-indicator": "3.37.0-next.7",
101
+ "@elliemae/ds-stepper": "3.37.0-next.7",
102
+ "@elliemae/ds-svg": "3.37.0-next.7",
103
+ "@elliemae/ds-test-utils": "3.37.0-next.7",
104
+ "@elliemae/ds-tabs": "3.37.0-next.7",
105
+ "@elliemae/ds-system": "3.37.0-next.7",
106
+ "@elliemae/ds-time-picker": "3.37.0-next.7",
107
+ "@elliemae/ds-text-wrapper": "3.37.0-next.7",
108
+ "@elliemae/ds-toolbar": "3.37.0-next.7",
109
+ "@elliemae/ds-toast": "3.37.0-next.7",
110
+ "@elliemae/ds-toolbar-v2": "3.37.0-next.7",
111
+ "@elliemae/ds-tooltip": "3.37.0-next.7",
112
+ "@elliemae/ds-transition": "3.37.0-next.7",
113
+ "@elliemae/ds-tree-model": "3.37.0-next.7",
114
+ "@elliemae/ds-treeview": "3.37.0-next.7",
115
+ "@elliemae/ds-truncated-tooltip-text": "3.37.0-next.7",
116
+ "@elliemae/ds-truncated-expandable-text": "3.37.0-next.7",
117
+ "@elliemae/ds-typography": "3.37.0-next.7",
118
+ "@elliemae/ds-uploader": "3.37.0-next.7",
119
+ "@elliemae/ds-utilities": "3.37.0-next.7",
120
+ "@elliemae/ds-virtual-list": "3.37.0-next.7",
121
+ "@elliemae/ds-wizard": "3.37.0-next.7",
122
+ "@elliemae/ds-wysiwygeditor": "3.37.0-next.7",
123
+ "@elliemae/ds-zipcode-search": "3.37.0-next.7",
124
+ "@elliemae/ds-zoom": "3.37.0-next.7"
125
125
  }
126
126
  }
@@ -1,41 +0,0 @@
1
- import DSInputMaskCO from './DSInputMaskCO';
2
-
3
- if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:options'].isTablet) {
4
- describe('PUI-5734 - InputMask, autocorrect date', () => {
5
- before('loading page', async () => {
6
- const errorOnGo = await DSInputMaskCO.alphanumericUCURL.go();
7
- if (errorOnGo) throw errorOnGo;
8
- });
9
- it('should display "NA" on the input', async () => {
10
- const input = await DSInputMaskCO.getInput();
11
- await input.click();
12
- await DSInputMaskCO.type('NA');
13
- const inputValue = await input.getValue();
14
- await expect(inputValue).toBe('NA');
15
- });
16
- it('should display "N/A" on the input', async () => {
17
- const input = await DSInputMaskCO.getInput();
18
- await DSInputMaskCO.clearValue(input);
19
- await input.click();
20
- await DSInputMaskCO.type('N/A');
21
- const inputValue = await input.getValue();
22
- await expect(inputValue).toBe('N/A');
23
- });
24
- it('should display "None" on the input', async () => {
25
- const input = await DSInputMaskCO.getInput();
26
- await DSInputMaskCO.clearValue(input);
27
- await input.click();
28
- await DSInputMaskCO.type('None');
29
- const inputValue = await input.getValue();
30
- await expect(inputValue).toBe('None');
31
- });
32
- it('should display the given number on the input', async () => {
33
- const input = await DSInputMaskCO.getInput();
34
- await DSInputMaskCO.clearValue(input);
35
- await input.click();
36
- await DSInputMaskCO.type('12345');
37
- const inputValue = await input.getValue();
38
- await expect(inputValue).toBe('12,345');
39
- });
40
- });
41
- }
@@ -1,18 +0,0 @@
1
- import DSInputMaskCO from './DSInputMaskCO';
2
-
3
- if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:options'].isTablet) {
4
- describe('PUI-5734 - InputMask, autocorrect date', () => {
5
- beforeEach('loading page', async () => {
6
- const errorOnGo = await DSInputMaskCO.autoCorrectDate.go();
7
- if (errorOnGo) throw errorOnGo;
8
- });
9
- it('should add numbers properly', async () => {
10
- await (await DSInputMaskCO.getInput(0)).click();
11
- await DSInputMaskCO.type('01123400');
12
- const input0 = await DSInputMaskCO.getInput(0);
13
- const input1 = await DSInputMaskCO.getInput(1);
14
- await expect(input0).toHaveValue('01/12/3400');
15
- await expect(input1).toHaveValue('01/12/3400');
16
- });
17
- });
18
- }
@@ -1,21 +0,0 @@
1
- import DSInputMaskCO from './DSInputMaskCO';
2
-
3
- describe('PUI-3889 - InputMask, visual tests', () => {
4
- beforeEach('loading page', async () => {
5
- const errorOnGo = await DSInputMaskCO.phoneURL.go();
6
- if (errorOnGo) throw errorOnGo;
7
- });
8
- it('should display', async () => {
9
- const snapshot = await browser.checkSnapshot(DSInputMaskCO.snapshotPath('phone'));
10
- await expect(snapshot).toEqual(0);
11
- });
12
-
13
- if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:options'].isTablet) {
14
- it('should format numbers properly', async () => {
15
- await (await DSInputMaskCO.getInput()).click();
16
- await DSInputMaskCO.type();
17
- const snapshot = await browser.checkSnapshot(DSInputMaskCO.snapshotPath('phone-format'));
18
- await expect(snapshot).toEqual(0);
19
- });
20
- }
21
- });
@@ -1,92 +0,0 @@
1
- import { Key } from 'webdriverio';
2
- import { PATH_END_OF_LIFE_INPUT_MASK, PATH_E2E_INPUT_MASK } from '../../../environments/storybook/paths';
3
- import { PageObject, Urlbuilder } from '../../helpers';
4
-
5
- export default class DSInputMaskCO extends PageObject {
6
- // Desktop
7
- static dateURL = new Urlbuilder(PATH_END_OF_LIFE_INPUT_MASK, 'date');
8
-
9
- static dateTimeURL = new Urlbuilder(PATH_END_OF_LIFE_INPUT_MASK, 'date-time');
10
-
11
- static decimalURL = new Urlbuilder(PATH_END_OF_LIFE_INPUT_MASK, 'decimal');
12
-
13
- static numberURL = new Urlbuilder(PATH_END_OF_LIFE_INPUT_MASK, 'number');
14
-
15
- static percentURL = new Urlbuilder(PATH_END_OF_LIFE_INPUT_MASK, 'percent');
16
-
17
- static phoneURL = new Urlbuilder(PATH_END_OF_LIFE_INPUT_MASK, 'phone');
18
-
19
- static phoneInternationalURL = new Urlbuilder(PATH_END_OF_LIFE_INPUT_MASK, 'phone-international');
20
-
21
- static ssnUrl = new Urlbuilder(PATH_END_OF_LIFE_INPUT_MASK, 'ssn');
22
-
23
- static ssnWithTooltip = new Urlbuilder(PATH_E2E_INPUT_MASK, 'ssn-with-tooltip');
24
-
25
- static usZipCodeUrl = new Urlbuilder(PATH_END_OF_LIFE_INPUT_MASK, 'us-zip-code');
26
-
27
- static autoCorrectDate = new Urlbuilder(PATH_END_OF_LIFE_INPUT_MASK, 'auto-correct-date');
28
-
29
- static decimalNumber = new Urlbuilder(PATH_END_OF_LIFE_INPUT_MASK, 'decimal-number');
30
-
31
- static alphanumericUCURL = new Urlbuilder(PATH_E2E_INPUT_MASK, 'alphanumeric-mask-ra-fields');
32
-
33
- static getUrl(component = 'basic') {
34
- return PageObject.getUrl(PATH_END_OF_LIFE_INPUT_MASK, component);
35
- }
36
-
37
- // Snapshots
38
- static snapshotPath(example = 'basic') {
39
- return PageObject.getSnapshotPathBuilder('InputMask', example);
40
- }
41
-
42
- // selectors
43
- static async getInput(index) {
44
- if (index) {
45
- return $$('[data-testid="ds-input_main-component"]')[index];
46
- }
47
- return $('[data-testid="ds-input_main-component"]');
48
- }
49
-
50
- static async type(chars = '1234567890') {
51
- // const input = this.getInput();
52
- const numbers = [...chars];
53
- // input.click();
54
- // eslint-disable-next-line no-restricted-syntax
55
- for (const char of numbers) {
56
- // https://github.com/webdriverio/webdriverio/issues/5092
57
- // using keys char by char results in correct order
58
- // eslint-disable-next-line no-await-in-loop
59
- await browser.keys(char);
60
- }
61
- }
62
-
63
- static async triggerArrowLeft(number = 1) {
64
- for (let x = 0; x < number; x += 1) {
65
- // eslint-disable-next-line no-await-in-loop
66
- await browser.keys(Key.ArrowLeft);
67
- }
68
- }
69
-
70
- static async triggerBackspace(number = 1) {
71
- for (let x = 0; x < number; x += 1) {
72
- // eslint-disable-next-line no-await-in-loop
73
- await browser.keys(Key.Backspace);
74
- }
75
- }
76
-
77
- static async getTooltip() {
78
- return $('[data-testid="popper-container"]');
79
- }
80
-
81
- static async blur() {
82
- await browser.execute(() => document.activeElement.blur());
83
- }
84
-
85
- static async clearValue(input) {
86
- await input.click();
87
- await this.triggerBackspace((await input.getValue()).length);
88
- }
89
-
90
- // actions
91
- // utils
92
- }
@@ -1,48 +0,0 @@
1
- import DSInputMaskCO from './DSInputMaskCO';
2
-
3
- if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:options'].isTablet) {
4
- describe('PUI-5908 - InputMask - Date, add and delete numbers', () => {
5
- beforeEach('loading page', async () => {
6
- const errorOnGo = await DSInputMaskCO.dateURL.go();
7
- if (errorOnGo) throw errorOnGo;
8
- });
9
- it('should delete numbers properly', async () => {
10
- await (await DSInputMaskCO.getInput()).click();
11
- await DSInputMaskCO.type('123456');
12
- await DSInputMaskCO.triggerBackspace(2);
13
- const inputValue = await (await DSInputMaskCO.getInput()).getValue();
14
- await expect(inputValue).toEqual('12/34');
15
- await DSInputMaskCO.triggerBackspace(3);
16
- const inputValue2 = await (await DSInputMaskCO.getInput()).getValue();
17
- await expect(inputValue2).toEqual('1');
18
- });
19
- it('should add numbers properly', async () => {
20
- await (await DSInputMaskCO.getInput()).click();
21
- await DSInputMaskCO.type('12');
22
- const inputValue = await (await DSInputMaskCO.getInput()).getValue();
23
- await expect(inputValue).toEqual('12');
24
- await DSInputMaskCO.type('34');
25
- const inputValue2 = await (await DSInputMaskCO.getInput()).getValue();
26
- await expect(inputValue2).toEqual('12/34');
27
- await DSInputMaskCO.triggerArrowLeft(3);
28
- await DSInputMaskCO.type('1289');
29
- const inputValue3 = await (await DSInputMaskCO.getInput()).getValue();
30
- await expect(inputValue3).toEqual('12/12/8934');
31
- });
32
- });
33
- describe('PUI-6053 - InputMask, Date - Caret remains in the right position after inserting a number', () => {
34
- beforeEach('loading page', async () => {
35
- const errorOnGo = await DSInputMaskCO.dateURL.go();
36
- if (errorOnGo) throw errorOnGo;
37
- });
38
- it('should not move caret to last position', async () => {
39
- const DSInputMask = await DSInputMaskCO.getInput();
40
- await DSInputMask.click();
41
- await DSInputMaskCO.type('11223333');
42
- await DSInputMaskCO.triggerArrowLeft(2);
43
- await DSInputMaskCO.type('aabbcc45');
44
- const inputValue = await DSInputMask.getValue();
45
- await expect(inputValue).toEqual('11/22/3345');
46
- });
47
- });
48
- }