fix more tests

This commit is contained in:
shelly_goldblit
2023-12-31 18:53:46 +02:00
parent c5a7005a3d
commit 0ed6bb518f
2 changed files with 19 additions and 17 deletions
+3 -5
View File
@@ -491,12 +491,10 @@ describe("layers", () => {
type: "background",
});
then(get.elementByTestId("layer-list-group:foo")).shouldBeVisible();
then(get.elementByTestId("layer-list-item:foo")).shouldBeVisible();
then(get.elementByTestId("layer-list-item:foo_bar")).shouldNotBeVisible();
then(
get.elementByTestId("layer-list-group:foo_bar")
).shouldNotBeVisible();
then(
get.elementByTestId("layer-list-group:foo_bar_baz")
get.elementByTestId("layer-list-item:foo_bar_baz")
).shouldNotBeVisible();
when.click("layer-list-group:foo-0");
then(get.elementByTestId("layer-list-item:foo")).shouldBeVisible();