Skip to content

Commit

Permalink
docs: Fixing cypress integration test
Browse files Browse the repository at this point in the history
Trying a bracket notation just in case the camel-case 'ariaDescription' isn't supported yet.
  • Loading branch information
William Stanton committed Jul 1, 2024
1 parent f2fb6f2 commit 3d0ce3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/integration/Tooltip.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ describe('Tooltip', () => {

it('the "Delete" button should have an accessible description equal to the tooltip text', () => {
cy.findByRole('button', {name: 'Delete'}).should(
'have.ariaDescription',
'have["aria-description"]',
'The service will restart after this action'
);
});
Expand Down

0 comments on commit 3d0ce3e

Please sign in to comment.