diff --git a/cypress/integration/Tooltip.spec.ts b/cypress/integration/Tooltip.spec.ts index 48b55519dd..b45c7e6f8f 100644 --- a/cypress/integration/Tooltip.spec.ts +++ b/cypress/integration/Tooltip.spec.ts @@ -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' ); });