1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/test
Mark Stacey 1ad87d36c3
Improve stability of contract deposit e2e test (#9685)
The e2e test for the contract deposit action was unnecessarily reliant
upon timing. After initiating a deposit, it would grab the first
transaction in the transaction list and assume it was the deposit that
it had just initiated. If it looked prior to the unapproved transaction
being added to the list, it would grab the wrong transaction.

It now looks specifically for _unconfirmed_ transactions, meaning it
will block until the deposit transaction is rendered.

This was discovered in testing a test-dapp PR:
https://github.com/MetaMask/test-dapp/pull/76
2020-10-22 19:07:12 -02:30
..
data Use chainId values for the address book (#9565) 2020-10-12 16:35:55 -07:00
e2e Improve stability of contract deposit e2e test (#9685) 2020-10-22 19:07:12 -02:30
lib Add prettier-plugin-sort-json (#9450) 2020-09-23 12:21:42 -02:30
stub
unit Update @metamask/eslint-config to v4.1.0 (#9663) 2020-10-21 14:01:03 -02:30
unit-global Fix no-empty-function issues (#9216) 2020-08-14 09:17:02 -02:30
env.js
helper.js Update @metamask/eslint-config to v4.1.0 (#9663) 2020-10-21 14:01:03 -02:30
setup.js Remove obs-store babel register handling (#8413) 2020-04-27 07:54:42 -07:00