Skip to content

Commit ce959cd

Browse files
committed
test: Update FuelWallet Extension test to reflect changes in transaction visibility
1 parent d622ca9 commit ce959cd

File tree

1 file changed

+1
-20
lines changed

1 file changed

+1
-20
lines changed

packages/app/playwright/crx/crx.test.ts

+1-20
Original file line numberDiff line numberDiff line change
@@ -694,26 +694,7 @@ test.describe('FuelWallet Extension', () => {
694694
timeout: 10_000,
695695
});
696696

697-
// Approve transaction
698-
await expect
699-
.poll(
700-
async () => {
701-
const element = await waitAriaLabel(
702-
approveTransactionPage,
703-
'amount-container'
704-
);
705-
const content = await element.textContent();
706-
return /0\.0000001\s*ETH/i.test(content);
707-
},
708-
{ timeout: 15000 }
709-
)
710-
.toBeTruthy();
711-
await waitAriaLabel(
712-
approveTransactionPage,
713-
senderAccount.address.toString()
714-
);
715-
716-
await hasAriaLabel(approveTransactionPage, 'Confirm Transaction');
697+
// Amount no longer always visible as TX doesnt come from current account.
717698
await getButtonByText(approveTransactionPage, /Submit/i).click();
718699

719700
await expect(transferStatus).resolves.toBe('success');

0 commit comments

Comments
 (0)