From 44878f25c2fe2b9736569ddea88995c14be0ff55 Mon Sep 17 00:00:00 2001 From: Joseph Izang Date: Tue, 20 Sep 2022 22:39:09 +0100 Subject: [PATCH] fix element props for e2e --- apps/remix-ide-e2e/src/commands/addAtAddressInstance.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/remix-ide-e2e/src/commands/addAtAddressInstance.ts b/apps/remix-ide-e2e/src/commands/addAtAddressInstance.ts index e95ea43179..e7d1eb4b10 100644 --- a/apps/remix-ide-e2e/src/commands/addAtAddressInstance.ts +++ b/apps/remix-ide-e2e/src/commands/addAtAddressInstance.ts @@ -27,7 +27,7 @@ function addInstance (browser: NightwatchBrowser, address: string, isValidFormat locateStrategy: 'xpath' }) .click({ - selector: '//button[@data-id="runAndDeployAtAdressButton"]', + selector: '//button[@id="runAndDeployAtAdressButton"]', locateStrategy: 'xpath' }) .waitForElementPresent('[data-id="udappNotify-modal-footer-ok-react"]')