1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/test/e2e
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
..
import-utc-json
metrics test/e2e: add test for transaction finalized metric events (#19837) 2023-07-07 07:06:01 -05:00
mock-page-with-disallowed-iframe
mock-page-with-iframe
mv3 Merge remote-tracking branch 'origin/master' into Version-v10.35.0 2023-08-14 14:31:37 -02:30
mv3-perf-stats
nft Multichain Activity Screen (#19557) 2023-07-17 13:48:15 -04:00
restore
seeder Extend wallet_watchAsset to support ERC721 and ERC1155 tokens (#19454) 2023-06-15 15:18:12 -05:00
send-eth-with-private-key-test
snaps [FLASK] Add Snaps Keyring (#19710) 2023-06-29 09:24:08 -04:00
swaps Merge remote-tracking branch 'origin/master' into Version-v10.35.0 2023-08-14 14:31:37 -02:30
tests feat: Add more state props from controllers to Sentry mask (#20595) 2023-08-30 16:21:06 -02:30
webdriver fix flakiness in mv3 multiple restart test (#19708) 2023-07-12 19:27:44 +01:00
.mocharc.js
benchmark.js Release MultiChain 0.5 (#18903) 2023-06-01 16:14:38 -05:00
e2e-mocha-setup.js
e2e-process-report.js
fixture-builder.js Fix and test log.info calls run for each migration (#20517) 2023-08-18 11:16:42 -02:30
fixture-server.js
ganache.js [e2e] Using ganache requests to getBalance and getAccounts (#18215) 2023-03-20 10:29:18 +01:00
helpers.js Merge remote-tracking branch 'origin/master' into Version-v10.35.0 2023-08-14 14:31:37 -02:30
lavamoat-stats.js
metamask-ui.spec.js Multichain Activity Screen (#19557) 2023-07-17 13:48:15 -04:00
mock-e2e.js Merge remote-tracking branch 'origin/master' into Version-v10.35.0 2023-08-14 14:31:37 -02:30
mv3-stats.js
phishing-warning-page-server.js
run-all.js Update @metamask/phishing-controller to v4.0.0 (#18840) 2023-07-31 17:55:48 -02:30
run-e2e-test.js Add --retry-until-failure flag to e2e test script (#19532) 2023-07-10 17:10:13 -02:30
user-actions-benchmark.js Fix #19609 - Prevent rounded corners in account menu (#19615) 2023-06-20 08:38:24 -05:00