dimsum-e2e-tests 3.70.0-next.3 → 3.70.0-next.31
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 +158 -0
- package/ds-accordion-native/DSAccordionNative.axe-core.func.spec.js +117 -0
- package/ds-accordion-native/DSAccordionNative.func.spec.js +178 -0
- package/ds-accordion-native/DSAccordionNative.visual.spec.js +131 -0
- package/ds-accordion-native/DSAccordionNativeCO.js +149 -0
- package/ds-accordion-native/aria-disabled/DSAccordionNative.aria-disabled.axe-core.func.spec.js +25 -0
- package/ds-accordion-native/aria-disabled/DSAccordionNative.aria-disabled.visual.spec.js +27 -0
- package/ds-accordion-native/role/DSAccordionNative.role-heading.func.spec.js +27 -0
- package/ds-accordion-native/scrollable-content/DSAccordionNative.scrollable-content.visual.spec.js +48 -0
- package/ds-accordion-native/slots/DSAccordionNative.slots.axe-core.func.spec.js +25 -0
- package/ds-accordion-native/slots/DSAccordionNative.slots.func.spec.js +73 -0
- package/ds-accordion-native/slots/DSAccordionNative.slots.visual.spec.js +18 -0
- package/ds-accordion-native/wrapLabel/DSAccordionNative.wrap-label.visual.spec.js +22 -0
- package/ds-apppicker/DSAppPickerCO.js +1 -1
- package/ds-autocomplete/DSAutocomplete.visual.spec.js +34 -0
- package/ds-autocomplete/DSAutocompleteCO.js +2 -0
- package/ds-chat/DSChat.axe-core.func.spec.js +2 -2
- package/ds-chat/DSChat.visual.spec.js +3 -3
- package/ds-chat/DSChatCO.js +17 -23
- package/ds-chat/bubbles/slots/DSChatBubble.slots.axe-core.func.spec.js +24 -0
- package/ds-chat/bubbles/slots/DSChatBubble.slots.func.spec.js +49 -0
- package/ds-chat/bubbles/slots/DSChatBubble.slots.visual.spec.js +25 -0
- package/ds-chat/card/slots/DSChatCard.slots.axe-core.func.spec.js +24 -0
- package/ds-chat/card/slots/DSChatCard.slots.func.spec.js +47 -0
- package/ds-chat/card/slots/DSChatCard.slots.visual.spec.js +18 -0
- package/ds-chat/card/truncated-text/DSChatCard.truncated-text.func.spec.js +32 -0
- package/ds-chat/card/truncated-text/DSChatCard.truncated-text.visual.spec.js +26 -0
- package/ds-chat/card/with-notification-badges/DSChatCard.with-notification-badges.axe-core.func.spec.js +23 -0
- package/ds-chat/card/with-notification-badges/DSChatCard.with-notification-badges.visual.spec.js +17 -0
- package/ds-chat/components/BubbleCO.js +46 -3
- package/ds-chat/components/CardCO.js +77 -0
- package/ds-chat/components/ComposerCO.js +6 -6
- package/ds-chat/components/FloatingButtonCO.js +2 -2
- package/ds-chat/components/HeaderCO.js +2 -2
- package/ds-chat/components/TileCO.js +82 -0
- package/ds-chat/components/index.js +3 -2
- package/ds-chat/loadmore/DSChat-loadmore.func.spec.js +1 -1
- package/{ds-chat-tile → ds-chat/tile}/DSChat-tile.axe-core.func.spec.js +2 -2
- package/{ds-chat-tile → ds-chat/tile}/DSChat-tile.func.spec.js +1 -1
- package/{ds-chat-tile → ds-chat/tile}/DSChat-tile.visual.spec.js +2 -2
- package/{ds-chat-tile → ds-chat/tile}/aria-disabled/DSChat-tile.aria-disabled.axe-core.func.spec.js +2 -2
- package/{ds-chat-tile → ds-chat/tile}/aria-disabled/DSChat-tile.aria-disabled.visual.spec.js +1 -1
- package/ds-chat/tile/slots/DSChatTile.slots.func.spec.js +53 -0
- package/ds-chat/tile/slots/DSChatTile.slots.visual.spec.js +18 -0
- package/ds-controlled-form/ds-combobox/DSComboboxCO.js +2 -2
- package/ds-controlled-form/ds-controlled-checkbox/DSControlledCheckboxCO.js +1 -1
- package/ds-controlled-form/ds-controlled-inputgroup/DSControlledInputGroupCO.js +1 -1
- package/ds-data-table-async/DSDataTableCO.js +10 -12
- package/ds-data-table-async/basic/DSDataTable.basic.visual.spec.js +1 -1
- package/ds-data-table-async/components/FiltersCO.js +1 -1
- package/ds-data-table-async/components/HeaderCO.js +22 -10
- package/ds-dialog/DSDialog.visual.spec.js +16 -31
- package/ds-dialog/DSDialogCO.js +58 -0
- package/ds-dialog/alert-dialog/DSDialog.alert-dialog-critical.axe-core.func.spec.js +27 -0
- package/ds-dialog/alert-dialog/DSDialog.alert-dialog-critical.func.spec.js +56 -0
- package/ds-dialog/alert-dialog/DSDialog.alert-dialog-critical.visual.spec.js +20 -0
- package/ds-dialog/alert-dialog/DSDialog.alert-dialog-dismissible.axe-core.func.spec.js +25 -0
- package/ds-dialog/alert-dialog/DSDialog.alert-dialog-dismissible.func.spec.js +52 -0
- package/ds-dialog/alert-dialog/DSDialog.alert-dialog-dismissible.visual.spec.js +20 -0
- package/ds-dialog/axe-core/DSDialog.accessible-form.axe-core.func.spec.js +25 -0
- package/ds-dialog/axe-core/DSDialog.basic.axe-core.func.spec.js +25 -0
- package/ds-dialog/axe-core/DSDialog.centered.axe-core.func.spec.js +25 -0
- package/ds-dialog/axe-core/DSDialog.decision.axe-core.func.spec.js +57 -0
- package/ds-dialog/axe-core/DSDialog.long-body.axe-core.func.spec.js +25 -0
- package/ds-dialog/axe-core/DSDialog.warning.axe-core.func.spec.js +24 -0
- package/ds-dialog/axe-core/DSDialog.wizard.axe-core.func.spec.js +28 -0
- package/ds-dialog/click-outside/DSDialog.click-outside.func.spec.js +31 -0
- package/ds-dialog/esc-close/DSDialog.esc-close.func.spec.js +31 -0
- package/ds-dialog/flexible-heading-level/DSDialog.flexible-heading-level.axe-core.func.spec.js +46 -0
- package/ds-dialog/flexible-heading-level/DSDialog.flexible-heading-level.func.spec.js +50 -0
- package/ds-dialog/form-dialog-datepicker/DSDialog.form-datepicker.axe-core.func.spec.js +25 -0
- package/ds-dialog/form-dialog-datepicker/DSDialog.form-datepicker.visual.spec.js +37 -0
- package/ds-dialog/single-button-footer/DSDialog.single-button-footer.axe-core.func.spec.js +25 -0
- package/ds-dialog/single-button-footer/DSDialog.single-button-footer.visual.spec.js +20 -0
- package/ds-dialog/size-variants/DSDialog.size-variants.visual.spec.js +116 -0
- package/ds-floating-context/DSFloatingContextCO.js +10 -0
- package/ds-floating-context/placement/DSFloatingContext.placement.visual.spec.js +48 -0
- package/ds-form-combobox-multi/DSComboboxMultiCO.js +8 -2
- package/ds-form-combobox-multi/aria-busy-loading/DSComboboxMulti.aria-busy-loading.axe-core.func.spec.js +55 -0
- package/ds-form-combobox-multi/aria-busy-loading/DSComboboxMulti.aria-busy-loading.func.spec.js +57 -0
- package/ds-form-combobox-multi/aria-disabled/DSComboboxMulti.aria-disabled.visual.spec.js +15 -0
- package/ds-form-combobox-multi/disabled/DSComboboxMulti.disabled.axe-core.func.spec.js +24 -0
- package/ds-form-combobox-multi/inline/DSComboboxMulti.inline.visual.spec.js +21 -0
- package/ds-form-combobox-single/DSComboboxSingleCO.js +8 -2
- package/ds-form-combobox-single/aria-busy-loading/DSComboboxSingle.aria-busy-loading.axe-core.func.spec.js +49 -0
- package/ds-form-combobox-single/aria-busy-loading/DSComboboxSingle.aria-busy-loading.func.spec.js +54 -0
- package/ds-form-combobox-single/aria-disabled/DSComboboxSingle.aria-disabled.visual.spec.js +18 -0
- package/ds-form-combobox-single/disabled/DSComboboxSingle.disabled.axe-core.func.spec.js +24 -0
- package/ds-form-combobox-single/inline/DSComboboxSingle.inline.visual.spec.js +23 -0
- package/ds-form-native-select/NativeSelect.axe-core.func.spec.js +39 -0
- package/ds-form-native-select/NativeSelect.visual.spec.js +33 -0
- package/ds-form-native-select/NativeSelectCO.js +6 -0
- package/ds-form-native-select/option-selection/NativeSelect.option-selection.func.spec.js +25 -0
- package/ds-global-header/GlobalHeader.axe-core.func.spec.js +30 -0
- package/ds-global-header/GlobalHeader.visual.spec.js +31 -0
- package/ds-leftnavigation/LeftNavigationCO.js +2 -2
- package/ds-menu-button/DSMenuButtonCO.js +23 -0
- package/ds-menu-button/slots/DSMenuButton.slots.func.spec.js +40 -0
- package/ds-menu-button/slots/DSMenuButton.slots.visual.spec.js +26 -0
- package/ds-modal-slide/ModalSlideCO.js +39 -0
- package/ds-modal-slide/custom-header/ModalSlide.customHeader.focusRing.visual.spec.js +2 -1
- package/ds-modal-slide/slots/ModalSlide.slots.func.spec.js +74 -0
- package/ds-modal-slide/slots/ModalSlide.slots.visual.spec.js +27 -0
- package/ds-page-layout/PageLayoutCO.js +4 -4
- package/ds-progress-indicator/DSProgressIndicator.axe-core.func.spec.js +2 -0
- package/ds-progress-indicator/DSProgressIndicatorCO.js +1 -1
- package/ds-tab-button/DSTabButton.func.spec.js +1 -1
- package/ds-tabs/DSTabs.visual.spec.js +1 -2
- package/ds-tabs/DSTabsCO.js +2 -2
- package/ds-tabs/with-carousel/DSTabs.with-carousel.func.spec.js +22 -7
- package/ds-tabs/with-carousel/DSTabs.with-carousel.visual.spec.js +9 -9
- package/ds-tooltip-v3/DSTooltipV3CO.js +6 -0
- package/ds-tooltip-v3/aria-tooltip-pattern/DSTooltipV3.aria-tooltip-pattern.axe-core.func.spec.js +23 -0
- package/ds-tooltip-v3/aria-tooltip-pattern/DSTooltipV3.aria-tooltip-pattern.func.spec.js +29 -0
- package/ds-treeview/DSTreeViewCO.js +2 -2
- package/package.json +150 -153
- package/paths.js +8 -1
- package/ds-chat-tile/TileCO.js +0 -35
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,164 @@
|
|
|
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.31 (2026-06-12)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- storybook:: improve start logging exp ([#8102](https://git.elliemae.io/platform-ui/dimsum/issues/8102)) ([da22cef](https://git.elliemae.io/platform-ui/dimsum/commit/da22cef0401496b9d1d5432703fea28235e7ab6d))
|
|
11
|
+
|
|
12
|
+
## 3.70.0-next.30 (2026-06-12)
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
- ds-accordion:: pitfalls updated [PUI-17911](https://jira.elliemae.io/browse/PUI-17911) ([#8100](https://git.elliemae.io/platform-ui/dimsum/issues/8100)) ([f745362](https://git.elliemae.io/platform-ui/dimsum/commit/f74536235b9eedc75113bf39b127ddf3ecd30c51))
|
|
17
|
+
|
|
18
|
+
## 3.70.0-next.29 (2026-06-11)
|
|
19
|
+
|
|
20
|
+
**Note:** Version bump only for package dimsum-e2e-tests
|
|
21
|
+
|
|
22
|
+
## 3.70.0-next.28 (2026-06-10)
|
|
23
|
+
|
|
24
|
+
### Bug Fixes
|
|
25
|
+
|
|
26
|
+
- ds-form-combobox:: style group label per b3-strong spec and add grouped feature stories [PUI-15487](https://jira.elliemae.io/browse/PUI-15487) ([#8083](https://git.elliemae.io/platform-ui/dimsum/issues/8083)) ([a4713b7](https://git.elliemae.io/platform-ui/dimsum/commit/a4713b79b26ed2102a878ce7418031b77fca7746))
|
|
27
|
+
|
|
28
|
+
## 3.70.0-next.27 (2026-06-08)
|
|
29
|
+
|
|
30
|
+
**Note:** Version bump only for package dimsum-e2e-tests
|
|
31
|
+
|
|
32
|
+
## 3.70.0-next.26 (2026-06-04)
|
|
33
|
+
|
|
34
|
+
### Features
|
|
35
|
+
|
|
36
|
+
- ds-card-v3:: dimsum compliance [PUI-17888] (https://jira.elliemae.io/browse/PUI-17888) ([#8079](https://git.elliemae.io/platform-ui/dimsum/issues/8079)) ([4a2695f](https://git.elliemae.io/platform-ui/dimsum/commit/4a2695f012d92e25cfd779c90fc32303c5bc0c7f))
|
|
37
|
+
|
|
38
|
+
## 3.70.0-next.25 (2026-06-02)
|
|
39
|
+
|
|
40
|
+
**Note:** Version bump only for package dimsum-e2e-tests
|
|
41
|
+
|
|
42
|
+
## 3.70.0-next.24 (2026-06-02)
|
|
43
|
+
|
|
44
|
+
### Bug Fixes
|
|
45
|
+
|
|
46
|
+
- ds-form-native-select:: fix disabled color contrast [PUI-14617](https://jira.elliemae.io/browse/PUI-14617) ([#8070](https://git.elliemae.io/platform-ui/dimsum/issues/8070)) ([fcbf80e](https://git.elliemae.io/platform-ui/dimsum/commit/fcbf80efbd12904a003cdc3c69ff4be40d3777c8))
|
|
47
|
+
|
|
48
|
+
## 3.70.0-next.23 (2026-06-02)
|
|
49
|
+
|
|
50
|
+
### Bug Fixes
|
|
51
|
+
|
|
52
|
+
- ds-shuttle-v2:: Missing current selection announcement [PUI-15537](https://jira.elliemae.io/browse/PUI-15537) ([#8067](https://git.elliemae.io/platform-ui/dimsum/issues/8067)) ([614de10](https://git.elliemae.io/platform-ui/dimsum/commit/614de10c3c8ddf1c4f708b5195df6e025dc40c06))
|
|
53
|
+
|
|
54
|
+
## 3.70.0-next.22 (2026-06-01)
|
|
55
|
+
|
|
56
|
+
### Features
|
|
57
|
+
|
|
58
|
+
- dimsum:: portal final touches to search algorithm and load times [PUI-18454](https://jira.elliemae.io/browse/PUI-18454) ([#8065](https://git.elliemae.io/platform-ui/dimsum/issues/8065)) ([4f70bfd](https://git.elliemae.io/platform-ui/dimsum/commit/4f70bfd3a300de1baa3e0761e5b99c7ff88d968f))
|
|
59
|
+
|
|
60
|
+
## 3.70.0-next.21 (2026-06-01)
|
|
61
|
+
|
|
62
|
+
**Note:** Version bump only for package dimsum-e2e-tests
|
|
63
|
+
|
|
64
|
+
## 3.70.0-next.20 (2026-06-01)
|
|
65
|
+
|
|
66
|
+
### Bug Fixes
|
|
67
|
+
|
|
68
|
+
- environment:: fix CO URL routing for ds-chat [PUI-18039](https://jira.elliemae.io/browse/PUI-18039) ([#8064](https://git.elliemae.io/platform-ui/dimsum/issues/8064)) ([ad7ba54](https://git.elliemae.io/platform-ui/dimsum/commit/ad7ba54dc4aafdcff00aeb17b20a39f3cd9b458b))
|
|
69
|
+
|
|
70
|
+
## 3.70.0-next.19 (2026-05-28)
|
|
71
|
+
|
|
72
|
+
### Features
|
|
73
|
+
|
|
74
|
+
- ds-chat-empty-state:: slot system constants module, test pillars, deviations register, promote storybook to Chat section [PUI-17908](https://jira.elliemae.io/browse/PUI-17908) ([#8062](https://git.elliemae.io/platform-ui/dimsum/issues/8062)) ([08ed09e](https://git.elliemae.io/platform-ui/dimsum/commit/08ed09e95484763ec0fdddc81d1a8124a3918333))
|
|
75
|
+
|
|
76
|
+
## 3.70.0-next.18 (2026-05-27)
|
|
77
|
+
|
|
78
|
+
### Features
|
|
79
|
+
|
|
80
|
+
- ds-chat-message-delimeter:: bring package to full Dimsum compliance — slot system, constants module, test pillars, deviations register, promote storybook to Chat section [PUI-17908](https://jira.elliemae.io/browse/PUI-17908) ([#8061](https://git.elliemae.io/platform-ui/dimsum/issues/8061)) ([d6cd0f9](https://git.elliemae.io/platform-ui/dimsum/commit/d6cd0f93543645f14d0792f78cf4ecfccf1b9bef))
|
|
81
|
+
|
|
82
|
+
## 3.70.0-next.17 (2026-05-27)
|
|
83
|
+
|
|
84
|
+
### Features
|
|
85
|
+
|
|
86
|
+
- dimsum:: new portal now has support for searching content [PUI-18454](https://jira.elliemae.io/browse/PUI-18454) ([#8059](https://git.elliemae.io/platform-ui/dimsum/issues/8059)) ([405dbe5](https://git.elliemae.io/platform-ui/dimsum/commit/405dbe5203782b4019c3d31777ca9a525f54518d))
|
|
87
|
+
|
|
88
|
+
## 3.70.0-next.16 (2026-05-25)
|
|
89
|
+
|
|
90
|
+
**Note:** Version bump only for package dimsum-e2e-tests
|
|
91
|
+
|
|
92
|
+
## 3.70.0-next.15 (2026-05-22)
|
|
93
|
+
|
|
94
|
+
### Features
|
|
95
|
+
|
|
96
|
+
- dimsum:: created open-spec dimsum wrapper for monorepo operation [PUI-18489](https://jira.elliemae.io/browse/PUI-18489) ([#8045](https://git.elliemae.io/platform-ui/dimsum/issues/8045)) ([0c8e422](https://git.elliemae.io/platform-ui/dimsum/commit/0c8e422cb87de489439faa38eab4129a6ebf8299))
|
|
97
|
+
|
|
98
|
+
## 3.70.0-next.14 (2026-05-21)
|
|
99
|
+
|
|
100
|
+
### Features
|
|
101
|
+
|
|
102
|
+
- ds-chat:: add visual and functional tests for slot support [PUI-17908](https://jira.elliemae.io/browse/PUI-17908) ([#8042](https://git.elliemae.io/platform-ui/dimsum/issues/8042)) ([e1fe993](https://git.elliemae.io/platform-ui/dimsum/commit/e1fe993dca1b73f003daa87558fd75097d2bb79a))
|
|
103
|
+
|
|
104
|
+
## 3.70.0-next.13 (2026-05-19)
|
|
105
|
+
|
|
106
|
+
### Bug Fixes
|
|
107
|
+
|
|
108
|
+
- ds-data-table:: clickout side filters improve [PUI-18469](https://jira.elliemae.io/browse/PUI-18469) ([#8035](https://git.elliemae.io/platform-ui/dimsum/issues/8035)) ([b6d1549](https://git.elliemae.io/platform-ui/dimsum/commit/b6d1549b9b369692ab93487ba24a37216f4738de))
|
|
109
|
+
|
|
110
|
+
## 3.70.0-next.12 (2026-05-15)
|
|
111
|
+
|
|
112
|
+
### Features
|
|
113
|
+
|
|
114
|
+
- ds-chat-floating-button:: dimsum compliance and slots support [PUI-17908](https://jira.elliemae.io/browse/PUI-17908) ([#8032](https://git.elliemae.io/platform-ui/dimsum/issues/8032)) ([9bc4ae8](https://git.elliemae.io/platform-ui/dimsum/commit/9bc4ae814b9276d369688d4ab4e0150b3e7cc09a))
|
|
115
|
+
|
|
116
|
+
## 3.70.0-next.11 (2026-05-14)
|
|
117
|
+
|
|
118
|
+
### Bug Fixes
|
|
119
|
+
|
|
120
|
+
- ds-combobox-multi:: combobox aria busy e2e [PUI-18445](https://jira.elliemae.io/browse/PUI-18445) ([#8027](https://git.elliemae.io/platform-ui/dimsum/issues/8027)) ([cdbff4e](https://git.elliemae.io/platform-ui/dimsum/commit/cdbff4eb2a09af6de888dc8a13af5027836bd0a4))
|
|
121
|
+
|
|
122
|
+
## 3.70.0-next.10 (2026-05-14)
|
|
123
|
+
|
|
124
|
+
### Features
|
|
125
|
+
|
|
126
|
+
- ds-chat-sidebar:: dimsum compliance and slots support [PUI-17908](https://jira.elliemae.io/browse/PUI-17908) ([#8030](https://git.elliemae.io/platform-ui/dimsum/issues/8030)) ([0377613](https://git.elliemae.io/platform-ui/dimsum/commit/0377613123d62602a8128d754f201f45a4c3f396))
|
|
127
|
+
|
|
128
|
+
## 3.70.0-next.9 (2026-05-12)
|
|
129
|
+
|
|
130
|
+
### Features
|
|
131
|
+
|
|
132
|
+
- ds-floating-context:: external ref feature [PUI-18440](https://jira.elliemae.io/browse/PUI-18440) ([#8023](https://git.elliemae.io/platform-ui/dimsum/issues/8023)) ([ee46ed5](https://git.elliemae.io/platform-ui/dimsum/commit/ee46ed5163f1771ff6dee22ad0654131fd13ff56))
|
|
133
|
+
|
|
134
|
+
## 3.70.0-next.8 (2026-05-12)
|
|
135
|
+
|
|
136
|
+
### Bug Fixes
|
|
137
|
+
|
|
138
|
+
- ds-chat-bubble:: add missing export in test ([57d294a](https://git.elliemae.io/platform-ui/dimsum/commit/57d294aef0b2739cb2ac0afe673d9c4ccfe0e718))
|
|
139
|
+
|
|
140
|
+
## 3.70.0-next.7 (2026-05-11)
|
|
141
|
+
|
|
142
|
+
### Bug Fixes
|
|
143
|
+
|
|
144
|
+
- ds-modal-slide:: added e2e test for slots [PUI-18428](https://jira.elliemae.io/browse/PUI-18428) ([#8016](https://git.elliemae.io/platform-ui/dimsum/issues/8016)) ([8fa99f8](https://git.elliemae.io/platform-ui/dimsum/commit/8fa99f8e14fe7d8b1fedd916e392761f2188904e))
|
|
145
|
+
|
|
146
|
+
## 3.70.0-next.6 (2026-05-11)
|
|
147
|
+
|
|
148
|
+
### Bug Fixes
|
|
149
|
+
|
|
150
|
+
- ds-form-combobox:: replace racing assertive live region with aria-busy + polite count [PUI-18034](https://jira.elliemae.io/browse/PUI-18034) ([#8018](https://git.elliemae.io/platform-ui/dimsum/issues/8018)) ([6e02644](https://git.elliemae.io/platform-ui/dimsum/commit/6e02644e2c17a53c6ca87737a6e10b59adce57fb))
|
|
151
|
+
|
|
152
|
+
## 3.70.0-next.5 (2026-05-08)
|
|
153
|
+
|
|
154
|
+
### Features
|
|
155
|
+
|
|
156
|
+
- ds-popperjs:: deprecated & migration to fc [PUI-18079](https://jira.elliemae.io/browse/PUI-18079) ([#8000](https://git.elliemae.io/platform-ui/dimsum/issues/8000)) ([c5f1d5c](https://git.elliemae.io/platform-ui/dimsum/commit/c5f1d5c0163f831b33327e5783d26380a9f2798a))
|
|
157
|
+
|
|
158
|
+
## 3.70.0-next.4 (2026-05-06)
|
|
159
|
+
|
|
160
|
+
### Bug Fixes
|
|
161
|
+
|
|
162
|
+
- ds-form-combobox:: fixing defect [PUI-17903](https://jira.elliemae.io/browse/PUI-17903) ([#8007](https://git.elliemae.io/platform-ui/dimsum/issues/8007)) ([16df5f9](https://git.elliemae.io/platform-ui/dimsum/commit/16df5f9395d38d9dce4833d50c2e65ed692277a1))
|
|
163
|
+
|
|
6
164
|
## 3.70.0-next.3 (2026-05-05)
|
|
7
165
|
|
|
8
166
|
### Features
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
/* eslint-disable max-lines */
|
|
2
|
+
import { Key } from 'webdriverio';
|
|
3
|
+
import DSAccordionNativeCO from './DSAccordionNativeCO';
|
|
4
|
+
import { axeCoreCheck } from '../helpers';
|
|
5
|
+
|
|
6
|
+
if (
|
|
7
|
+
(!browser.capabilities['ice:options'].isPhone &&
|
|
8
|
+
!browser.capabilities['ice:options'].isTablet &&
|
|
9
|
+
browser.capabilities.browserName === 'chrome') ||
|
|
10
|
+
browser.capabilities.browserName === 'Chrome'
|
|
11
|
+
) {
|
|
12
|
+
describe('PUI-18083 - AccordionNative, header controls & subtitle -AxeCore', () => {
|
|
13
|
+
before('loading page', async () => {
|
|
14
|
+
const errorOnGo = await DSAccordionNativeCO.headerControls.go();
|
|
15
|
+
if (errorOnGo) throw errorOnGo;
|
|
16
|
+
});
|
|
17
|
+
it('01: should display accordion expanded with header props (and subtitle) and pass axecore scan', async () => {
|
|
18
|
+
await (await DSAccordionNativeCO.getAccordionHeader(1)).waitForDisplayed();
|
|
19
|
+
await (await DSAccordionNativeCO.getAccordionHeader(1)).click();
|
|
20
|
+
const content = await DSAccordionNativeCO.getContents(1);
|
|
21
|
+
await content.waitForDisplayed();
|
|
22
|
+
const result = await axeCoreCheck();
|
|
23
|
+
expect(result.length).toBe(0);
|
|
24
|
+
});
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
describe('PUI-18083 - AccordionNative, basic -AxeCore', () => {
|
|
28
|
+
before('loading page', async () => {
|
|
29
|
+
const errorOnGo = await DSAccordionNativeCO.basicURL.go();
|
|
30
|
+
if (errorOnGo) throw errorOnGo;
|
|
31
|
+
});
|
|
32
|
+
it('01: should display the accordion closed and pass axecore test', async () => {
|
|
33
|
+
await (await DSAccordionNativeCO.getAccordionHeader(1)).waitForDisplayed();
|
|
34
|
+
const result = await axeCoreCheck();
|
|
35
|
+
expect(result.length).toBe(0);
|
|
36
|
+
});
|
|
37
|
+
it('02: should open the accordion and pass axecore test', async () => {
|
|
38
|
+
await (await DSAccordionNativeCO.getAccordionHeader(1)).click();
|
|
39
|
+
const content = await DSAccordionNativeCO.getContents(1);
|
|
40
|
+
await content.waitForDisplayed();
|
|
41
|
+
const result = await axeCoreCheck();
|
|
42
|
+
expect(result.length).toBe(0);
|
|
43
|
+
});
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
describe('PUI-18083 - AccordionNative, Disabled -AxeCore', () => {
|
|
47
|
+
before('loading page', async () => {
|
|
48
|
+
const errorOnGo = await DSAccordionNativeCO.disabled.go();
|
|
49
|
+
if (errorOnGo) throw errorOnGo;
|
|
50
|
+
});
|
|
51
|
+
it('01: should display the disabled accordion and pass axecore test', async () => {
|
|
52
|
+
await (await DSAccordionNativeCO.getAccordionHeader(1)).waitForDisplayed();
|
|
53
|
+
const result = await axeCoreCheck();
|
|
54
|
+
expect(result.length).toBe(0);
|
|
55
|
+
});
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
describe('PUI-18083 - AccordionNative, multiple -AxeCore', () => {
|
|
59
|
+
before('loading page', async () => {
|
|
60
|
+
const errorOnGo = await DSAccordionNativeCO.multipleURL.go();
|
|
61
|
+
if (errorOnGo) throw errorOnGo;
|
|
62
|
+
});
|
|
63
|
+
it('01: should open the second accordion without closing the first and pass axecore test', async () => {
|
|
64
|
+
await (await DSAccordionNativeCO.getAccordionHeader(1)).click();
|
|
65
|
+
await (await DSAccordionNativeCO.getAccordionHeader(0)).click();
|
|
66
|
+
const firstContent = await DSAccordionNativeCO.getContents(0);
|
|
67
|
+
const secondContent = await DSAccordionNativeCO.getContents(1);
|
|
68
|
+
await firstContent.waitForDisplayed();
|
|
69
|
+
await secondContent.waitForDisplayed();
|
|
70
|
+
const result = await axeCoreCheck();
|
|
71
|
+
expect(result.length).toBe(0);
|
|
72
|
+
});
|
|
73
|
+
});
|
|
74
|
+
|
|
75
|
+
describe('PUI-18083 - AccordionNative, Custom actions with hooks -AxeCore', () => {
|
|
76
|
+
before('loading page', async () => {
|
|
77
|
+
const errorOnGo = await DSAccordionNativeCO.customActionHooks.go();
|
|
78
|
+
if (errorOnGo) throw errorOnGo;
|
|
79
|
+
});
|
|
80
|
+
it('01: should have custom actions rendered and pass axecore scan', async () => {
|
|
81
|
+
const customAction1text = await DSAccordionNativeCO.getButtonsByIndex(0);
|
|
82
|
+
const customAction2text = await DSAccordionNativeCO.getButtonsByIndex(1);
|
|
83
|
+
const customAction3text = await DSAccordionNativeCO.getButtonsByIndex(2);
|
|
84
|
+
await customAction1text.waitForDisplayed();
|
|
85
|
+
await customAction2text.waitForDisplayed();
|
|
86
|
+
await customAction3text.waitForDisplayed();
|
|
87
|
+
const result = await axeCoreCheck();
|
|
88
|
+
expect(result.length).toBe(0);
|
|
89
|
+
});
|
|
90
|
+
});
|
|
91
|
+
|
|
92
|
+
describe('PUI-18083 - AccordionNative, Actionable within -AxeCore', () => {
|
|
93
|
+
before('loading page', async () => {
|
|
94
|
+
const errorOnGo = await DSAccordionNativeCO.datepickerInside.go();
|
|
95
|
+
if (errorOnGo) throw errorOnGo;
|
|
96
|
+
});
|
|
97
|
+
it('01: should input focused within accordion and pass axecore scan', async () => {
|
|
98
|
+
await browser.keys(Key.Tab);
|
|
99
|
+
await browser.keys(Key.Tab);
|
|
100
|
+
const result = await axeCoreCheck();
|
|
101
|
+
expect(result.length).toBe(0);
|
|
102
|
+
});
|
|
103
|
+
});
|
|
104
|
+
|
|
105
|
+
describe('PUI-18083 - AccordionNative, keep content mounted -a11y', () => {
|
|
106
|
+
before('loading page', async () => {
|
|
107
|
+
const errorOnGo = await DSAccordionNativeCO.keepContentURL.go();
|
|
108
|
+
if (errorOnGo) throw errorOnGo;
|
|
109
|
+
});
|
|
110
|
+
it('01: should be a11y compliant with hidden accordion content', async () => {
|
|
111
|
+
const accordionContent = await $('[data-testid="accordion-native-keep-content"]');
|
|
112
|
+
await accordionContent.waitForExist();
|
|
113
|
+
const result = await axeCoreCheck();
|
|
114
|
+
expect(result.length).toBe(0);
|
|
115
|
+
});
|
|
116
|
+
});
|
|
117
|
+
}
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
/* eslint-disable max-lines */
|
|
2
|
+
import { Key } from 'webdriverio';
|
|
3
|
+
import DSAccordionNativeCO from './DSAccordionNativeCO';
|
|
4
|
+
|
|
5
|
+
if (!browser.capabilities['ice:options'].isPhone) {
|
|
6
|
+
describe('PUI-18083 - AccordionNative, basic -func', () => {
|
|
7
|
+
before('loading page', async () => {
|
|
8
|
+
const errorOnGo = await DSAccordionNativeCO.basicURL.go();
|
|
9
|
+
if (errorOnGo) throw errorOnGo;
|
|
10
|
+
});
|
|
11
|
+
it('01: should display the accordion closed', async () => {
|
|
12
|
+
const firstContent = await DSAccordionNativeCO.getContents(1);
|
|
13
|
+
await expect(firstContent).not.toBeDisplayedInViewport();
|
|
14
|
+
});
|
|
15
|
+
it('02: should open the accordion', async () => {
|
|
16
|
+
await (await DSAccordionNativeCO.getAccordionHeader(1)).click();
|
|
17
|
+
const firstContent = await DSAccordionNativeCO.getContents(1);
|
|
18
|
+
await expect(firstContent).toBeDisplayedInViewport();
|
|
19
|
+
});
|
|
20
|
+
it('03: should open the third accordion closing the second', async () => {
|
|
21
|
+
await (await DSAccordionNativeCO.getAccordionHeader(2)).click();
|
|
22
|
+
const firstContent = await DSAccordionNativeCO.getContents(1);
|
|
23
|
+
const secondContent = await DSAccordionNativeCO.getContents(2);
|
|
24
|
+
await expect(firstContent).not.toBeDisplayedInViewport();
|
|
25
|
+
await expect(secondContent).toBeDisplayedInViewport();
|
|
26
|
+
});
|
|
27
|
+
it('04: should close the accordion', async () => {
|
|
28
|
+
await (await DSAccordionNativeCO.getAccordionHeader(2)).click();
|
|
29
|
+
const secondContent = await DSAccordionNativeCO.getContents(2);
|
|
30
|
+
await expect(secondContent).not.toBeDisplayedInViewport();
|
|
31
|
+
});
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:options'].isTablet) {
|
|
36
|
+
describe('PUI-18083 - AccordionNative, multiple -func', () => {
|
|
37
|
+
before('loading page', async () => {
|
|
38
|
+
const errorOnGo = await DSAccordionNativeCO.multipleURL.go();
|
|
39
|
+
if (errorOnGo) throw errorOnGo;
|
|
40
|
+
});
|
|
41
|
+
it('01: should display the accordion expanded', async () => {
|
|
42
|
+
await (await DSAccordionNativeCO.getAccordionHeader(0)).click();
|
|
43
|
+
const firstContent = await DSAccordionNativeCO.getContents(0);
|
|
44
|
+
await expect(firstContent).toBeDisplayedInViewport();
|
|
45
|
+
});
|
|
46
|
+
it('02: should open the second accordion without closing the first', async () => {
|
|
47
|
+
await (await DSAccordionNativeCO.getAccordionHeader(1)).click();
|
|
48
|
+
const firstContent = await DSAccordionNativeCO.getContents(0);
|
|
49
|
+
const secondContent = await DSAccordionNativeCO.getContents(1);
|
|
50
|
+
await expect(firstContent).toBeDisplayedInViewport();
|
|
51
|
+
await expect(secondContent).toBeDisplayedInViewport();
|
|
52
|
+
});
|
|
53
|
+
it('03: should close the second accordion', async () => {
|
|
54
|
+
await (await DSAccordionNativeCO.getAccordionHeader(1)).click();
|
|
55
|
+
const firstContent = await DSAccordionNativeCO.getContents(0);
|
|
56
|
+
const secondContent = await DSAccordionNativeCO.getContents(1);
|
|
57
|
+
await expect(firstContent).toBeDisplayedInViewport();
|
|
58
|
+
await expect(secondContent).not.toBeDisplayedInViewport();
|
|
59
|
+
});
|
|
60
|
+
it('04: should close the first accordion', async () => {
|
|
61
|
+
await (await DSAccordionNativeCO.getAccordionHeader(0)).click();
|
|
62
|
+
const firstContent = await DSAccordionNativeCO.getContents(0);
|
|
63
|
+
const secondContent = await DSAccordionNativeCO.getContents(1);
|
|
64
|
+
await expect(firstContent).not.toBeDisplayedInViewport();
|
|
65
|
+
await expect(secondContent).not.toBeDisplayedInViewport();
|
|
66
|
+
});
|
|
67
|
+
});
|
|
68
|
+
|
|
69
|
+
describe('PUI-18083 - AccordionNative, keyboard nav -a11y', () => {
|
|
70
|
+
before('loading page', async () => {
|
|
71
|
+
const errorOnGo = await DSAccordionNativeCO.customActions.go();
|
|
72
|
+
if (errorOnGo) throw errorOnGo;
|
|
73
|
+
});
|
|
74
|
+
it('01: should press tab and focus on first accordion', async () => {
|
|
75
|
+
const firstAccordion = await DSAccordionNativeCO.getAccordionHeader(0);
|
|
76
|
+
await browser.keys(Key.Tab);
|
|
77
|
+
await expect(firstAccordion).toBeFocused();
|
|
78
|
+
});
|
|
79
|
+
// The POC renders the custom action as a SIBLING of <summary>, not inside it,
|
|
80
|
+
// so tabbing from summary lands on the action button next — same observable
|
|
81
|
+
// tab order as the prod accordion, achieved via DOM order instead of slot
|
|
82
|
+
// embedding.
|
|
83
|
+
it('02: should focus the first accordion button after press tab', async () => {
|
|
84
|
+
await browser.keys(Key.Tab);
|
|
85
|
+
const firstButton = await DSAccordionNativeCO.getButtonsByIndex(0);
|
|
86
|
+
await expect(firstButton).toBeFocused();
|
|
87
|
+
});
|
|
88
|
+
it('03: should focus the second accordion and expand it after press tab and space', async () => {
|
|
89
|
+
await browser.keys(Key.Tab);
|
|
90
|
+
await browser.keys(Key.Space);
|
|
91
|
+
const secondAccordion = await DSAccordionNativeCO.getAccordionHeader(1);
|
|
92
|
+
const secondContent = await DSAccordionNativeCO.getContents(1);
|
|
93
|
+
await expect(secondAccordion).toBeFocused();
|
|
94
|
+
await expect(secondContent).toBeDisplayedInViewport();
|
|
95
|
+
});
|
|
96
|
+
it('04: should go back to the button when pressing shift+tab (goes backwards)', async () => {
|
|
97
|
+
await browser.keys([Key.Shift, Key.Tab]);
|
|
98
|
+
const firstButton = await DSAccordionNativeCO.getButtonsByIndex(0);
|
|
99
|
+
await expect(firstButton).toBeFocused();
|
|
100
|
+
});
|
|
101
|
+
});
|
|
102
|
+
|
|
103
|
+
describe('PUI-18083 - AccordionNative, Custom actions with hooks', () => {
|
|
104
|
+
before('loading page', async () => {
|
|
105
|
+
const errorOnGo = await DSAccordionNativeCO.customActionHooks.go();
|
|
106
|
+
if (errorOnGo) throw errorOnGo;
|
|
107
|
+
});
|
|
108
|
+
it('01: should have custom actions rendered with ON text by default', async () => {
|
|
109
|
+
const customAction1text = await (await DSAccordionNativeCO.getButtonsByIndex(0)).getText();
|
|
110
|
+
const customAction2text = await (await DSAccordionNativeCO.getButtonsByIndex(1)).getText();
|
|
111
|
+
const customAction3text = await (await DSAccordionNativeCO.getButtonsByIndex(2)).getText();
|
|
112
|
+
await expect(customAction1text).toEqual('on');
|
|
113
|
+
await expect(customAction2text).toEqual('on');
|
|
114
|
+
await expect(customAction3text).toEqual('on');
|
|
115
|
+
});
|
|
116
|
+
it('02: should re-render the first two custom actions when activating them to have OFF text', async () => {
|
|
117
|
+
const customAction1 = await DSAccordionNativeCO.getButtonsByIndex(0);
|
|
118
|
+
await customAction1.click();
|
|
119
|
+
await browser.keys(Key.Tab);
|
|
120
|
+
await browser.keys(Key.Enter);
|
|
121
|
+
await browser.keys(Key.Tab);
|
|
122
|
+
await browser.keys(Key.Enter);
|
|
123
|
+
const customAction1text = await customAction1.getText();
|
|
124
|
+
const customAction2text = await (await DSAccordionNativeCO.getButtonsByIndex(1)).getText();
|
|
125
|
+
const customAction3text = await (await DSAccordionNativeCO.getButtonsByIndex(2)).getText();
|
|
126
|
+
await expect(customAction1text).toEqual('off');
|
|
127
|
+
await expect(customAction2text).toEqual('off');
|
|
128
|
+
await expect(customAction3text).toEqual('on');
|
|
129
|
+
});
|
|
130
|
+
});
|
|
131
|
+
|
|
132
|
+
describe('PUI-18083 - AccordionNative, conditional render -Func', () => {
|
|
133
|
+
before('loading page', async () => {
|
|
134
|
+
const errorOnGo = await DSAccordionNativeCO.conditionalRender.go();
|
|
135
|
+
if (errorOnGo) throw errorOnGo;
|
|
136
|
+
});
|
|
137
|
+
it('01: should display second accordion when condition is true', async () => {
|
|
138
|
+
const headers = await DSAccordionNativeCO.getAccordionHeaders();
|
|
139
|
+
// BaseRate, BaseRate2, BaseRate3 — index 1 is BaseRate2.
|
|
140
|
+
await headers[1].click();
|
|
141
|
+
const secondContent = await DSAccordionNativeCO.getContents(1);
|
|
142
|
+
await expect(secondContent).toBeDisplayedInViewport();
|
|
143
|
+
});
|
|
144
|
+
it('02: should remove second accordion from DOM after toggle', async () => {
|
|
145
|
+
const toggleBtn = await $('[data-testid="toggle-btn"]');
|
|
146
|
+
await toggleBtn.click();
|
|
147
|
+
// After the toggle, only 2 items remain (BaseRate + BaseRate3). Asserting
|
|
148
|
+
// count is more robust than asserting visibility on a removed node.
|
|
149
|
+
const headers = await DSAccordionNativeCO.getAccordionHeaders();
|
|
150
|
+
await expect(headers.length).toEqual(2);
|
|
151
|
+
});
|
|
152
|
+
});
|
|
153
|
+
|
|
154
|
+
describe('PUI-18083 - AccordionNative, keep content mounted -a11y', () => {
|
|
155
|
+
before('loading page', async () => {
|
|
156
|
+
const errorOnGo = await DSAccordionNativeCO.keepContentURL.go();
|
|
157
|
+
if (errorOnGo) throw errorOnGo;
|
|
158
|
+
});
|
|
159
|
+
it('01: should have accordion closed and content existing in DOM by default', async () => {
|
|
160
|
+
const accordionContent = await $('[data-testid="accordion-native-keep-content"]');
|
|
161
|
+
await expect(accordionContent).toExist();
|
|
162
|
+
await expect(accordionContent).not.toBeDisplayed();
|
|
163
|
+
});
|
|
164
|
+
it('02: should have accordion expanded and content visible', async () => {
|
|
165
|
+
const firstAccordion = await DSAccordionNativeCO.getAccordionHeader(0);
|
|
166
|
+
await firstAccordion.click();
|
|
167
|
+
const accordionContent = await $('[data-testid="accordion-native-keep-content"]');
|
|
168
|
+
await expect(accordionContent).toBeDisplayed();
|
|
169
|
+
});
|
|
170
|
+
it('03: should have accordion closed and content still in DOM', async () => {
|
|
171
|
+
const firstAccordion = await DSAccordionNativeCO.getAccordionHeader(0);
|
|
172
|
+
await firstAccordion.click();
|
|
173
|
+
const accordionContent = await $('[data-testid="accordion-native-keep-content"]');
|
|
174
|
+
await expect(accordionContent).not.toBeDisplayed();
|
|
175
|
+
await expect(accordionContent).toExist();
|
|
176
|
+
});
|
|
177
|
+
});
|
|
178
|
+
}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import DSAccordionNativeCO from './DSAccordionNativeCO';
|
|
2
|
+
import { mouseOver } from '../helpers';
|
|
3
|
+
|
|
4
|
+
if (!browser.capabilities['ice:options'].isPhone && !browser.capabilities['ice:options'].isTablet) {
|
|
5
|
+
describe('PUI-18083 - AccordionNative visual tests, basic', () => {
|
|
6
|
+
before('loading page', async () => {
|
|
7
|
+
const errorOnGo = await DSAccordionNativeCO.basicURL.go();
|
|
8
|
+
if (errorOnGo) throw errorOnGo;
|
|
9
|
+
});
|
|
10
|
+
it('01: should display all closed', async () => {
|
|
11
|
+
await (await DSAccordionNativeCO.getAccordionHeader(1)).waitForDisplayed();
|
|
12
|
+
const snapshot = await browser.checkSnapshot(DSAccordionNativeCO.snapshotPath('accordion-native-closed'));
|
|
13
|
+
await expect(snapshot).toEqual(0);
|
|
14
|
+
});
|
|
15
|
+
it('02: should display open first one', async () => {
|
|
16
|
+
await (await DSAccordionNativeCO.getAccordionHeader(1)).waitForDisplayed();
|
|
17
|
+
await (await DSAccordionNativeCO.getAccordionHeader(1)).click();
|
|
18
|
+
const snapshot = await browser.checkSnapshot(
|
|
19
|
+
DSAccordionNativeCO.snapshotPath('accordion-native-one-open'),
|
|
20
|
+
);
|
|
21
|
+
await expect(snapshot).toEqual(0);
|
|
22
|
+
});
|
|
23
|
+
it('03: should display focus on the second, hover on third', async () => {
|
|
24
|
+
await mouseOver(await DSAccordionNativeCO.getAccordionHeader(2));
|
|
25
|
+
const snapshot = await browser.checkSnapshot(
|
|
26
|
+
DSAccordionNativeCO.snapshotPath('accordion-native-interacted-states'),
|
|
27
|
+
);
|
|
28
|
+
await expect(snapshot).toEqual(0);
|
|
29
|
+
});
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
describe('PUI-18083 - AccordionNative, header props -visual', () => {
|
|
33
|
+
before('loading page', async () => {
|
|
34
|
+
const errorOnGo = await DSAccordionNativeCO.headerControls.go();
|
|
35
|
+
if (errorOnGo) throw errorOnGo;
|
|
36
|
+
});
|
|
37
|
+
it('01: should display accordion expanded with header props', async () => {
|
|
38
|
+
await (await DSAccordionNativeCO.getAccordionHeader(1)).waitForDisplayed();
|
|
39
|
+
await (await DSAccordionNativeCO.getAccordionHeader(1)).click();
|
|
40
|
+
const content = await DSAccordionNativeCO.getContents(1);
|
|
41
|
+
await content.waitForDisplayed();
|
|
42
|
+
const snapshot = await browser.checkSnapshot(
|
|
43
|
+
DSAccordionNativeCO.snapshotPath('accordion-native-header-props'),
|
|
44
|
+
);
|
|
45
|
+
await expect(snapshot).toEqual(0);
|
|
46
|
+
});
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
describe('PUI-18083 - AccordionNative, custom actions -visual', () => {
|
|
50
|
+
before('loading page', async () => {
|
|
51
|
+
const errorOnGo = await DSAccordionNativeCO.customActions.go();
|
|
52
|
+
if (errorOnGo) throw errorOnGo;
|
|
53
|
+
});
|
|
54
|
+
it('01: should display accordion with custom actions collapsed', async () => {
|
|
55
|
+
const snapshot = await browser.checkSnapshot(
|
|
56
|
+
DSAccordionNativeCO.snapshotPath('accordion-native-customactions-col'),
|
|
57
|
+
);
|
|
58
|
+
await expect(snapshot).toEqual(0);
|
|
59
|
+
});
|
|
60
|
+
it('02: should display accordion with custom actions expanded', async () => {
|
|
61
|
+
await (await DSAccordionNativeCO.getAccordionHeader(0)).waitForDisplayed();
|
|
62
|
+
await (await DSAccordionNativeCO.getAccordionHeader(0)).click();
|
|
63
|
+
const snapshot = await browser.checkSnapshot(
|
|
64
|
+
DSAccordionNativeCO.snapshotPath('accordion-native-customactions-exp'),
|
|
65
|
+
);
|
|
66
|
+
await expect(snapshot).toEqual(0);
|
|
67
|
+
});
|
|
68
|
+
});
|
|
69
|
+
|
|
70
|
+
describe('PUI-18083 - AccordionNative, multiple -visual', () => {
|
|
71
|
+
before('loading page', async () => {
|
|
72
|
+
const errorOnGo = await DSAccordionNativeCO.multipleURL.go();
|
|
73
|
+
if (errorOnGo) throw errorOnGo;
|
|
74
|
+
});
|
|
75
|
+
it('01: should corectly display two expanded accordions', async () => {
|
|
76
|
+
await (await DSAccordionNativeCO.getAccordionHeader(0)).click();
|
|
77
|
+
await (await DSAccordionNativeCO.getAccordionHeader(1)).click();
|
|
78
|
+
const firstContent = await DSAccordionNativeCO.getContents(0);
|
|
79
|
+
const secondContent = await DSAccordionNativeCO.getContents(1);
|
|
80
|
+
await firstContent.waitForDisplayed();
|
|
81
|
+
await secondContent.waitForDisplayed();
|
|
82
|
+
const snapshot = await browser.checkSnapshot(
|
|
83
|
+
DSAccordionNativeCO.snapshotPath('accordion-native-two-expanded'),
|
|
84
|
+
);
|
|
85
|
+
await expect(snapshot).toEqual(0);
|
|
86
|
+
});
|
|
87
|
+
});
|
|
88
|
+
|
|
89
|
+
describe('PUI-18083 - AccordionNative, global height -visual', () => {
|
|
90
|
+
before('loading page', async () => {
|
|
91
|
+
const errorOnGo = await DSAccordionNativeCO.globalHeight.go();
|
|
92
|
+
if (errorOnGo) throw errorOnGo;
|
|
93
|
+
});
|
|
94
|
+
it('01: should display accordion with global height, not trimmed', async () => {
|
|
95
|
+
const snapshot = await browser.checkSnapshot(
|
|
96
|
+
DSAccordionNativeCO.snapshotPath('accordion-native-globalheight'),
|
|
97
|
+
);
|
|
98
|
+
await expect(snapshot).toEqual(0);
|
|
99
|
+
});
|
|
100
|
+
});
|
|
101
|
+
|
|
102
|
+
describe('PUI-18083 - AccordionNative, Actionable within -visual', () => {
|
|
103
|
+
before('loading page', async () => {
|
|
104
|
+
const errorOnGo = await DSAccordionNativeCO.datepickerInside.go();
|
|
105
|
+
if (errorOnGo) throw errorOnGo;
|
|
106
|
+
});
|
|
107
|
+
it('01: should input focused within accordion', async () => {
|
|
108
|
+
await (await DSAccordionNativeCO.getAccordionHeader(0)).waitForDisplayed();
|
|
109
|
+
const snapshot = await browser.checkSnapshot(
|
|
110
|
+
DSAccordionNativeCO.snapshotPath('accordion-native-datepicker-inside'),
|
|
111
|
+
);
|
|
112
|
+
await expect(snapshot).toEqual(0);
|
|
113
|
+
});
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
if (browser.capabilities['ice:options'].isPhone) {
|
|
118
|
+
describe('PUI-18083 - AccordionNative, desktop to mobile -visual', () => {
|
|
119
|
+
before('loading page', async () => {
|
|
120
|
+
const errorOnGo = await DSAccordionNativeCO.toMobileURL.go();
|
|
121
|
+
if (errorOnGo) throw errorOnGo;
|
|
122
|
+
});
|
|
123
|
+
it('01: should expand one accordion and hover the other', async () => {
|
|
124
|
+
await (await DSAccordionNativeCO.getAccordionHeader(1)).click();
|
|
125
|
+
const snapshot = await browser.checkSnapshot(
|
|
126
|
+
DSAccordionNativeCO.snapshotPath('accordion-native-tomobile-interacted'),
|
|
127
|
+
);
|
|
128
|
+
await expect(snapshot).toEqual(0);
|
|
129
|
+
});
|
|
130
|
+
});
|
|
131
|
+
}
|