You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Click on an option of "select-like" components by text. Currently supported components are `ui5-select`, `ui5-combobox` and `ui5-multi-combobox`.
98
+
* Click on an option of "select-like" components by text.
99
+
* Currently supported components: `ui5-select`, `ui5-combobox` and `ui5-multi-combobox`.
99
100
*
100
101
* __Note:__ The popover must be visible, otherwise it can lead to unwanted side effects.
101
102
*
102
-
* __Note:__ Currently `Select` doesn't support `cy.click()` on `ui5-options` (or elements in the shadow root), because of this the option is now selected via "Enter" press.
103
+
* __Note:__ `ui5-select` currently does not support `cy.click()` on `ui5-options` (or elements in the shadow root).
104
+
* Instead, the `ui5-option` is selected via an "Enter" press (`.trigger`).
105
+
* Therefore, for `ui5-select`, the `options` parameter only accepts `TriggerOptions`.
103
106
*
104
-
* @param text text of the item inside the popover that should be clicked
* Click on a chained option of "select-like" components. Currently supported components are `ui5-option`, `ui5-mcb-item` and `ui5-cb-item` (since v1.24.3 of `@ui5/webcomponents`).
118
+
* Click on a chained option of "select-like" components.
119
+
* Currently supported components: `ui5-option`, `ui5-mcb-item` and `ui5-cb-item` (since v1.24.3 of `@ui5/webcomponents`).
113
120
*
114
121
* __Note:__ The popover must be visible, otherwise it can lead to unwanted side effects.
115
122
*
116
-
* __Note:__ Currently `Select` doesn't support `cy.click()` on `ui5-options` (or elements in the shadow root), because of this the option is now selected via "Enter" press.
123
+
* __Note:__ `ui5-select` currently does not support `cy.click()` on `ui5-options` (or elements in the shadow root).
124
+
* Instead, the `ui5-option` is selected via an "Enter" press (`.trigger`).
125
+
* Therefore, for `ui5-option`, the `options` parameter only accepts `TriggerOptions`.
126
+
*
127
+
* @param options Default: `Cypress.ClickOptions`. For `ui5-option`, use `Cypress.TriggerOptions` (you can use the generic type to adjust accordingly).
* Click on the open button in "select-like" components to open the popover. Currently supported components are `ui5-select`, `ui5-combobox` and `ui5-multi-combobox`.
0 commit comments