From 1f3cd214f9321b590ccebf1e6b47ac20e702747b Mon Sep 17 00:00:00 2001 From: filip mertens Date: Sun, 18 Sep 2022 13:07:26 +0200 Subject: [PATCH] wait for assertion --- apps/remix-ide-e2e/src/commands/setSolidityCompilerVersion.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/remix-ide-e2e/src/commands/setSolidityCompilerVersion.ts b/apps/remix-ide-e2e/src/commands/setSolidityCompilerVersion.ts index 5ef27e8cad..59fb00444e 100644 --- a/apps/remix-ide-e2e/src/commands/setSolidityCompilerVersion.ts +++ b/apps/remix-ide-e2e/src/commands/setSolidityCompilerVersion.ts @@ -16,7 +16,8 @@ class SetSolidityCompilerVersion extends EventEmitter { .saveScreenshot(`./reports/screenshots/${version}_1.png`) .waitForElementPresent({ selector : `//span[@data-version='${version}']`, - locateStrategy: 'xpath' + locateStrategy: 'xpath', + timeout: 120000 }) .saveScreenshot(`./reports/screenshots/${version}.png`) .perform(() => {