test:e2e - only overwrite window.fetch once per session

feature/default_network_editable
kumavis 5 years ago committed by Mark Stacey
parent 11e1c3b95d
commit 133ba76785
  1. 3
      test/e2e/address-book.spec.js
  2. 3
      test/e2e/from-import-ui.spec.js
  3. 3
      test/e2e/incremental-security.spec.js
  4. 3
      test/e2e/metamask-responsive-ui.spec.js
  5. 3
      test/e2e/metamask-ui.spec.js
  6. 3
      test/e2e/send-edit.spec.js
  7. 3
      test/e2e/web3.spec.js

@ -30,9 +30,6 @@ describe('MetaMask', function () {
const result = await prepareExtensionForTesting()
driver = result.driver
extensionId = result.extensionId
})
beforeEach(async function () {
await setupFetchMocking(driver)
})

@ -30,9 +30,6 @@ describe('Using MetaMask with an existing account', function () {
before(async function () {
const result = await prepareExtensionForTesting()
driver = result.driver
})
beforeEach(async function () {
await setupFetchMocking(driver)
})

@ -32,9 +32,6 @@ describe('MetaMask', function () {
const result = await prepareExtensionForTesting()
driver = result.driver
extensionId = result.extensionId
})
beforeEach(async function () {
await setupFetchMocking(driver)
})

@ -30,9 +30,6 @@ describe('MetaMask', function () {
const result = await prepareExtensionForTesting()
driver = result.driver
extensionId = result.extensionId
})
beforeEach(async function () {
await setupFetchMocking(driver)
})

@ -36,9 +36,6 @@ describe('MetaMask', function () {
const result = await prepareExtensionForTesting()
driver = result.driver
extensionId = result.extensionId
})
beforeEach(async function () {
await setupFetchMocking(driver)
})

@ -27,9 +27,6 @@ describe('Using MetaMask with an existing account', function () {
before(async function () {
const result = await prepareExtensionForTesting()
driver = result.driver
})
beforeEach(async function () {
await setupFetchMocking(driver)
})

@ -41,9 +41,6 @@ describe('Using MetaMask with an existing account', function () {
before(async function () {
const result = await prepareExtensionForTesting()
driver = result.driver
})
beforeEach(async function () {
await setupFetchMocking(driver)
})

Loading…
Cancel
Save