1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/test/e2e
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
..
contract-test
fixtures End-to-end test state fixtures (#7663) 2019-12-11 09:26:20 -08:00
mock-3box
send-eth-with-private-key-test
webdriver Update selenium-webdriver (#7749) 2020-01-07 10:01:06 -04:00
address-book.spec.js
ethereum-on.spec.js
fetch-mocks.json
fixture-server.js End-to-end test state fixtures (#7663) 2019-12-11 09:26:20 -08:00
from-import-ui.spec.js
ganache.js
helpers.js Improve e2e helper functions (#7750) 2020-01-07 10:46:03 -04:00
incremental-security.spec.js
metamask-responsive-ui.spec.js
metamask-ui.spec.js
permissions.spec.js
run-all.sh
run-web3.sh
send-edit.spec.js
signature-request.spec.js End-to-end test state fixtures (#7663) 2019-12-11 09:26:20 -08:00
threebox.spec.js Update selenium-webdriver (#7749) 2020-01-07 10:01:06 -04:00
web3.spec.js