Skip to content

Commit 49d578c

Browse files
authored
chore: make sure the constant for the welcome screen is patched (#30893)
1 parent 90b017c commit 49d578c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/frontend-shared/cypress/support/e2e.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ function visitLaunchpad (options: { showWelcome?: boolean } = { showWelcome: fal
402402
// avoid re-stubbing already stubbed prompts in case we call getPreferences multiple times
403403
if ((ctx._apis.localSettingsApi.getPreferences as any).wrappedMethod === undefined) {
404404
o.sinon.stub(ctx._apis.localSettingsApi, 'getPreferences').resolves({ majorVersionWelcomeDismissed: {
405-
[13]: Date.now(),
405+
[14]: Date.now(),
406406
} })
407407
}
408408
}).then(() => {

packages/types/src/constants.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export const PACKAGE_MANAGERS = ['npm', 'yarn', 'pnpm'] as const
2525

2626
// Note: ONLY change this in code that will be merged into a release branch
2727
// for a new major version of Cypress
28-
export const MAJOR_VERSION_FOR_CONTENT = '13'
28+
export const MAJOR_VERSION_FOR_CONTENT = '14'
2929

3030
export const RUN_ALL_SPECS_KEY = '__all' as const
3131

0 commit comments

Comments
 (0)