mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 09:57:02 +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
19b6baefb4
commit
180ac559b8
@ -9,9 +9,17 @@ const FixtureBuilder = require('../fixture-builder');
|
|||||||
|
|
||||||
const maskedBackgroundFields = [
|
const maskedBackgroundFields = [
|
||||||
'CurrencyController.conversionDate', // This is a timestamp that changes each run
|
'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 = [
|
const maskedUiFields = [
|
||||||
'metamask.conversionDate', // This is a timestamp that changes each run
|
'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 = [
|
const removedBackgroundFields = [
|
||||||
|
@ -8,10 +8,10 @@
|
|||||||
},
|
},
|
||||||
"AnnouncementController": "object",
|
"AnnouncementController": "object",
|
||||||
"AppMetadataController": {
|
"AppMetadataController": {
|
||||||
"currentAppVersion": "10.35.0",
|
"currentAppVersion": "string",
|
||||||
"previousAppVersion": "",
|
"previousAppVersion": "",
|
||||||
"previousMigrationVersion": 0,
|
"previousMigrationVersion": 0,
|
||||||
"currentMigrationVersion": 92.1
|
"currentMigrationVersion": "number"
|
||||||
},
|
},
|
||||||
"AppStateController": {
|
"AppStateController": {
|
||||||
"connectedStatusPopoverHasBeenShown": true,
|
"connectedStatusPopoverHasBeenShown": true,
|
||||||
|
@ -57,10 +57,10 @@
|
|||||||
"snapsInstallPrivacyWarningShown": "boolean",
|
"snapsInstallPrivacyWarningShown": "boolean",
|
||||||
"hadAdvancedGasFeesSetPriorToMigration92_3": "boolean",
|
"hadAdvancedGasFeesSetPriorToMigration92_3": "boolean",
|
||||||
"serviceWorkerLastActiveTime": "number",
|
"serviceWorkerLastActiveTime": "number",
|
||||||
"currentAppVersion": "10.35.0",
|
"currentAppVersion": "string",
|
||||||
"previousAppVersion": "",
|
"previousAppVersion": "",
|
||||||
"previousMigrationVersion": 0,
|
"previousMigrationVersion": 0,
|
||||||
"currentMigrationVersion": 92.1,
|
"currentMigrationVersion": "number",
|
||||||
"networkId": "1337",
|
"networkId": "1337",
|
||||||
"networkStatus": "available",
|
"networkStatus": "available",
|
||||||
"providerConfig": {
|
"providerConfig": {
|
||||||
|
Loading…
Reference in New Issue
Block a user