fix failing build

This commit is contained in:
shelly_goldblit
2023-12-31 20:49:09 +02:00
parent e74382d260
commit 13336bf2af
+2 -2
View File
@@ -23,7 +23,7 @@ describe("accessibility", () => {
const selector = "root:skip:layer-editor"; const selector = "root:skip:layer-editor";
then(get.elementByTestId(selector)).shouldExist(); then(get.elementByTestId(selector)).shouldExist();
when.tab().tab(); when.tab().tab();
should.beFocused(selector); then(get.elementByTestId(selector)).shouldBeFocused();
when.click(selector); when.click(selector);
then(get.skipTargetLayerEditor()).shouldBeFocused(); then(get.skipTargetLayerEditor()).shouldBeFocused();
}); });
@@ -32,7 +32,7 @@ describe("accessibility", () => {
const selector = "root:skip:map-view"; const selector = "root:skip:map-view";
then(get.elementByTestId(selector)).shouldExist(); then(get.elementByTestId(selector)).shouldExist();
when.tab().tab().tab(); when.tab().tab().tab();
should.beFocused(selector); then(get.elementByTestId(selector)).shouldBeFocused();
when.click(selector); when.click(selector);
then(get.canvas()).shouldBeFocused(); then(get.canvas()).shouldBeFocused();
}); });