mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 18:00:18 +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. |
||
---|---|---|
.. | ||
data | ||
e2e | ||
integration | ||
lib | ||
stub | ||
unit | ||
unit-global | ||
web3 | ||
base.conf.js | ||
flat.conf.js | ||
helper.js | ||
setup.js |