Skip to content

Commit b8ae51e

Browse files
committed
Remove reference to migration guide
1 parent d866746 commit b8ae51e

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

packages/driver/src/cypress/error_messages.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1657,8 +1657,7 @@ export default {
16571657
if (experimentalSessionSupport) {
16581658
return {
16591659
message: stripIndent`
1660-
${cmd('session')} requires enabling the \`experimentalSessionAndOrigin\` flag. The \`experimentalSessionSupport\` flag was enabled but was removed in Cypress version 9.6.0. Please see the migration guide for updating.`,
1661-
docsUrl: 'https://on.cypress.io/migration-guide',
1660+
${cmd('session')} requires enabling the \`experimentalSessionAndOrigin\` flag. The \`experimentalSessionSupport\` flag was enabled but was removed in Cypress version 9.6.0.`,
16621661
}
16631662
}
16641663

system-tests/projects/e2e/cypress/integration/session_spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -773,7 +773,7 @@ describe('errors', () => {
773773

774774
it('throws error when experimentalSessionSupport is enabled through test config', { experimentalSessionAndOrigin: false, experimentalSessionSupport: true }, (done) => {
775775
cy.on('fail', ({ message }) => {
776-
expect(message).contain('\`cy.session()\` requires enabling the \`experimentalSessionAndOrigin\` flag. The \`experimentalSessionSupport\` flag was enabled but was removed in Cypress version 9.6.0. Please see the migration guide for updating.')
776+
expect(message).contain('\`cy.session()\` requires enabling the \`experimentalSessionAndOrigin\` flag. The \`experimentalSessionSupport\` flag was enabled but was removed in Cypress version 9.6.0.')
777777
done()
778778
})
779779

@@ -784,7 +784,7 @@ describe('errors', () => {
784784
Cypress.config('experimentalSessionSupport', true)
785785

786786
cy.on('fail', ({ message }) => {
787-
expect(message).contain('\`cy.session()\` requires enabling the \`experimentalSessionAndOrigin\` flag. The \`experimentalSessionSupport\` flag was enabled but was removed in Cypress version 9.6.0. Please see the migration guide for updating.')
787+
expect(message).contain('\`cy.session()\` requires enabling the \`experimentalSessionAndOrigin\` flag. The \`experimentalSessionSupport\` flag was enabled but was removed in Cypress version 9.6.0.')
788788
done()
789789
})
790790

0 commit comments

Comments
 (0)