mirror of
https://github.com/cypress-io/cypress.git
synced 2026-04-29 19:41:16 -05:00
chore: make sure the constant for the welcome screen is patched (#30893)
This commit is contained in:
@@ -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(() => {
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user