mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-21 17:37:01 +01:00
Remove snapshot update from release process (#20546)
The Sentry e2e state snapshots now mask the application version and migration version, ensuring that the snapshots don't need a extra update in each release candidate branch and post-release sync branch. The values are masked rather than removed so that the test still shows they are present in error reports, where they can be quite useful for diagnostic purposes.
This commit is contained in:
parent
a712298f18
commit
702ee233e7
@ -9,9 +9,17 @@ const FixtureBuilder = require('../fixture-builder');
|
||||
|
||||
const maskedBackgroundFields = [
|
||||
'CurrencyController.conversionDate', // This is a timestamp that changes each run
|
||||
// App metadata is masked so that we don't have to update the snapshot as
|
||||
// part of the release process
|
||||
'AppMetadataController.currentAppVersion',
|
||||
'AppMetadataController.currentMigrationVersion',
|
||||
];
|
||||
const maskedUiFields = [
|
||||
'metamask.conversionDate', // This is a timestamp that changes each run
|
||||
// App metadata is masked so that we don't have to update the snapshot as
|
||||
// part of the release process
|
||||
'metamask.currentAppVersion',
|
||||
'metamask.currentMigrationVersion',
|
||||
];
|
||||
|
||||
const removedBackgroundFields = [
|
||||
|
@ -8,10 +8,10 @@
|
||||
},
|
||||
"AnnouncementController": "object",
|
||||
"AppMetadataController": {
|
||||
"currentAppVersion": "10.34.5",
|
||||
"currentAppVersion": "string",
|
||||
"previousAppVersion": "",
|
||||
"previousMigrationVersion": 0,
|
||||
"currentMigrationVersion": 94
|
||||
"currentMigrationVersion": "number"
|
||||
},
|
||||
"AppStateController": {
|
||||
"connectedStatusPopoverHasBeenShown": true,
|
||||
|
@ -57,10 +57,10 @@
|
||||
"usedNetworks": "object",
|
||||
"snapsInstallPrivacyWarningShown": "boolean",
|
||||
"serviceWorkerLastActiveTime": "number",
|
||||
"currentAppVersion": "10.34.5",
|
||||
"currentAppVersion": "string",
|
||||
"previousAppVersion": "",
|
||||
"previousMigrationVersion": 0,
|
||||
"currentMigrationVersion": 94,
|
||||
"currentMigrationVersion": "number",
|
||||
"selectedNetworkClientId": "string",
|
||||
"networkId": "1337",
|
||||
"providerConfig": {
|
||||
|
Loading…
Reference in New Issue
Block a user