Skip to content

Commit

Permalink
Replace excludeNavigationFromSnapshot with `includeNavigationInSnap…
Browse files Browse the repository at this point in the history
…shot`
  • Loading branch information
Twixes committed Jan 9, 2024
1 parent 990da04 commit c82cacd
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 41 deletions.
3 changes: 3 additions & 0 deletions frontend/src/layout/navigation-3000/Navigation.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ const meta: Meta = {
],
parameters: {
layout: 'fullscreen',
testOptions: {
includeNavigationInSnapshot: true,
},
viewMode: 'story',
mockDate: '2023-02-01',
},
Expand Down
4 changes: 1 addition & 3 deletions frontend/src/scenes/annotations/Annotations.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ const meta: Meta = {
title: 'Scenes-App/Annotations',
parameters: {
layout: 'fullscreen',
testOptions: {
excludeNavigationFromSnapshot: true,
},
testOptions: {},
viewMode: 'story',
mockDate: '2023-01-28', // To stabilize relative dates
},
Expand Down
4 changes: 1 addition & 3 deletions frontend/src/scenes/apps/AppMetricsScene.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ const meta: Meta = {
title: 'Scenes-App/Apps/App Metrics',
parameters: {
layout: 'fullscreen',
testOptions: {
excludeNavigationFromSnapshot: true,
},
testOptions: {},
viewMode: 'story',
},
decorators: [
Expand Down
1 change: 0 additions & 1 deletion frontend/src/scenes/batch_exports/BatchExports.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ export default {
layout: 'fullscreen',
options: { showPanel: false },
testOptions: {
excludeNavigationFromSnapshot: true,
waitForLoadersToDisappear: true,
},
mockDate: '2023-02-01',
Expand Down
4 changes: 1 addition & 3 deletions frontend/src/scenes/dashboard/Dashboards.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@ const meta: Meta = {
],
parameters: {
layout: 'fullscreen',
testOptions: {
excludeNavigationFromSnapshot: true,
},
testOptions: {},
viewMode: 'story',
mockDate: '2023-02-01',
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,7 @@ const meta: Meta = {
title: 'Scenes-App/Data Management',
parameters: {
layout: 'fullscreen',
testOptions: {
excludeNavigationFromSnapshot: true,
},
testOptions: {},
viewMode: 'story',
mockDate: '2023-02-15', // To stabilize relative dates
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,7 @@ const meta: Meta = {
title: 'Scenes-App/Features',
parameters: {
layout: 'fullscreen',
testOptions: {
excludeNavigationFromSnapshot: true,
},
testOptions: {},
viewMode: 'story',
mockDate: '2023-01-28', // To stabilize relative dates
},
Expand Down
4 changes: 1 addition & 3 deletions frontend/src/scenes/events/Events.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ const meta: Meta = {
],
parameters: {
layout: 'fullscreen',
testOptions: {
excludeNavigationFromSnapshot: true,
},
testOptions: {},
viewMode: 'story',
mockDate: '2023-01-28', // To stabilize relative dates
},
Expand Down
4 changes: 1 addition & 3 deletions frontend/src/scenes/experiments/Experiment.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -577,9 +577,7 @@ const meta: Meta = {
title: 'Scenes-App/Experiments',
parameters: {
layout: 'fullscreen',
testOptions: {
excludeNavigationFromSnapshot: true,
},
testOptions: {},
viewMode: 'story',
mockDate: '2023-02-15', // To stabilize relative dates
},
Expand Down
4 changes: 1 addition & 3 deletions frontend/src/scenes/feature-flags/FeatureFlags.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ const meta: Meta = {
title: 'Scenes-App/Feature Flags',
parameters: {
layout: 'fullscreen',
testOptions: {
excludeNavigationFromSnapshot: true,
},
testOptions: {},
viewMode: 'story',
mockDate: '2023-01-28', // To stabilize relative dates
},
Expand Down
1 change: 0 additions & 1 deletion frontend/src/scenes/insights/Insights.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ const meta: Meta = {
parameters: {
layout: 'fullscreen',
testOptions: {
excludeNavigationFromSnapshot: true,
snapshotBrowsers: ['chromium', 'webkit'],
},
viewMode: 'story',
Expand Down
4 changes: 1 addition & 3 deletions frontend/src/scenes/pipeline/Pipeline.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ export default {
parameters: {
layout: 'fullscreen',
options: { showPanel: false },
testOptions: {
excludeNavigationFromSnapshot: true,
},
testOptions: {},
viewMode: 'story',
mockDate: '2023-02-18',
featureFlags: [FEATURE_FLAGS.PIPELINE_UI],
Expand Down
4 changes: 1 addition & 3 deletions frontend/src/scenes/plugins/Plugins.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ const meta: Meta = {
title: 'Scenes-App/Apps',
parameters: {
layout: 'fullscreen',
testOptions: {
excludeNavigationFromSnapshot: true,
},
testOptions: {},
viewMode: 'story',
},
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ const meta: Meta = {
],
parameters: {
layout: 'fullscreen',
testOptions: {
excludeNavigationFromSnapshot: true,
},
testOptions: {},
viewMode: 'story',
mockDate: '2023-02-01',
},
Expand Down
4 changes: 1 addition & 3 deletions frontend/src/scenes/saved-insights/SavedInsights.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ const meta: Meta = {
title: 'Scenes-App/Saved Insights',
parameters: {
layout: 'fullscreen',
testOptions: {
excludeNavigationFromSnapshot: true,
},
testOptions: {},
viewMode: 'story',
mockDate: '2023-02-18',
},
Expand Down
4 changes: 1 addition & 3 deletions frontend/src/scenes/surveys/Surveys.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,7 @@ const meta: Meta = {
title: 'Scenes-App/Surveys',
parameters: {
layout: 'fullscreen',
testOptions: {
excludeNavigationFromSnapshot: true,
},
testOptions: {},
viewMode: 'story',
mockDate: '2023-06-28', // To stabilize relative dates
},
Expand Down

0 comments on commit c82cacd

Please sign in to comment.