convert more tests

This commit is contained in:
shelly_goldblit
2023-12-30 18:48:17 +02:00
parent 0dc3f4bf5d
commit 085eda76a1
5 changed files with 20 additions and 18 deletions
+3 -2
View File
@@ -296,13 +296,14 @@ describe("layers", () => {
when.click("layer-list-item:background:" + bgId);
let errorSelector = ".CodeMirror-lint-marker-error";
should.notExist(errorSelector);
// Not a good idea to check that something doesn't exist. infinite things don't exist.
then(get.elementByTestId(errorSelector)).shouldNotExist();
when.click(".CodeMirror");
when.typeKeys(
"\uE013\uE013\uE013\uE013\uE013\uE013\uE013\uE013\uE013\uE013\uE013\uE013 {"
);
should.exist(errorSelector);
then(get.elementByTestId(errorSelector)).shouldExist();
});
});
});