From 58a55dd4f4d0849dbd1024829d9426e1899bf571 Mon Sep 17 00:00:00 2001 From: filip mertens Date: Mon, 20 Mar 2023 16:29:17 +0100 Subject: [PATCH] fix addfile --- apps/remix-ide-e2e/src/commands/addFile.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/remix-ide-e2e/src/commands/addFile.ts b/apps/remix-ide-e2e/src/commands/addFile.ts index a5ac8cdcf9..08e9ff6d5b 100644 --- a/apps/remix-ide-e2e/src/commands/addFile.ts +++ b/apps/remix-ide-e2e/src/commands/addFile.ts @@ -55,7 +55,7 @@ function addFile(browser: NightwatchBrowser, name: string, content: NightwatchCo timeout: 60000 }) .waitForElementVisible({ - selector: `//*[@data-id='tab-active' and @data-path="${name}"]`, + selector: `//*[@data-id='tab-active' and contains(@data-path, "${name}")]`, locateStrategy: 'xpath' }) .setEditorValue(content.content)