From 0570c4a3c488c0af3a4a5ac1899b8d58ef7ad216 Mon Sep 17 00:00:00 2001 From: Kalyani Raut Date: Thu, 22 Jun 2023 00:57:32 -0400 Subject: [PATCH] chore(suiteheader and headeraction): fix accessibility scan violations #3804 --- packages/react/src/components/Header/Header.test.e2e.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react/src/components/Header/Header.test.e2e.jsx b/packages/react/src/components/Header/Header.test.e2e.jsx index 06a80077b2..f188a68b54 100644 --- a/packages/react/src/components/Header/Header.test.e2e.jsx +++ b/packages/react/src/components/Header/Header.test.e2e.jsx @@ -222,7 +222,7 @@ describe( .invoke('attr', 'description') .should('eq', 'Open menu'); cy.findByRole('button', { name: 'open and close list of options' }).click(); - cy.findByRole('button', { name: 'help', label: 'help' }).should('be.visible').click(); + cy.findByRole('menuitem', { name: 'help' }).should('be.visible').click(); cy.findByRole('button', { name: 'help' }) .find('svg') .invoke('attr', 'description')