1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-25 20:02:58 +01:00
metamask-extension/test/e2e
Pedro Figueiredo 827c2fb741
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-29 20:47:58 -02:30
..
import-utc-json
json-rpc JSON-RPC e2e test POC (#18213) 2023-07-28 14:59:12 +01:00
metrics uses the asertInAnyOrder helper to fix flaky test cases (#20366) 2023-08-03 19:02:04 +01:00
mock-page-with-disallowed-iframe
mock-page-with-iframe
mv3 Update @metamask/phishing-controller to v4.0.0 (#18840) 2023-07-31 10:18:48 -02:30
mv3-perf-stats
nft UX: Remove the 'Source' and 'Link' URLs from NFT detail (#20248) 2023-08-04 13:28:34 -05:00
restore feat(878): implement network txn toggle and new style (#20363) 2023-08-24 11:27:42 +01:00
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] Fix regression in transaction confirmation tabs (#20267) 2023-08-21 12:03:55 +02:00
swaps Show a slippage notification again before submitting a swap, improve content for slippage notifications (#20364) 2023-08-25 11:44:31 +02:00
tests feat: Add more state props from controllers to Sentry mask (#20595) 2023-08-29 20:47:58 -02:30
webdriver Fix snaps E2Es to be compatible with new monorepo-based test-snaps (#20005) 2023-07-21 23:32:51 +02: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 feat(878): implement network txn toggle and new style (#20363) 2023-08-24 11:27:42 +01:00
fixture-server.js
ganache.js
helpers.js Replaced ActionableMessage component in srp-input (#20111) 2023-08-04 08:42:28 -07:00
helpers.test.js feat: implement swap event metric e2e test (#20129) 2023-07-28 19:57:06 +01:00
lavamoat-stats.js
metamask-ui.spec.js Fix #19829: UX: Multichain: Move "Import Tokens" to Modal (#19553) 2023-08-14 11:08:59 -05:00
mock-e2e.js Update @metamask/phishing-controller to v4.0.0 (#18840) 2023-07-31 10:18:48 -02:30
mv3-stats.js
phishing-warning-page-server.js
run-all.js Add flag to update E2E snapshots (#20514) 2023-08-17 13:32:45 -02:30
run-e2e-test.js Add flag to update E2E snapshots (#20514) 2023-08-17 13:32:45 -02:30
user-actions-benchmark.js Fix #19609 - Prevent rounded corners in account menu (#19615) 2023-06-20 08:38:24 -05:00