1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 12:29:06 +01:00
metamask-extension/test
Mark Stacey 0f4c0286a4
Improve e2e helper functions (#7750)
* Improve `openNewPage` helper function

The two delays were removed, and the window handle for the new page is
now returned. This was made possible with the new `newWindow` function
added in `v4.0.0-alpha.3` of `selenium-webdriver`.

* Replace recursion with loops

This should result in far more pleasant stack traces for any
exceptions in these functions. It might also be faster. These functions
seem easier to understand as loops as well.

* Remove unused string parameter

The `closeAllWindowHandlesExcept` function has been simplified by
removing a branch that handles the case where the `exceptions`
parameter given is a string. That parameter is never a string.
2020-01-07 10:46:03 -04:00
..
data
e2e Improve e2e helper functions (#7750) 2020-01-07 10:46:03 -04:00
integration Remove unused gasExpress fetch mocks (#7681) 2019-12-10 09:52:34 -04:00
lib React 16 upgrade (#7476) 2019-12-06 11:40:06 -04:00
stub
unit Login per site onboarding (#7602) 2019-12-20 12:02:31 -03:30
unit-global Freeze Promise global on boot (#7309) 2019-10-24 06:54:32 -07:00
web3 yarn lint --fix 2019-12-03 17:20:55 -03:30
base.conf.js
flat.conf.js
helper.js React 16 upgrade (#7476) 2019-12-06 11:40:06 -04:00
setup.js Update ESLint rules for curly braces style (#7477) 2019-11-19 20:33:20 -03:30