Fix broken test artifact directory name (#8480)

The test artifact directory for failed test "verbose reports" was
mistakenly being set to `[browser]/undefined`. This was broken during
the refactor in #7798, when the `driver` parameter was mistakenly left
in after the `verboseReportOnFailure` function was converted to a
method being called on `driver`.
feature/default_network_editable
Mark Stacey 5 years ago committed by GitHub
parent 7419fa84ae
commit bae8ef8b70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      test/e2e/address-book.spec.js
  2. 2
      test/e2e/ethereum-on.spec.js
  3. 2
      test/e2e/from-import-ui.spec.js
  4. 2
      test/e2e/incremental-security.spec.js
  5. 2
      test/e2e/metamask-responsive-ui.spec.js
  6. 2
      test/e2e/metamask-ui.spec.js
  7. 2
      test/e2e/permissions.spec.js
  8. 2
      test/e2e/send-edit.spec.js
  9. 2
      test/e2e/signature-request.spec.js
  10. 2
      test/e2e/threebox.spec.js
  11. 2
      test/e2e/web3.spec.js

@ -43,7 +43,7 @@ describe('MetaMask', function () {
} }
} }
if (this.currentTest.state === 'failed') { if (this.currentTest.state === 'failed') {
await driver.verboseReportOnFailure(driver, this.currentTest) await driver.verboseReportOnFailure(this.currentTest)
} }
}) })

@ -42,7 +42,7 @@ describe('MetaMask', function () {
} }
} }
if (this.currentTest.state === 'failed') { if (this.currentTest.state === 'failed') {
await driver.verboseReportOnFailure(driver, this.currentTest) await driver.verboseReportOnFailure(this.currentTest)
} }
}) })

@ -47,7 +47,7 @@ describe('Using MetaMask with an existing account', function () {
} }
} }
if (this.currentTest.state === 'failed') { if (this.currentTest.state === 'failed') {
await driver.verboseReportOnFailure(driver, this.currentTest) await driver.verboseReportOnFailure(this.currentTest)
} }
}) })

@ -47,7 +47,7 @@ describe('MetaMask', function () {
} }
} }
if (this.currentTest.state === 'failed') { if (this.currentTest.state === 'failed') {
await driver.verboseReportOnFailure(driver, this.currentTest) await driver.verboseReportOnFailure(this.currentTest)
} }
}) })

@ -37,7 +37,7 @@ describe('MetaMask', function () {
} }
} }
if (this.currentTest.state === 'failed') { if (this.currentTest.state === 'failed') {
await driver.verboseReportOnFailure(driver, this.currentTest) await driver.verboseReportOnFailure(this.currentTest)
} }
}) })

@ -38,7 +38,7 @@ describe('MetaMask', function () {
} }
} }
if (this.currentTest.state === 'failed') { if (this.currentTest.state === 'failed') {
await driver.verboseReportOnFailure(driver, this.currentTest) await driver.verboseReportOnFailure(this.currentTest)
} }
}) })

@ -42,7 +42,7 @@ describe('MetaMask', function () {
} }
} }
if (this.currentTest.state === 'failed') { if (this.currentTest.state === 'failed') {
await driver.verboseReportOnFailure(driver, this.currentTest) await driver.verboseReportOnFailure(this.currentTest)
} }
}) })

@ -44,7 +44,7 @@ describe('Using MetaMask with an existing account', function () {
} }
} }
if (this.currentTest.state === 'failed') { if (this.currentTest.state === 'failed') {
await driver.verboseReportOnFailure(driver, this.currentTest) await driver.verboseReportOnFailure(this.currentTest)
} }
}) })

@ -41,7 +41,7 @@ describe('MetaMask', function () {
} }
} }
if (this.currentTest.state === 'failed') { if (this.currentTest.state === 'failed') {
await driver.verboseReportOnFailure(driver, this.currentTest) await driver.verboseReportOnFailure(this.currentTest)
} }
}) })

@ -45,7 +45,7 @@ describe('MetaMask', function () {
} }
} }
if (this.currentTest.state === 'failed') { if (this.currentTest.state === 'failed') {
await driver.verboseReportOnFailure(driver, this.currentTest) await driver.verboseReportOnFailure(this.currentTest)
} }
}) })

@ -44,7 +44,7 @@ describe('Using MetaMask with an existing account', function () {
} }
} }
if (this.currentTest.state === 'failed') { if (this.currentTest.state === 'failed') {
await driver.verboseReportOnFailure(driver, this.currentTest) await driver.verboseReportOnFailure(this.currentTest)
} }
}) })

Loading…
Cancel
Save