1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 09:57:02 +01:00
metamask-extension/test/e2e
Dan J Miller 0c163dd8aa
Show users a warning when they are sending directly to a token contract (#13588)
* Fix warning dialog when sending tokens to a known token contract address

Fixing after rebase

Covering missed cases

Rebased and ran yarn setup

Rebased

Fix checkContractAddress condition

Lint fix

Applied requested changes

Fix unit tests

Applying requested changes

Applied requested changes

Refactor and update

Lint fix

Use V2 of ActionableMessage component

Adding Learn More Link

Updating warning copy

Addressing review feedback

Fix up copy changes

Simplify validation of pasted addresses

Improve detection of whether this is a token contract

Refactor to leave updateRecipient unchanged, and to prevent the double calling of update recipient

Update tests

fix

* Fix unit tests

* Fix e2e tests

* Ensure next button is disabled while recipient type is loading

* Add optional chaining and a fallback to getRecipientWarningAcknowledgement

* Fix lint

* Don't reset recipient warning on asset change, because we should show recipient warnings regardless of asset

* Update unit tests

* Update unit tests

Co-authored-by: Filip Sekulic <filip.sekulic@consensys.net>
2022-07-13 19:45:38 -02:30
..
fixtures Improve confirm screen tests (#15163) 2022-07-12 14:50:20 -02:30
mock-3box Refactoring threebox.spec.js to use fixtures (#10849) 2021-04-08 19:53:18 -04:00
mock-page-with-disallowed-iframe Fix e2e tests 2022-05-16 18:48:20 -02:30
mock-page-with-iframe Use externally hosted phishing warning page 2022-05-16 14:40:50 -02:30
send-eth-with-private-key-test Adding support for EIP-1559 in E2E tests (#13282) 2022-01-19 04:38:41 +05:30
snaps Snaps E2E Test Upgrades for the new test-snaps UI (#14980) 2022-07-06 15:22:21 -07:00
tests Show users a warning when they are sending directly to a token contract (#13588) 2022-07-13 19:45:38 -02:30
webdriver State logs e2e (#15123) 2022-07-01 20:46:12 +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 Merge remote-tracking branch 'origin/develop' into master-sync 2022-06-03 11:53:40 -02:30
metamask-ui.spec.js show token approval details on confirm approve screen by default (#14523) 2022-04-26 10:21:52 -05:00
mock-e2e.js E2e infura requests (#14394) 2022-04-08 16:54:43 +02:00
phishing-warning-page-server.js Use externally hosted phishing warning page 2022-05-16 14:40:50 -02:30
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 E2e test timeout (#14483) 2022-04-21 16:51:03 +01:00
x-server.js Fix 'yarn setup' on M1 Macs (#11887) 2021-09-01 10:40:40 -06:00