Skip to content

Commit

Permalink
fix: e2e tests passing now
Browse files Browse the repository at this point in the history
  • Loading branch information
BelfordZ committed Mar 20, 2024
1 parent 87679d8 commit 0081e90
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,16 @@ describe('Request Queuing for Multiple Dapps and Txs on different networks.', fu

// Dapp one send tx
await driver.switchToWindowWithUrl(DAPP_URL);
await driver.executeScript(`window.location.reload()`);
await driver.delay(largeDelayMs);
await driver.clickElement('#sendButton');

await driver.delay(largeDelayMs);

// Dapp two send tx
await driver.switchToWindowWithUrl(DAPP_ONE_URL);
await driver.executeScript(`window.location.reload()`);
await driver.delay(largeDelayMs);
await driver.clickElement('#sendButton');

// First switch network
Expand All @@ -124,6 +128,8 @@ describe('Request Queuing for Multiple Dapps and Txs on different networks.', fu
await driver.waitUntilXWindowHandles(4);
await driver.switchToWindowWithTitle(WINDOW_TITLES.Dialog);

await driver.delay(largeDelayMs);

// Find correct network on confirm tx
await driver.findElement({
text: 'Localhost 8545',
Expand Down

0 comments on commit 0081e90

Please sign in to comment.