mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
d27f2ee7d6
The 'can retype the seed phrase' test would fail sometimes when one of the words in the seed phrase was a subset of another word (e.g. 'issue' and 'tissue'). This is because the selector used to find the word looked for the first element that contained the text, rather than an exact match. To simplify the selector and make it more reliable, test ids were added to each seed phrase word. The selector now uses CSS instead of XPath, and it only finds exact matches. A test id was also added to the div containing the shuffled seed words to select from, so that the chosen seed words wouldn't be selected in place of the real target when the same word appears twice. |
||
---|---|---|
.. | ||
contract-test | ||
fixtures | ||
mock-3box | ||
send-eth-with-private-key-test | ||
tests | ||
webdriver | ||
address-book.spec.js | ||
ethereum-on.spec.js | ||
fixture-server.js | ||
from-import-ui.spec.js | ||
ganache.js | ||
helpers.js | ||
incremental-security.spec.js | ||
metamask-responsive-ui.spec.js | ||
metamask-ui.spec.js | ||
permissions.spec.js | ||
run-all.sh | ||
run-web3.sh | ||
send-edit.spec.js | ||
signature-request.spec.js | ||
threebox.spec.js | ||
web3.spec.js |