From 49d578c5c76491b21159b8153fcd98513720134b Mon Sep 17 00:00:00 2001 From: Bill Glesias Date: Thu, 16 Jan 2025 13:43:48 -0500 Subject: [PATCH] chore: make sure the constant for the welcome screen is patched (#30893) --- packages/frontend-shared/cypress/support/e2e.ts | 2 +- packages/types/src/constants.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/frontend-shared/cypress/support/e2e.ts b/packages/frontend-shared/cypress/support/e2e.ts index 2b365631743c..7594ffb1f0c6 100644 --- a/packages/frontend-shared/cypress/support/e2e.ts +++ b/packages/frontend-shared/cypress/support/e2e.ts @@ -402,7 +402,7 @@ function visitLaunchpad (options: { showWelcome?: boolean } = { showWelcome: fal // avoid re-stubbing already stubbed prompts in case we call getPreferences multiple times if ((ctx._apis.localSettingsApi.getPreferences as any).wrappedMethod === undefined) { o.sinon.stub(ctx._apis.localSettingsApi, 'getPreferences').resolves({ majorVersionWelcomeDismissed: { - [13]: Date.now(), + [14]: Date.now(), } }) } }).then(() => { diff --git a/packages/types/src/constants.ts b/packages/types/src/constants.ts index e1df518af270..b564b5615f49 100644 --- a/packages/types/src/constants.ts +++ b/packages/types/src/constants.ts @@ -25,7 +25,7 @@ export const PACKAGE_MANAGERS = ['npm', 'yarn', 'pnpm'] as const // Note: ONLY change this in code that will be merged into a release branch // for a new major version of Cypress -export const MAJOR_VERSION_FOR_CONTENT = '13' +export const MAJOR_VERSION_FOR_CONTENT = '14' export const RUN_ALL_SPECS_KEY = '__all' as const