mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
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`.
This commit is contained in:
parent
7419fa84ae
commit
bae8ef8b70
@ -43,7 +43,7 @@ describe('MetaMask', function () {
|
||||
}
|
||||
}
|
||||
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') {
|
||||
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') {
|
||||
await driver.verboseReportOnFailure(driver, this.currentTest)
|
||||
await driver.verboseReportOnFailure(this.currentTest)
|
||||
}
|
||||
})
|
||||
|
||||
|
@ -47,7 +47,7 @@ describe('MetaMask', function () {
|
||||
}
|
||||
}
|
||||
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') {
|
||||
await driver.verboseReportOnFailure(driver, this.currentTest)
|
||||
await driver.verboseReportOnFailure(this.currentTest)
|
||||
}
|
||||
})
|
||||
|
||||
|
@ -38,7 +38,7 @@ describe('MetaMask', function () {
|
||||
}
|
||||
}
|
||||
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') {
|
||||
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') {
|
||||
await driver.verboseReportOnFailure(driver, this.currentTest)
|
||||
await driver.verboseReportOnFailure(this.currentTest)
|
||||
}
|
||||
})
|
||||
|
||||
|
@ -41,7 +41,7 @@ describe('MetaMask', function () {
|
||||
}
|
||||
}
|
||||
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') {
|
||||
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') {
|
||||
await driver.verboseReportOnFailure(driver, this.currentTest)
|
||||
await driver.verboseReportOnFailure(this.currentTest)
|
||||
}
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user