1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-23 02:10:12 +01:00
metamask-extension/test/e2e
Mark Stacey daa20b4b63
Return after rejecting promise in action (#7079)
* Add missing test descriptions

* Fix async tests that expect a rejection

These tests expected the function under test to return a rejected
promise, and had assertions to be run in the `catch` clause. However,
the tests would still pass if the function didn't reject, with
the assertions never being run.

The tests have been updated to fail if the function doesn't throw.

* Handle ignored promise rejection

In the case where `forceUpdateMetamaskState` rejects, the function
`setSeedPhraseBackedUp` would never resolve. It has been updated to
pass along the rejection instead.

* Return after rejecting promise in action

A few actions would continue after encountering an error, resulting in
errors being compounded. Instead all actions will now return after
encountering an error (which it looks like was the intention in these
cases anyway).
2019-08-31 13:34:27 -03:00
..
contract-test Enable indent linting via ESLint (#6936) 2019-07-31 10:17:11 -10:00
send-eth-with-private-key-test I5849 incremental account security (#6874) 2019-08-02 01:27:26 -02:30
address-book.spec.js Address book name save fix (#6945) 2019-08-02 20:30:50 -02:30
fetch-mocks.js Move e2e tests out of beta dir (#6785) 2019-07-02 23:19:59 -02:30
from-import-ui.spec.js Address book name save fix (#6945) 2019-08-02 20:30:50 -02:30
func.js Refactor first time flow, remove seed phrase from state (#5994) 2019-01-23 11:55:34 -03:30
helpers.js Enable indent linting via ESLint (#6936) 2019-07-31 10:17:11 -10:00
incremental-security.spec.js Show seed phrase challenge in browser (#6961) 2019-08-06 00:54:19 -02:30
metamask-responsive-ui.spec.js Address book name save fix (#6945) 2019-08-02 20:30:50 -02:30
metamask-ui.spec.js Fix Firefox e2e test command on CI (#7000) 2019-08-13 10:27:18 -02:30
run-all.sh Allow overriding GANACHE_ARGS for e2e tests (#6970) 2019-08-07 08:52:05 -03:00
run-web3.sh Replace deprecated shell-parallel with concurrently (#6807) 2019-07-09 14:09:31 -02:30
send-edit.spec.js Address book name save fix (#6945) 2019-08-02 20:30:50 -02:30
web3.spec.js Return after rejecting promise in action (#7079) 2019-08-31 13:34:27 -03:00