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 25, 2024
1 parent 23661a1 commit 25bf162
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 25bf162

Please sign in to comment.