Skip to content

Commit

Permalink
feature(17901): fix failing network error and remove duplicated e2e f…
Browse files Browse the repository at this point in the history
…or mv3 (#19292)

* feature(17901): fix failing network error e2e for mv3

* feature(17901): remove dapp interaction for duplication

---------

Co-authored-by: legobeat <[email protected]>
  • Loading branch information
DDDDDanica and legobeat authored May 30, 2023
1 parent 8dc6bf1 commit 49f8052
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 73 deletions.
72 changes: 0 additions & 72 deletions test/e2e/mv3/dapp-interactions.spec.js

This file was deleted.

9 changes: 8 additions & 1 deletion test/e2e/tests/network-error.spec.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
const { strict: assert } = require('assert');
const { convertToHexValue, withFixtures } = require('../helpers');
const {
convertToHexValue,
withFixtures,
regularDelayMs,
} = require('../helpers');
const FixtureBuilder = require('../fixture-builder');

describe('Gas API fallback', function () {
Expand Down Expand Up @@ -79,6 +83,9 @@ describe('Gas API fallback', function () {

await driver.clickElement({ text: 'Next', tag: 'button' });

await driver.delay(regularDelayMs);
await driver.findElement('.transaction-alerts');

const error = await driver.isElementPresent({
text: 'Network is busy. Gas prices are high and estimates are less accurate.',
});
Expand Down

0 comments on commit 49f8052

Please sign in to comment.