1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/test/e2e
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
..
fixtures Remove localhost provider type (#9551) 2020-10-12 12:05:40 -07:00
mock-3box Fix node/no-deprecated-api issues (#9670) 2020-10-22 11:33:45 -02:30
send-eth-with-private-key-test I5849 incremental account security (#6874) 2019-08-02 01:27:26 -02:30
tests Fix require-unicode-regexp issues (#9212) 2020-08-14 09:18:42 -02:30
webdriver Add MetaMask Swaps (#9482) 2020-10-06 15:58:38 -02:30
address-book.spec.js Only shows the swaps intro popup on mainnet (#9534) 2020-10-09 13:07:11 -02:30
benchmark.js Update ESLint shared config to v3 (#9274) 2020-08-19 13:57:05 -02:30
ethereum-on.spec.js Remove localhost provider type (#9551) 2020-10-12 12:05:40 -07:00
fixture-server.js Fix import/order issues (#9239) 2020-08-18 16:48:25 -02:30
from-import-ui.spec.js Only shows the swaps intro popup on mainnet (#9534) 2020-10-09 13:07:11 -02:30
ganache.js Remove localhost provider type (#9551) 2020-10-12 12:05:40 -07:00
helpers.js Fix node/no-callback-literal issues (#9668) 2020-10-21 15:54:51 -02:30
incremental-security.spec.js Only shows the swaps intro popup on mainnet (#9534) 2020-10-09 13:07:11 -02:30
metamask-responsive-ui.spec.js Only shows the swaps intro popup on mainnet (#9534) 2020-10-09 13:07:11 -02:30
metamask-ui.spec.js Improve stability of contract deposit e2e test (#9685) 2020-10-22 19:07:12 -02:30
permissions.spec.js Only shows the swaps intro popup on mainnet (#9534) 2020-10-09 13:07:11 -02:30
run-all.sh Retry e2e tests 3 times (#9070) 2020-07-23 20:01:42 -02:30
send-edit.spec.js Only shows the swaps intro popup on mainnet (#9534) 2020-10-09 13:07:11 -02:30
signature-request.spec.js Update ESLint shared config to v3 (#9274) 2020-08-19 13:57:05 -02:30
threebox.spec.js Only shows the swaps intro popup on mainnet (#9534) 2020-10-09 13:07:11 -02:30