1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 09:57:02 +01:00
metamask-extension/test/e2e/tests
Mark Stacey 20e16d41be
Improve Sentry state pre-initialization (#20491)
* Improve Sentry state pre-initialization

Previously the masked state snapshot sent to Sentry would be blank for
errors that occured during initialization. Instead we'll now include
some basic information in all cases, and a masked copy of the persisted
state if it happens after the first time the persisted state is read.

* Add test

* Fix crash when persisted state not yet fetched

* Add descriptions for initial state hooks

* Update comments to reflect recent changes

* Re-order imports to follow conventions

* Move initial state hooks back to module-level

The initial state hooks are now setup at the top-level of their module.
This ensures that they're setup prior to later imports. Calling a
function to setup these hooks in the entrypoint module wouldn't
accomplish this even if it was run "before" the imports because ES6
imports always get hoisted to the top of the file.

The `localStore` instance wasn't available statically, so a new state
hook was introduced for retrieving the most recent retrieved persisted
state.

* Fix error e2e tests
2023-08-17 09:29:05 -02:30
..
phishing-controller Update @metamask/phishing-controller to v4.0.0 (#18840) 2023-07-31 10:18:48 -02:30
state-snapshots Improve Sentry state pre-initialization (#20491) 2023-08-17 09:29:05 -02:30
4byte-directory.spec.js Add Opt-out Settings toggle for 4byte contract method names resolution (#20098) 2023-08-04 13:28:37 -04:00
account-details.spec.js Improve Account Details E2E tests (#20183) 2023-07-27 09:22:13 -05:00
account-token-list.spec.js UX Multichain: Fixed fiat and eth value in Account List Menu (#20334) 2023-08-04 13:29:23 -04:00
add-account.spec.js Fix add-account e2e test (#19684) 2023-06-20 16:33:24 +01:00
add-custom-network.spec.js Updating network list item hover (#20063) 2023-07-19 10:12:24 -07:00
add-hide-token.spec.js Fix #19829: UX: Multichain: Move "Import Tokens" to Modal (#19553) 2023-08-14 11:08:59 -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 13:33:36 -04:00
chain-interactions.spec.js Updating network list item hover (#20063) 2023-07-19 10:12:24 -07:00
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 Updating network list item hover (#20063) 2023-07-19 10:12:24 -07:00
custom-token-add-approve.spec.js Fix #19829: UX: Multichain: Move "Import Tokens" to Modal (#19553) 2023-08-14 11:08:59 -05: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 Improve Sentry state pre-initialization (#20491) 2023-08-17 09:29:05 -02:30
eth-sign.spec.js Signature-Request refactor (#19104) 2023-07-20 18:51:38 +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 Updating network list item hover (#20063) 2023-07-19 10:12:24 -07:00
import-tokens.spec.js Fix #19829: UX: Multichain: Move "Import Tokens" to Modal (#19553) 2023-08-14 11:08:59 -05:00
incremental-security.spec.js UX: Multichain: Convert AccountDetails Popover to Modal (#19811) 2023-07-05 18:27:02 +05:30
ipfs-ens-resolution.spec.js Fix ipfs-ens-resolution.spec.js E2E intermittent failure (#20311) 2023-08-01 13:26:42 -05:00
ipfs-toggle.spec.js Added e2e test for ipfs toggle (#20360) 2023-08-03 14:52:52 +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
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 update isElementPresent usages (#20112) 2023-07-20 15:22:29 +01:00
permissions.spec.js Fix #20006 - Add Address Details and View on Explorer to Global Menu (#20013) 2023-07-18 17:01:07 -05:00
personal-sign.spec.js Signature-Request refactor (#19104) 2023-07-20 18:51:38 +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 Updating network list item hover (#20063) 2023-07-19 10:12:24 -07: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 update isElementPresent usages (#20112) 2023-07-20 15:22:29 +01:00
signature-request.spec.js Signature-Request refactor (#19104) 2023-07-20 18:51:38 +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 13:33:36 -04:00
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 Fix #19829: UX: Multichain: Move "Import Tokens" to Modal (#19553) 2023-08-14 11:08:59 -05:00