1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02: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 Contract test dapp improvements (#7587) 2019-12-09 14:31:47 -04:00
fixtures End-to-end test state fixtures (#7663) 2019-12-11 09:26:20 -08:00
mock-3box 3box integration 2.0 (#6972) 2019-09-16 14:41:01 -02:30
send-eth-with-private-key-test I5849 incremental account security (#6874) 2019-08-02 01:27:26 -02:30
webdriver Update selenium-webdriver (#7749) 2020-01-07 10:01:06 -04:00
address-book.spec.js Consolidate E2E test helper functions into helper.js (#7684) 2019-12-10 15:23:25 -04:00
ethereum-on.spec.js Consolidate E2E test helper functions into helper.js (#7684) 2019-12-10 15:23:25 -04:00
fetch-mocks.json Remove unused gasExpress fetch mocks (#7681) 2019-12-10 09:52:34 -04:00
fixture-server.js End-to-end test state fixtures (#7663) 2019-12-11 09:26:20 -08:00
from-import-ui.spec.js Consolidate E2E test helper functions into helper.js (#7684) 2019-12-10 15:23:25 -04:00
ganache.js Use Ganache programmatically in e2e tests (#7664) 2019-12-09 10:40:43 -04:00
helpers.js Improve e2e helper functions (#7750) 2020-01-07 10:46:03 -04:00
incremental-security.spec.js Consolidate E2E test helper functions into helper.js (#7684) 2019-12-10 15:23:25 -04:00
metamask-responsive-ui.spec.js Consolidate E2E test helper functions into helper.js (#7684) 2019-12-10 15:23:25 -04:00
metamask-ui.spec.js Consolidate E2E test helper functions into helper.js (#7684) 2019-12-10 15:23:25 -04:00
permissions.spec.js Consolidate E2E test helper functions into helper.js (#7684) 2019-12-10 15:23:25 -04:00
run-all.sh Use Ganache programmatically in e2e tests (#7664) 2019-12-09 10:40:43 -04:00
run-web3.sh Add support for one-click onboarding (#7017) 2019-11-22 13:03:51 -04:00
send-edit.spec.js Consolidate E2E test helper functions into helper.js (#7684) 2019-12-10 15:23:25 -04:00
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 Consolidate E2E test helper functions into helper.js (#7684) 2019-12-10 15:23:25 -04:00