diff options
author | kumavis <aaron@kumavis.me> | 2018-06-12 23:19:57 +0800 |
---|---|---|
committer | kumavis <aaron@kumavis.me> | 2018-06-12 23:19:57 +0800 |
commit | 9d1b4cc1d720335855c2b53f01df8366a018d99c (patch) | |
tree | f24edca316308b53f4c4d36b80d812735bfa5c99 | |
parent | 4773a7f3ec4537ddc73ddf85cc48ac1d19f4fe86 (diff) | |
download | tangerine-wallet-browser-9d1b4cc1d720335855c2b53f01df8366a018d99c.tar.gz tangerine-wallet-browser-9d1b4cc1d720335855c2b53f01df8366a018d99c.tar.zst tangerine-wallet-browser-9d1b4cc1d720335855c2b53f01df8366a018d99c.zip |
test - e2e - beta - dont select localhost as it is already set
-rw-r--r-- | test/e2e/beta/from-import-beta-ui.spec.js | 10 | ||||
-rw-r--r-- | test/e2e/beta/metamask-beta-ui.spec.js | 11 |
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() |