diff --git a/apps/remix-ide-e2e/src/tests/runAndDeploy_injected.test.ts b/apps/remix-ide-e2e/src/tests/runAndDeploy_injected.test.ts index e32565e252..008636ee06 100644 --- a/apps/remix-ide-e2e/src/tests/runAndDeploy_injected.test.ts +++ b/apps/remix-ide-e2e/src/tests/runAndDeploy_injected.test.ts @@ -111,7 +111,7 @@ const tests = { .saveScreenshot('./reports/screenshots/metamask_8.png') .waitForElementVisible({ locateStrategy: 'xpath', - selector: "//span[@class='text-log' and contains(text(), 'errored')]" + selector: "//span[@class='text-log' and contains(., 'errored')]" }) },