test - e2e - beta - dont select localhost as it is already set

feature/default_network_editable
kumavis 7 years ago
parent 4773a7f3ec
commit 9d1b4cc1d7
  1. 10
      test/e2e/beta/from-import-beta-ui.spec.js
  2. 11
      test/e2e/beta/metamask-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()

@ -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()

Loading…
Cancel
Save