Skip to content

Commit

Permalink
Update e2e tests for phishing warning step removal
Browse files Browse the repository at this point in the history
  • Loading branch information
danjm committed Mar 5, 2019
1 parent 1e5d8fa commit 1f3bdc9
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 21 deletions.
7 changes: 0 additions & 7 deletions test/e2e/beta/from-import-beta-ui.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,13 +136,6 @@ describe('Using MetaMask with an existing account', function () {
await delay(regularDelayMs)
})

it('clicks through the security warning screen', async () => {
await findElement(driver, By.xpath(`//div[contains(text(), 'Protect Your Keys!')]`))
const nextScreen = await findElement(driver, By.css('button.first-time-flow__button'))
await nextScreen.click()
await delay(regularDelayMs)
})

it('clicks through the success screen', async () => {
await findElement(driver, By.xpath(`//div[contains(text(), 'Congratulations')]`))
const doneButton = await findElement(driver, By.css('button.first-time-flow__button'))
Expand Down
7 changes: 0 additions & 7 deletions test/e2e/beta/metamask-beta-responsive-ui.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,13 +132,6 @@ describe('MetaMask', function () {
await delay(regularDelayMs)
})

it('clicks through the security warning screen', async () => {
await findElement(driver, By.xpath(`//div[contains(text(), 'Protect Your Keys!')]`))
const nextScreen = await findElement(driver, By.css('button.first-time-flow__button'))
await nextScreen.click()
await delay(regularDelayMs)
})

let seedPhrase

it('reveals the seed phrase', async () => {
Expand Down
7 changes: 0 additions & 7 deletions test/e2e/beta/metamask-beta-ui.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,13 +137,6 @@ describe('MetaMask', function () {
await delay(regularDelayMs)
})

it('clicks through the security warning screen', async () => {
await findElement(driver, By.xpath(`//div[contains(text(), 'Protect Your Keys!')]`))
const nextScreen = await findElement(driver, By.css('button.first-time-flow__button'))
await nextScreen.click()
await delay(regularDelayMs)
})

let seedPhrase

it('reveals the seed phrase', async () => {
Expand Down

0 comments on commit 1f3bdc9

Please sign in to comment.