From 47389335a5d2c4f6a929342d37127e7977a5b01b Mon Sep 17 00:00:00 2001 From: LuizAsFight Date: Thu, 28 Nov 2024 21:13:57 -0300 Subject: [PATCH] chore --- .../app/playwright/e2e/SendTransaction.test.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/app/playwright/e2e/SendTransaction.test.ts b/packages/app/playwright/e2e/SendTransaction.test.ts index d7d1fe14b..24f77de24 100644 --- a/packages/app/playwright/e2e/SendTransaction.test.ts +++ b/packages/app/playwright/e2e/SendTransaction.test.ts @@ -64,7 +64,7 @@ test.describe('SendTransaction', () => { await expectButtonToBeEnabled(btnLocator); await btnLocator.click(); - await getButtonByText(page, 'Approve').click(); + await getButtonByText(page, 'Submit').click(); await hasText(page, '0.001 ETH'); // Wait for transaction to be confirmed @@ -102,7 +102,7 @@ test.describe('SendTransaction', () => { // Approve transaction await hasText(page, '0.001 ETH'); - await getButtonByText(page, 'Approve').click(); + await getButtonByText(page, 'Submit').click(); // Wait for transaction to be confirmed await hasText(page, 'success'); @@ -147,7 +147,7 @@ test.describe('SendTransaction', () => { // Approve transaction await hasText(page, `0.01 ${ALT_ASSET.symbol}`); - await getButtonByText(page, 'Approve').click(); + await getButtonByText(page, 'Submit').click(); // Wait for transaction to be confirmed await hasText(page, 'success'); @@ -184,7 +184,7 @@ test.describe('SendTransaction', () => { await hasText(page, '0.001 ETH'); - await getButtonByText(page, 'Approve').click(); + await getButtonByText(page, 'Submit').click(); await hasText(page, '0.001 ETH'); // Wait for transaction to be confirmed @@ -226,7 +226,7 @@ test.describe('SendTransaction', () => { await hasText(page, '0.001 ETH'); - await getButtonByText(page, 'Approve').click(); + await getButtonByText(page, 'Submit').click(); await hasText(page, '0.001 ETH'); // Wait for transaction to be confirmed @@ -299,7 +299,7 @@ test.describe('SendTransaction', () => { await hasText(page, '0.001 ETH'); await page.waitForTimeout(1000); - await getButtonByText(page, 'Approve').click(); + await getButtonByText(page, 'Submit').click(); await hasText(page, '0.001 ETH'); // Wait for transaction to be confirmed @@ -350,7 +350,7 @@ test.describe('SendTransaction', () => { // Approve transaction await hasText(page, `${maxAmountAfterFee} ETH`); - await getButtonByText(page, 'Approve').click(); + await getButtonByText(page, 'Submit').click(); await hasText(page, `${maxAmountAfterFee} ETH`); // Wait for transaction to be confirmed