-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: do not allow experimentalSessionAndOrigin to be available in CT … #21588
Conversation
Thanks for taking the time to open a PR!
|
@@ -209,7 +209,7 @@ const resolvedOptions: Array<ResolvedConfigOption> = [ | |||
defaultValue: false, | |||
validation: validate.isBoolean, | |||
isExperimental: true, | |||
canUpdateDuringTestTime: true, | |||
canUpdateDuringTestTime: false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This probably should be in its own commit, but I noticed we had this enabled to be updated during test time, when it should not be able to be updated during test time.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AtofStryker is this a breaking change from 9.x?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@emilyrohrbough I think it's just wrong here. Should be fine in 9.x
. My guess is it wasn't caught when merging in with the 10.x-release
branch.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch then!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@emilyrohrbough thank you! I did want to point out though that this did cause some issues with the config flag being set through the global config function for some of the session runner cy-in-cy tests. I moved the session.ui
tests to point to a new directory with the session tests moved into it with the experimental flag turned on in the config in e214495, 1677ca0, and fd08b57
Looks like I need to update the config of some tests 😅 |
…pack * develop: test(launchpad): skip failure due to recaptcha on windows, enable more windows jobs (#21620) docs: add "Steps to test" to PR template (#21606) feat: (origin) handle waiting for aliased intercepts (#21579) fix: handle git watch error (#21600) fix: Successfully create new specs files that do not have a known extension (#21593) chore: release 9.7.0 fix: do not allow experimentalSessionAndOrigin to be available in CT … (#21588) chore: sort the frameworks select dropdown in a more logical way (#21553) Trigger Build fix: disable ct testing when run via binary (#21540) chore: Update Chrome (beta) to 102.0.5005.61 (#21556) chore: release @cypress/react-v5.12.5 fix: add support for Next.js v12.1.6 (#21516) chore: release @cypress/schematic-v1.7.0 feat(cypress/schematic): add headed option and other fixes (#21415) chore: release @cypress/vite-dev-server-v2.2.3 fix: handle specs with white space in vite-dev-server (#21386) Empty commit
…per #21573
User facing changelog
Additional details
The goal of this PR is to make
experimentalSessionAndOrigin
scoped toe2e
testing only until we evaluate how session would be used, as well as test isolation, in the CT environment.Updates to the
config
have been added to forbid use of theexperimentalSessionAndOrigin
flag, as well as added tests to make sureexperimentalSessionAndOrigin
is migrated to thee2e
config options and not kept at the root level. There is also an added system test to verify error messaging if a user tries to add theexperimentalSessionAndOrigin
flag under thecomponent
config.How has the user experience changed?
PR Tasks
cypress-documentation
?type definitions
?cypress.schema.json
?