diff --git a/cypress/e2e/accessibility.cy.ts b/cypress/e2e/accessibility.cy.ts index 35c7c528..ca43ab70 100644 --- a/cypress/e2e/accessibility.cy.ts +++ b/cypress/e2e/accessibility.cy.ts @@ -14,7 +14,7 @@ describe("accessibility", () => { const selector = "root:skip:layer-list"; then(get.elementByTestId(selector)).shouldExist(); when.tab(); - then(get.skipTargetLayerList()).shouldBeFocused(); + then(get.elementByTestId(selector)).shouldBeFocused(); when.click(selector); then(get.skipTargetLayerList()).shouldBeFocused(); });