1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-29 23:58:06 +01:00
metamask-extension/test/e2e
Mark Stacey 2931957870
Split SRP input by word (#14016)
* Initial implementation of new SrpInput component

This new version of the SrpInput component uses a separate field for
each word of the SRP. Only one field can be revealed at a time, making
it less likely that it gets accidentally revealed to somebody.

* Fix copy mistakes

* Move container div from 'create vault' to 'srp-input', and setup grid layout

* Increase size of title

* Remove hard-coded width in Storybook to allow testing different viewport sizes

* Improve layout

* Improve margins

* Update dropdown text

* Expand SRP input section

* Remove unused localized messages

* Update dropdown option names in unit tests

* Replace checkbox with show/hide toggle

* Remove unused localized message

* Fix 'data-testid' prop name

* Fix e2e test imports using paste

* Use 'ActionableMessage' component for error message

* Convert error popover to actionable message

* Add tip about pasting the SRP

* Remove invalid prop

The "info" style of `ActionableMessage` is the default, so no type is
required.

* Use more readable test convenience methods

The method `toBeInTheDocument()` is now used over `not.toBeNull()` to
improve the readability of tests. Likewise, the convenience method
`.clear` is now used to clear fields rather than manually entering the
key combination to clear a field.

* Fix misspelled word
2022-03-21 16:39:26 -02:30
..
fixtures implement event fragments for tx controller (#13331) 2022-01-20 10:26:39 -06:00
mock-3box Refactoring threebox.spec.js to use fixtures (#10849) 2021-04-08 19:53:18 -04:00
send-eth-with-private-key-test Adding support for EIP-1559 in E2E tests (#13282) 2022-01-19 04:38:41 +05:30
snaps Fixed firefox Snaps + add initial end-to-end tests (#13671) 2022-03-10 14:01:55 -08:00
tests Split SRP input by word (#14016) 2022-03-21 16:39:26 -02:30
webdriver Add a new fiat onboarding option via MoonPay (#13934) 2022-03-21 10:26:52 +01:00
benchmark.js Fix 'yarn setup' on M1 Macs (#11887) 2021-09-01 10:40:40 -06:00
fixture-server.js Add fixture server substitutions (#12476) 2021-10-25 12:33:53 -02:30
ganache.js E2e mocking (#13640) 2022-02-16 14:21:41 +00:00
helpers.js Split SRP input by word (#14016) 2022-03-21 16:39:26 -02:30
metamask-ui.spec.js Split SRP input by word (#14016) 2022-03-21 16:39:26 -02:30
mock-e2e.js E2e Swap Api mockup response for suggestedGasFees (#13991) 2022-03-16 17:06:13 +01:00
run-all.js Fixed firefox Snaps + add initial end-to-end tests (#13671) 2022-03-10 14:01:55 -08:00
run-e2e-test.js Simplify Mocha npm scripts (#12313) 2021-10-12 10:10:33 -02:30
x-server.js Fix 'yarn setup' on M1 Macs (#11887) 2021-09-01 10:40:40 -06:00