From 2c41ea02915847e7a2030194cbb1996d8212ead9 Mon Sep 17 00:00:00 2001 From: yann300 Date: Sat, 4 Jun 2022 08:31:20 +0200 Subject: [PATCH] fix test --- apps/remix-ide-e2e/src/commands/verifyContracts.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/remix-ide-e2e/src/commands/verifyContracts.ts b/apps/remix-ide-e2e/src/commands/verifyContracts.ts index d9f5a7606d..f29c3e42c6 100644 --- a/apps/remix-ide-e2e/src/commands/verifyContracts.ts +++ b/apps/remix-ide-e2e/src/commands/verifyContracts.ts @@ -55,8 +55,8 @@ function verifyContracts (browser: NightwatchBrowser, compiledContractNames: str callback() }) } else { - for (const name in compiledContractNames) { - await browser.waitForElementContainsText('[data-id="compiledContracts"]', name, 60000) + for (const index in compiledContractNames) { + await browser.waitForElementContainsText('[data-id="compiledContracts"]', compiledContractNames[index], 60000) } done() callback()