aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2018-06-12 23:19:57 +0800
committerkumavis <aaron@kumavis.me>2018-06-12 23:19:57 +0800
commit9d1b4cc1d720335855c2b53f01df8366a018d99c (patch)
treef24edca316308b53f4c4d36b80d812735bfa5c99 /test
parent4773a7f3ec4537ddc73ddf85cc48ac1d19f4fe86 (diff)
downloadtangerine-wallet-browser-9d1b4cc1d720335855c2b53f01df8366a018d99c.tar
tangerine-wallet-browser-9d1b4cc1d720335855c2b53f01df8366a018d99c.tar.gz
tangerine-wallet-browser-9d1b4cc1d720335855c2b53f01df8366a018d99c.tar.bz2
tangerine-wallet-browser-9d1b4cc1d720335855c2b53f01df8366a018d99c.tar.lz
tangerine-wallet-browser-9d1b4cc1d720335855c2b53f01df8366a018d99c.tar.xz
tangerine-wallet-browser-9d1b4cc1d720335855c2b53f01df8366a018d99c.tar.zst
tangerine-wallet-browser-9d1b4cc1d720335855c2b53f01df8366a018d99c.zip
test - e2e - beta - dont select localhost as it is already set
Diffstat (limited to 'test')
-rw-r--r--test/e2e/beta/from-import-beta-ui.spec.js10
-rw-r--r--test/e2e/beta/metamask-beta-ui.spec.js11
2 files changed, 1 insertions, 20 deletions
diff --git a/test/e2e/beta/from-import-beta-ui.spec.js b/test/e2e/beta/from-import-beta-ui.spec.js
index cd7d90e95..c56471680 100644
--- a/test/e2e/beta/from-import-beta-ui.spec.js
+++ b/test/e2e/beta/from-import-beta-ui.spec.js
@@ -63,16 +63,6 @@ describe('Using MetaMask with an existing account', function () {
await delay(regularDelayMs)
})
- it('use the local network', async function () {
- const networkSelector = await findElement(driver, By.css('#network_component'))
- await networkSelector.click()
- await delay(regularDelayMs)
-
- const [localhost] = await findElements(driver, By.xpath(`//li[contains(text(), 'Localhost')]`))
- await localhost.click()
- await delay(regularDelayMs)
- })
-
it('selects the new UI option', async () => {
const button = await findElement(driver, By.xpath("//p[contains(text(), 'Try Beta Version')]"))
await button.click()
diff --git a/test/e2e/beta/metamask-beta-ui.spec.js b/test/e2e/beta/metamask-beta-ui.spec.js
index efd116c97..afd0e9496 100644
--- a/test/e2e/beta/metamask-beta-ui.spec.js
+++ b/test/e2e/beta/metamask-beta-ui.spec.js
@@ -51,6 +51,7 @@ describe('MetaMask', function () {
}
if (this.currentTest.state === 'failed') {
await verboseReportOnFailure({ browser, driver, title: this.currentTest.title })
+ await delay(1000000)
}
})
@@ -65,16 +66,6 @@ describe('MetaMask', function () {
await delay(regularDelayMs)
})
- it('use the local network', async function () {
- const networkSelector = await findElement(driver, By.css('#network_component'))
- await networkSelector.click()
- await delay(regularDelayMs)
-
- const localhost = await findElement(driver, By.xpath(`//li[contains(text(), 'Localhost')]`))
- await localhost.click()
- await delay(regularDelayMs)
- })
-
it('selects the new UI option', async () => {
const button = await findElement(driver, By.xpath("//p[contains(text(), 'Try Beta Version')]"))
await button.click()