Skip to content

Add initial e2e specs using new test infrastructure#6387

Closed
whymarrh wants to merge 1 commit intoMetaMask:e2e-2.0from
whymarrh:e2e-test-one
Closed

Add initial e2e specs using new test infrastructure#6387
whymarrh wants to merge 1 commit intoMetaMask:e2e-2.0from
whymarrh:e2e-test-one

Conversation

@whymarrh
Copy link
Copy Markdown
Contributor

@whymarrh whymarrh commented Apr 2, 2019

This PR adds the first couple of test specs using the new e2e test infrastructure. These tests display the ability to use pre-existing (fixture)data for both the extension itself and Ganache (as added in #6215).

Example runs

$ npx mocha --no-timeouts e2e/tests/**/*.spec.js


  MetaMask Browser Extension first-time flow
    ✓ displays a welcome screen with a clickable continue button (11466ms)
    ✓ can on-board by creating a new wallet (16684ms)

  MetaMask Browser Extension from existing state
    ✓ displays the lock screen (11063ms)


  3 passing (39s)

Test cases

  • Simple first-time flow process (no pre-existing app state, no Ganache state)
  • Simple view transaction (fully-onboarded app state, no Ganache state)
  • View pre-existing list of transactions from Ganache (pre-existing app & Ganache state)

@whymarrh whymarrh requested review from danjm and tmashuang April 2, 2019 20:12
@kumavis kumavis mentioned this pull request Apr 4, 2019
4 tasks
@whymarrh
Copy link
Copy Markdown
Contributor Author

I'm closing this for now as this work is being split into smaller more concrete PRs

@whymarrh whymarrh closed this Jun 21, 2019
@whymarrh whymarrh deleted the e2e-test-one branch July 23, 2019 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant