Skip to content

Commit fd65275

Browse files
committed
Update commands.ts
1 parent 636d299 commit fd65275

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: packages/cypress-commands/src/commands.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ declare global {
105105
* Therefore, for `ui5-select`, the `options` parameter only accepts `TypeOptions`.
106106
*
107107
* @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).
109109
*
110110
* @example
111111
* cy.get('[ui5-select]').clickDropdownMenuItemByText<Cypress.TypeOptions>('Option2');
@@ -124,6 +124,8 @@ declare global {
124124
* Instead, the `ui5-option` is selected via an "Enter" press (`.type`).
125125
* Therefore, for `ui5-option`, the `options` parameter only accepts `TypeOptions`.
126126
*
127+
* @param options Default: `Cypress.ClickOptions`. For `ui5-option`, use `Cypress.TypeOptions` (you can use the generic type to adjust accordingly).
128+
*
127129
* @example
128130
* cy.get('[ui5-option]').clickDropdownMenuItem<Cypress.TypeOptions>();
129131
* cy.get('[ui5-mcb-item]').clickDropdownMenuItem();

0 commit comments

Comments
 (0)