Skip to content

Commit

Permalink
fix flaky test by waiting for balance to load
Browse files Browse the repository at this point in the history
  • Loading branch information
seaona committed May 20, 2024
1 parent 4cf7e80 commit 086ce3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/tests/transaction/send-eth.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,11 +161,11 @@ describe('Send ETH', function () {
smartContract,
title: this.test.fullTitle(),
},
async ({ driver, contractRegistry }) => {
async ({ driver, contractRegistry, ganacheServer }) => {
const contractAddress = await contractRegistry.getContractAddress(
smartContract,
);
await unlockWallet(driver);
await logInWithBalanceValidation(driver, ganacheServer);

await driver.clickElement('[data-testid="eth-overview-send"]');
await driver.fill(
Expand Down

0 comments on commit 086ce3b

Please sign in to comment.