From 94c37044366012daa6331c44b49337265250cfcc Mon Sep 17 00:00:00 2001 From: HJetpoluru Date: Fri, 23 Aug 2024 13:20:10 -0400 Subject: [PATCH] Updated the locator --- test/e2e/tests/tokens/increase-token-allowance.spec.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/test/e2e/tests/tokens/increase-token-allowance.spec.js b/test/e2e/tests/tokens/increase-token-allowance.spec.js index bc21395d8de2..07f4135450e4 100644 --- a/test/e2e/tests/tokens/increase-token-allowance.spec.js +++ b/test/e2e/tests/tokens/increase-token-allowance.spec.js @@ -158,10 +158,7 @@ describe('Increase Token Allowance', function () { await transferFromRecipientInputEl.clear(); await transferFromRecipientInputEl.fill(recipientAccount); - await driver.clickElement({ - text: 'Transfer From Tokens', - tag: 'button', - }); + await driver.clickElement('#transferFromTokens'); await driver.delay(2000); }