1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-23 11:46:13 +02:00
metamask-extension/test/e2e
Mark Stacey b1b6d7ae38
Fix intermittent metrics e2e test failure (#9980)
The metrics e2e test would fail if the segment events still weren't
dispatched when the page loaded. The Segment events are sent on a set
interval, so it isn't abnormal for them to lag behind the page load
itself. The `waitUntilCalled` utility has been used to wait until all
required events have been dispatched.

The `wait-until-called` module was converted to an ES5 module, so that
it could be used from an e2e test. The optional `callCount` parameter
has also been added, to allow waiting for more than one call.

The `segmentSpy` had to be converted to a `segmentStub`, to allow the
`waitUntilCalled` utility to be used.
2020-12-03 14:30:50 -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 Move initial e2e navitation into individual tests (#9979) 2020-12-03 14:00:51 -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 Move initial e2e navitation into individual tests (#9979) 2020-12-03 14:00:51 -03:30
fixture-server.js [RFC] add prettier to eslint (#8595) 2020-11-02 17:41:28 -06:00
from-import-ui.spec.js Move initial e2e navitation into individual tests (#9979) 2020-12-03 14:00:51 -03:30
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 Move initial e2e navitation into individual tests (#9979) 2020-12-03 14:00:51 -03:30
metamask-ui.spec.js Move initial e2e navitation into individual tests (#9979) 2020-12-03 14:00:51 -03:30
metrics.spec.js Fix intermittent metrics e2e test failure (#9980) 2020-12-03 14:30:50 -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