1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-25 11:28:51 +01:00
metamask-extension/test
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
..
data Remove use of ethgasstation; use metaswap /gasPrices api for gas price estimates (#9867) 2020-12-02 19:55:19 -03:30
e2e Fix intermittent metrics e2e test failure (#9980) 2020-12-03 14:30:50 -03:30
lib Fix intermittent metrics e2e test failure (#9980) 2020-12-03 14:30:50 -03:30
stub json-rpc-engine@6.1.0 (#9922) 2020-12-02 11:41:24 -08:00
unit add new MetaMetricsController (#9857) 2020-12-02 15:41:30 -06:00
unit-global Add SES lockdown to extension webapp (#9729) 2020-11-24 11:26:43 +08:00
env.js
helper.js Update @metamask/eslint-config to v4.1.0 (#9663) 2020-10-21 14:01:03 -02:30
setup.js