From f8744d47074299f0a81c289a3f206063f8b5710f Mon Sep 17 00:00:00 2001 From: filip mertens Date: Mon, 19 Sep 2022 09:53:48 +0200 Subject: [PATCH] switch --- apps/remix-ide-e2e/src/commands/switchWorkspace.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/remix-ide-e2e/src/commands/switchWorkspace.ts b/apps/remix-ide-e2e/src/commands/switchWorkspace.ts index f4d16b17f2..b78d28fe6c 100644 --- a/apps/remix-ide-e2e/src/commands/switchWorkspace.ts +++ b/apps/remix-ide-e2e/src/commands/switchWorkspace.ts @@ -5,11 +5,10 @@ class switchWorkspace extends EventEmitter { command (this: NightwatchBrowser, workspaceName: string): NightwatchBrowser { this.api .waitForElementVisible('[data-id="workspacesSelect"]') - .waitForElementPresent(`[data-id="dropdown-item-${workspaceName}"]`) .click('[data-id="workspacesSelect"]') .waitForElementVisible(`[data-id="dropdown-item-${workspaceName}"]`) .click(`[data-id="dropdown-item-${workspaceName}"]`) - .pause(4000) + .pause(7000) .perform((done) => { done() this.emit('complete')