1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

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

This commit is contained in:
kumavis 2018-06-12 08:19:57 -07:00
parent 4773a7f3ec
commit 9d1b4cc1d7
2 changed files with 1 additions and 20 deletions

View File

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

View File

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