diff --git a/src/commands/actions/fill.ts b/src/commands/actions/fill.ts index ca5ab73..c0759ac 100644 --- a/src/commands/actions/fill.ts +++ b/src/commands/actions/fill.ts @@ -61,7 +61,7 @@ export function fill( .find('[data-testid=combobox-input]', QUIET) .type(value, FORCE_QUICK_QUIET); return cy - .contains('button.dropdown-item.active', value, QUIET) + .contains('button.dropdown-item', value, QUIET) .click(QUIET); } else if (isGearsSelect) { if (logEntry) consoleProps.Type = 'React Select'; diff --git a/src/commands/actions/select.ts b/src/commands/actions/select.ts index 349d4b5..5368109 100644 --- a/src/commands/actions/select.ts +++ b/src/commands/actions/select.ts @@ -44,7 +44,7 @@ export function select( //.clear(FORCE_QUIET) .type(valueOrTextOrIndex, FORCE_QUIET); cy.contains( - 'button.dropdown-item.active', + 'button.dropdown-item', valueOrTextOrIndex, QUIET ).click(QUIET);