From 13336bf2af0331b0b38b04c73b4dffe18816cef9 Mon Sep 17 00:00:00 2001 From: shelly_goldblit Date: Sun, 31 Dec 2023 20:49:09 +0200 Subject: [PATCH] fix failing build --- cypress/e2e/accessibility.cy.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cypress/e2e/accessibility.cy.ts b/cypress/e2e/accessibility.cy.ts index abf728c2..6c2219ff 100644 --- a/cypress/e2e/accessibility.cy.ts +++ b/cypress/e2e/accessibility.cy.ts @@ -23,7 +23,7 @@ describe("accessibility", () => { const selector = "root:skip:layer-editor"; then(get.elementByTestId(selector)).shouldExist(); when.tab().tab(); - should.beFocused(selector); + then(get.elementByTestId(selector)).shouldBeFocused(); when.click(selector); then(get.skipTargetLayerEditor()).shouldBeFocused(); }); @@ -32,7 +32,7 @@ describe("accessibility", () => { const selector = "root:skip:map-view"; then(get.elementByTestId(selector)).shouldExist(); when.tab().tab().tab(); - should.beFocused(selector); + then(get.elementByTestId(selector)).shouldBeFocused(); when.click(selector); then(get.canvas()).shouldBeFocused(); });