File tree 1 file changed +3
-1
lines changed
packages/cypress-commands/src
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ declare global {
105
105
* Therefore, for `ui5-select`, the `options` parameter only accepts `TypeOptions`.
106
106
*
107
107
* @param text The text of the item inside the popover that should be clicked.
108
- * @param options `Cypress.ClickOptions`. For `ui5-select`, use `Cypress.TypeOptions` (you can use the generic type to adjust accordingly).
108
+ * @param options Default: `Cypress.ClickOptions`. For `ui5-select`, use `Cypress.TypeOptions` (you can use the generic type to adjust accordingly).
109
109
*
110
110
* @example
111
111
* cy.get('[ui5-select]').clickDropdownMenuItemByText<Cypress.TypeOptions>('Option2');
@@ -124,6 +124,8 @@ declare global {
124
124
* Instead, the `ui5-option` is selected via an "Enter" press (`.type`).
125
125
* Therefore, for `ui5-option`, the `options` parameter only accepts `TypeOptions`.
126
126
*
127
+ * @param options Default: `Cypress.ClickOptions`. For `ui5-option`, use `Cypress.TypeOptions` (you can use the generic type to adjust accordingly).
128
+ *
127
129
* @example
128
130
* cy.get('[ui5-option]').clickDropdownMenuItem<Cypress.TypeOptions>();
129
131
* cy.get('[ui5-mcb-item]').clickDropdownMenuItem();
You can’t perform that action at this time.
0 commit comments