aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2018-07-03 06:46:33 +0800
committerkumavis <aaron@kumavis.me>2018-07-03 06:46:33 +0800
commit0ada37ead77ca4506b216b961896342e6af94eac (patch)
tree8611a365c1efba3f023e3c9ed3a8443aeec4301f /test
parent3111ae3a698f6f7e15ae6f10483fdd4694c009ab (diff)
downloadtangerine-wallet-browser-0ada37ead77ca4506b216b961896342e6af94eac.tar
tangerine-wallet-browser-0ada37ead77ca4506b216b961896342e6af94eac.tar.gz
tangerine-wallet-browser-0ada37ead77ca4506b216b961896342e6af94eac.tar.bz2
tangerine-wallet-browser-0ada37ead77ca4506b216b961896342e6af94eac.tar.lz
tangerine-wallet-browser-0ada37ead77ca4506b216b961896342e6af94eac.tar.xz
tangerine-wallet-browser-0ada37ead77ca4506b216b961896342e6af94eac.tar.zst
tangerine-wallet-browser-0ada37ead77ca4506b216b961896342e6af94eac.zip
test - e2e-beta - update some api calls
Diffstat (limited to 'test')
-rw-r--r--test/e2e/beta/metamask-beta-ui.spec.js10
1 files changed, 4 insertions, 6 deletions
diff --git a/test/e2e/beta/metamask-beta-ui.spec.js b/test/e2e/beta/metamask-beta-ui.spec.js
index 50998fd5d..ad7eda0f5 100644
--- a/test/e2e/beta/metamask-beta-ui.spec.js
+++ b/test/e2e/beta/metamask-beta-ui.spec.js
@@ -12,8 +12,6 @@ const {
findElement,
findElements,
checkBrowserForConsoleErrors,
- loadExtension,
- verboseReportOnFailure,
openNewPage,
} = require('./helpers')
@@ -53,7 +51,7 @@ describe('MetaMask', function () {
}
}
if (this.currentTest.state === 'failed') {
- await verboseReportOnFailure(driver, this.currentTest)
+ await verboseReportOnFailure({ browser, driver, title: this.currentTest.title })
}
})
@@ -70,7 +68,7 @@ describe('MetaMask', function () {
try {
networkSelector = await findElement(driver, By.css('#network_component'))
} catch (e) {
- await loadExtension(driver, extensionId)
+ await driver.get(extensionUri)
}
await delay(regularDelayMs)
})
@@ -240,7 +238,7 @@ describe('MetaMask', function () {
await word11.click()
await delay(tinyDelayMs)
} catch (e) {
- await loadExtension(driver, extensionId)
+ await driver.get(extensionUri)
await retypeSeedPhrase(words)
}
}
@@ -597,7 +595,7 @@ describe('MetaMask', function () {
await driver.close()
await driver.switchTo().window(extension)
- await loadExtension(driver, extensionId)
+ await driver.get(extensionUri)
await driver.switchTo().window(extension)
await delay(regularDelayMs)