Skip to content

Commit

Permalink
chore(suiteheader and headeraction): fix accessibility scan violations
Browse files Browse the repository at this point in the history
  • Loading branch information
kalyanixraut committed Jun 22, 2023
1 parent 2696413 commit da3f84c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/react/src/components/Header/Header.test.e2e.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -237,13 +237,13 @@ describe(
.should('not.exist');

cy.findByRole('button', { name: 'open and close list of options' }).click();
cy.findByRole('menuitem', { name: 'user' }).click();
cy.findByRole('button', { name: 'user' }).click();
cy.findByText('[email protected]').should('be.visible');
cy.findByRole('menuitem', { name: 'user' })
cy.findByRole('button', { name: 'user' })
.find('svg')
.invoke('attr', 'description')
.should('eq', 'Close menu');
cy.findByRole('menuitem', { name: 'user' }).click();
cy.findByRole('button', { name: 'user' }).click();
cy.findByRole('button', { name: 'open and close list of options' }).should('be.visible');

// click the left side specifically to _not_ click the svg element right in the center
Expand Down

0 comments on commit da3f84c

Please sign in to comment.