1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00
metamask-extension/test/e2e/tests
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
..
account-details.spec.js Adding support for EIP-1559 in E2E tests (#13282) 2022-01-19 04:38:41 +05:30
add-account.spec.js Split SRP input by word (#14016) 2022-03-21 16:39:26 -02:30
add-hide-token.spec.js Refactor ESLint config (#13482) 2022-02-28 10:42:09 -07:00
address-book.spec.js Adding support for EIP-1559 in E2E tests (#13282) 2022-01-19 04:38:41 +05:30
auto-lock.spec.js Fix auto-lock e2e test (#14685) 2022-05-10 18:42:02 -07:00
chain-interactions.spec.js Update E2E tests for new test-dapp version (#14939) 2022-06-15 15:50:37 +02:00
contract-interactions.spec.js E2e connected state (#14444) 2022-04-20 09:37:34 +01:00
custom-rpc-history.spec.js Overall CSS #13441 (#13902) 2022-05-16 13:38:04 -05:00
dapp-interactions.spec.js Update E2E tests for new test-dapp version (#14939) 2022-06-15 15:50:37 +02:00
edit-gas-fee.spec.js E2e send tests (#14568) 2022-05-05 18:51:57 +01:00
eth-sign.spec.js E2e signing (#13507) 2022-02-04 15:39:48 +00:00
failing-contract.spec.js E2e connected state (#14444) 2022-04-20 09:37:34 +01:00
from-import-ui.spec.js Updating some more instances (#14851) 2022-06-03 11:42:48 -07:00
incremental-security.spec.js Upgrade ganache - continued (#13354) 2022-01-20 16:56:52 +00:00
localization.spec.js Adding support for EIP-1559 in E2E tests (#13282) 2022-01-19 04:38:41 +05:30
lock-account.spec.js Adding support for EIP-1559 in E2E tests (#13282) 2022-01-19 04:38:41 +05:30
lockdown.spec.js Adding support for EIP-1559 in E2E tests (#13282) 2022-01-19 04:38:41 +05:30
metamask-responsive-ui.spec.js Updating some more instances (#14851) 2022-06-03 11:42:48 -07:00
metrics.spec.js E2e metrics (#13904) 2022-03-15 13:17:48 -03:00
navigate-transactions.spec.js E2e connected state (#14444) 2022-04-20 09:37:34 +01:00
permissions.spec.js Adding support for EIP-1559 in E2E tests (#13282) 2022-01-19 04:38:41 +05:30
personal-sign.spec.js fix test (#13513) 2022-02-04 17:00:43 +00:00
phishing-detection.spec.js Update e2e test to reflect change in Chrome 2022-06-03 11:53:45 -02:30
provider-api.spec.js Update E2E tests for new test-dapp version (#14939) 2022-06-15 15:50:37 +02:00
send-edit.spec.js E2e send tests (#14568) 2022-05-05 18:51:57 +01:00
send-eth.spec.js Improve confirm screen tests (#15163) 2022-07-12 14:50:20 -02:30
send-hex-address.spec.js Show users a warning when they are sending directly to a token contract (#13588) 2022-07-13 19:45:38 -02:30
settings-search.spec.js E2e settings search msgs (#14386) 2022-04-13 17:26:26 +02:00
signature-request.spec.js Refactor ESLint config (#13482) 2022-02-28 10:42:09 -07:00
simple-send.spec.js Adding support for EIP-1559 in E2E tests (#13282) 2022-01-19 04:38:41 +05:30
state-logs.spec.js State logs e2e (#15123) 2022-07-01 20:46:12 +01:00
swap-eth.spec.js e2e test for swaps (#14393) 2022-04-12 11:57:18 +02:00
threebox.spec.js Make default icons the same on mobile and extension #13264 (#13408) 2022-02-16 11:03:17 -06:00
token-details.spec.js Add e2e testcase for token details functionality (#13818) 2022-03-09 09:35:14 +01:00