1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 09:57:02 +01:00
metamask-extension/test/e2e
Mark Stacey f381f41cb2
Fix network dropdown button (#10312)
This fixes a bug where the network menu would remain present after a
second click on the network menu button. The bug was caused by the
click being handled _twice_, by two separate handlers. First it was
caught by the external click handler of the dropdown menu, which closed
the menu. Second, it was caught by the network button itself, which re-
opened the menu. This all happens quickly enough that to the user it
appears to stay open.

The external click handler of the menu now only fires if the menu is
open. Additionally, any click that is caught by the network menu is
stopped from propagating further, so that it can't trigger additional
click handlers.
2021-01-30 12:12:55 -03:30
..
fixtures Add metrics e2e test (#9784) 2020-12-01 17:54:56 -03:30
mock-3box [RFC] add prettier to eslint (#8595) 2020-11-02 17:41:28 -06:00
send-eth-with-private-key-test I5849 incremental account security (#6874) 2019-08-02 01:27:26 -02:30
tests Move initial e2e navitation into individual tests (#9979) 2020-12-03 14:00:51 -03:30
webdriver Use .zip for Firefox e2e tests (#10056) 2020-12-11 12:54:17 -03:30
address-book.spec.js Move initial e2e navitation into individual tests (#9979) 2020-12-03 14:00:51 -03:30
benchmark.js Move initial e2e navitation into individual tests (#9979) 2020-12-03 14:00:51 -03:30
ethereum-on.spec.js Refactor NetworkDisplay, ConnectedStatusIndicator, etc to use ColorIndicator (#10214) 2021-01-27 10:51:59 -06:00
fixture-server.js [RFC] add prettier to eslint (#8595) 2020-11-02 17:41:28 -06:00
from-import-ui.spec.js Refactor NetworkDisplay, ConnectedStatusIndicator, etc to use ColorIndicator (#10214) 2021-01-27 10:51:59 -06:00
ganache.js [RFC] add prettier to eslint (#8595) 2020-11-02 17:41:28 -06:00
helpers.js Fix intermittent metrics e2e test failure (#9980) 2020-12-03 14:30:50 -03:30
incremental-security.spec.js Move initial e2e navitation into individual tests (#9979) 2020-12-03 14:00:51 -03:30
metamask-responsive-ui.spec.js Refactor NetworkDisplay, ConnectedStatusIndicator, etc to use ColorIndicator (#10214) 2021-01-27 10:51:59 -06:00
metamask-ui.spec.js Fix network dropdown button (#10312) 2021-01-30 12:12:55 -03:30
metrics.spec.js Add timeout to wait-until-called (#9996) 2020-12-04 13:47:57 -03:30
permissions.spec.js Move initial e2e navitation into individual tests (#9979) 2020-12-03 14:00:51 -03:30
run-all.sh Retry e2e tests 3 times (#9070) 2020-07-23 20:01:42 -02:30
send-edit.spec.js Move initial e2e navitation into individual tests (#9979) 2020-12-03 14:00:51 -03:30
signature-request.spec.js Move initial e2e navitation into individual tests (#9979) 2020-12-03 14:00:51 -03:30
threebox.spec.js Move initial e2e navitation into individual tests (#9979) 2020-12-03 14:00:51 -03:30