Remove hack from modal driver

This commit is contained in:
HarelM
2026-07-09 13:59:55 +03:00
parent dc5d6dd77d
commit a9c3da0f40
2 changed files with 2 additions and 7 deletions
-4
View File
@@ -31,10 +31,6 @@ export class ModalDriver {
},
open: async () => {
// No-op when the add-layer modal is already open (some specs call open()
// both in a beforeEach and at the start of the test body).
const modal = this.driver.get.elementByTestId("modal:add-layer").first();
if (await modal.isVisible()) return;
await this.driver.when.click("layer-list:add-layer");
},