Skip to content

Commit

Permalink
Fix failing a11y test
Browse files Browse the repository at this point in the history
- referencing a removed className - use data-test-subj instead
  • Loading branch information
cee-chen committed Jul 24, 2024
1 parent b263fe8 commit 0826e0a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ describe('EuiSuperDatePicker', () => {
});

it('has zero violations when quick select menu is open', () => {
cy.get('button.euiFormControlLayout__prepend').click();
cy.get('[data-test-subj="superDatePickerToggleQuickMenuButton"]').click();
cy.get('div.euiPanel').contains('Quick select').should('exist');
cy.checkAxe();
});
Expand Down

0 comments on commit 0826e0a

Please sign in to comment.