Mark Stacey
507c2cb475
Capture Sentry errors prior to initialization ( #20265 )
...
* Capture Sentry errors prior to initialization
Sentry errors captured before/during the wallet initialization are
currently not captured because we don't have the controller state yet
to determine whether the user has consented.
The Sentry setup has been updated to check the persisted state for
whether the user has consented, as a fallback in case the controller
state hasn't been initialized yet. This ensures that we capture errors
during initialization if the user has opted in.
* Always await async check for whether the user has opted in
* Remove unused import
* Update JSDoc return type
* Remove unused driver method
* Fix metametrics controller unit tests
* Fix e2e tests
* Fix e2e test on Firefox
* Start session upon install rather than toggle
2023-07-31 18:49:32 -02:30
Brad Decker
e28db07a1b
Set sentry autoTrackSessions default ( #20132 )
...
* Set sentry autoTrackSessions default
* endSession....
* fixup
* updated comment
* prevent breaking devmode
* remove changes to beforeSend
* remove additional usage of sinon
2023-07-26 07:13:28 -05:00
Dan J Miller
bf8f606344
Update sentry to v7.53.0 ( #19279 )
...
* Update sentry to v7.53.0
* Fix errors.spec.js
* Update LavaMoat policies
* Update LavaMoat policies
---------
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
Co-authored-by: MetaMask Bot <metamaskbot@users.noreply.github.com>
2023-06-27 12:15:02 -02:30
Peter
02e8e9c679
Avoid resetting the mock server ( #18661 )
2023-04-19 15:36:23 +01:00
Brad Decker
d2c3abea51
Refactor Errors E2E test to no longer rely upon a real error ( #17332 )
...
Co-authored-by: Danica Shen <zhaodanica@gmail.com>
2023-01-23 12:58:35 -06:00
Peter Yinusa
0b4532ec1b
E2e test fixtures ( #16061 )
...
* remove state.json files
* move file
* Update Readme
* Create fixture builder
* load test fixture
* remove redundant method
* update snap tests
* update stats tests
* update extension tests
* update extension tests
* Update fixture data
* snap test dapp connection
* Update fixture data
* add onboarding fixture
* use onboarding fixture
* reuse import account vault
* remove unnecessary use of class
* use fixture builder in new tests
* switch to function
* update default fixture
* update default fixture
* update test
* update 1559 test fixttures
* update 1559 test fixtures
* update 1559 test fixtures
* dismiss 3box whats new
* remove redundant code
* move docs
* remove unused code
* token detection
* use default timeout
* remove redundant code
* Update fixture builder
hide `Protect your funds` dialog
remove browser environment
remove default network details
hide dismiss seed backup reminder
recursively merges fixture data
* add token to tokencontroller
* remove network details
* add missing identities to preference controller
* remove duplicate properties
* update bip-32 to use fixturebuilder
* alphabetise snap permissions
* update get snaps to use fixturebuilder
* Update test-snap-bip-32.spec.js
wait for window
* add popular network state
* update test
* lint
2022-10-28 09:42:12 +01:00
PeterYinusa
fe78890dd2
Sentry e2e test ( #15715 )
2022-08-25 18:07:31 -05:00