mirror of
https://github.com/maputnik/editor.git
synced 2026-08-25 22:47:39 +00:00
fix more tests
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user