Skip to content

Commit

Permalink
Merge branch 'develop' into jl/bump-provider-17.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jiexi committed Sep 11, 2024
2 parents 71c801f + a61b938 commit 1c0282a
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion test/e2e/tests/transaction/navigate-transactions.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -239,11 +239,19 @@ describe('Navigate transactions', function () {
async ({ driver, ganacheServer }) => {
await unlockWallet(driver);

// Wait until total amount is loaded to mitigate flakiness on reject
// Wait until the confirmation screen is stabilized to mitigate flakiness on reject:
// 1. Total amount is loaded
await driver.findElement({
tag: 'span',
text: '3.0000315',
});
// 2. Gas timing is loaded
await driver.findElement('[data-testid="gas-timing-time"]');
// 3. Insufficient funds warning is not present
await driver.assertElementNotPresent({
text: 'You do not have enough ETH',
tag: 'p',
});

// reject transactions
await driver.clickElement({ text: 'Reject 4', tag: 'a' });
Expand Down

0 comments on commit 1c0282a

Please sign in to comment.