1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-28 23:06:37 +01:00
metamask-extension/test/e2e/tests
Pedro Figueiredo e5ad6ef2b7 feat: Add more state props from controllers to Sentry mask (#20595)
* feat: update sentry mask adding  controller props to improve error monitoring

* fix:remove changes in chrome-driver dependency

* Remove properties from mask

* Add more values to mask

* Sort the mask alphabetically

* Add termsOfUseLastAgreed to mask

* Fix test imports

* Update policy gap test to compare UI mask

* Reorganize tests under one describe block

* Update snapshots

* Mask another timestamp in state snapshots

* Mask browser environment properties

* Add missing UI field mask, and refactor field masking/removal

* Eliminate remaining policy gaps

* Simplify ganache options

* Eliminate extra mask properties

* Update mask to capture dynamic keys

The mask now supports dynamic keys. This lets set more fine-grained rules
for which data to include within dynamic data structures.

The mask has been updated to include just top-level keys for various
token-related data collections in state. This lets us see the chain IDs
that users have tokens on. This will be useful in debugging Sentry
reports of invalid keys in these data structures.

* Add additional 'expected missing state' entries

* Remove unnecessary properties from state snapshot

* Add providerConfig.chainId to state snapshot

* Update error state snapshots

---------

Co-authored-by: Danica Shen <zhaodanica@gmail.com>
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2023-08-30 16:21:06 -02:30
..
phishing-controller Update @metamask/phishing-controller to v4.0.0 (#18840) 2023-07-31 17:55:48 -02:30
state-snapshots feat: Add more state props from controllers to Sentry mask (#20595) 2023-08-30 16:21:06 -02:30
account-details.spec.js Release MultiChain 0.5 (#18903) 2023-06-01 16:14:38 -05:00
add-account.spec.js Fix add-account e2e test (#19684) 2023-06-20 16:33:24 +01:00
add-custom-network.spec.js fix(e2e): flaky test-e2e-chrome on add-custom-network.spec.js (#19487) 2023-06-07 23:39:06 +05:30
add-hide-token.spec.js Upgrade assets-controllers to v9 (#19472) 2023-06-09 15:48:48 -05:00
address-book.spec.js Multichain Activity Screen (#19557) 2023-07-17 13:48:15 -04:00
advanced-settings.spec.js Release MultiChain 0.5 (#18903) 2023-06-01 16:14:38 -05:00
auto-lock.spec.js Fix autolock field to accept decimals in Firefox (#19653) 2023-06-22 10:29:24 -06:00
backup-restore.spec.js Add improved downloading logic when exporting state logs (#19872) 2023-07-27 15:45:51 -02:30
chain-interactions.spec.js Reduce e2e test flakiness (#19507) 2023-06-08 14:34:48 -02:30
clear-activity.spec.js Multichain Activity Screen (#19557) 2023-07-17 13:48:15 -04:00
contract-interactions.spec.js Multichain Activity Screen (#19557) 2023-07-17 13:48:15 -04:00
custom-rpc-history.spec.js Fix #19941 - Correctly show network name and selection when chainIds collide (#19947) 2023-07-14 05:54:02 -02:30
custom-token-add-approve.spec.js Multichain Activity Screen (#19557) 2023-07-17 13:48:15 -04:00
dapp-interactions.spec.js feat(19726): fix flaky test in Dapp interactions caused by home-container rerender (#19997) 2023-07-13 13:02:06 +01:00
dapp-tx-edit.spec.js chore: refactor connect to dapp action in e2e (#19015) 2023-05-05 14:56:08 +01:00
edit-gas-fee.spec.js Multichain Activity Screen (#19557) 2023-07-17 13:48:15 -04:00
encrypt-decrypt.spec.js feature(19457): fix encrypt-decrypt.spec.js flaky tests (#19725) 2023-07-04 18:36:51 +01:00
ens.spec.js Send flow UI update (#19465) 2023-06-08 22:39:39 +05:30
errors.spec.js feat: Add more state props from controllers to Sentry mask (#20595) 2023-08-30 16:21:06 -02:30
eth-sign.spec.js Add e2e tests for queuing multiple signing operations (#19446) 2023-06-28 08:21:02 +01:00
eth-subscribe.spec.js chore: refactor connect to dapp action in e2e (#19015) 2023-05-05 14:56:08 +01:00
failing-contract.spec.js Multichain Activity Screen (#19557) 2023-07-17 13:48:15 -04:00
gas-estimates.spec.js Use legacy gas API for BSC (#19763) 2023-07-10 14:09:39 -02:30
import-flow.spec.js Multichain Activity Screen (#19557) 2023-07-17 13:48:15 -04:00
incremental-security.spec.js UX: Multichain: Convert AccountDetails Popover to Modal (#19811) 2023-07-05 18:27:02 +05:30
localization.spec.js E2e test fixtures (#16061) 2022-10-28 09:42:12 +01:00
lock-account.spec.js Release MultiChain 0.5 (#18903) 2023-06-01 16:14:38 -05:00
lockdown.spec.js E2e test fixtures (#16061) 2022-10-28 09:42:12 +01:00
metamask-responsive-ui.spec.js Multichain Activity Screen (#19557) 2023-07-17 13:48:15 -04:00
metrics.spec.js Avoid resetting the mock server (#18661) 2023-04-19 15:36:23 +01:00
multiple-transactions.spec.js Multichain Activity Screen (#19557) 2023-07-17 13:48:15 -04:00
navigate-transactions.spec.js feature(17901): fix address-book Sends to an address book entry e2e against MV3 build (#19330) 2023-05-30 13:44:56 +01:00
network-error.spec.js Update @metamask/gas-fee-controller to v6 (#19366) 2023-06-13 12:13:13 -02:30
onboarding.spec.js Reduce e2e test flakiness (#19507) 2023-06-08 14:34:48 -02:30
permissions.spec.js Fix #20006 - Add Address Details and View on Explorer to Global Menu (#20013) 2023-07-26 17:42:34 -02:30
personal-sign.spec.js Add e2e tests for queuing multiple signing operations (#19446) 2023-06-28 08:21:02 +01:00
portfolio-site.spec.js removed portfolio link from wallet view (#19716) 2023-06-23 17:28:41 +05:30
provider-api.spec.js Release MultiChain 0.5 (#18903) 2023-06-01 16:14:38 -05:00
security-provider.spec.js chore: refactor connect to dapp action in e2e (#19015) 2023-05-05 14:56:08 +01:00
send-edit.spec.js Multichain Activity Screen (#19557) 2023-07-17 13:48:15 -04:00
send-eth.spec.js Multichain Activity Screen (#19557) 2023-07-17 13:48:15 -04:00
send-hex-address.spec.js Multichain Activity Screen (#19557) 2023-07-17 13:48:15 -04:00
send-to-contract.spec.js Send flow UI update (#19465) 2023-06-08 22:39:39 +05:30
settings-general.spec.js Release MultiChain 0.5 (#18903) 2023-06-01 16:14:38 -05:00
settings-search.spec.js Release MultiChain 0.5 (#18903) 2023-06-01 16:14:38 -05:00
settings-security-reveal-srp.spec.js feat(srp): add a quiz to the SRP reveal (#19283) 2023-06-20 14:27:10 -04:00
signature-request.spec.js Add e2e tests for queuing multiple signing operations (#19446) 2023-06-28 08:21:02 +01:00
signin-with-ethereum.spec.js chore: refactor connect to dapp action in e2e (#19015) 2023-05-05 14:56:08 +01:00
simple-send.spec.js feature(19463): fix send-eth flaky test and refactor (#19531) 2023-06-09 15:01:12 +01:00
state-logs.spec.js Add improved downloading logic when exporting state logs (#19872) 2023-07-27 15:45:51 -02:30
stuck-approved-transaction.spec.js Multichain Activity Screen (#19557) 2023-07-17 13:48:15 -04:00
switch-custom-network.spec.js Approval flow adding success and error pages (#19778) 2023-07-12 09:29:54 +01:00
terms-of-use.spec.js Terms of use e2e (#18861) 2023-04-28 14:37:06 +01:00
token-details.spec.js Release MultiChain 0.5 (#18903) 2023-06-01 16:14:38 -05:00