-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
feat(12): change testIsolation values from on/off to true/false #24935
Conversation
Thanks for taking the time to open a PR!
|
validation: (key: string, value: any, opts: ValidationOptions) => { | ||
const { testingType } = opts | ||
|
||
let configOpts = ['on', 'off'] | ||
let configOpts = [true, 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.
I feel like this should use validate.isBoolean
, but for component testing, would need add either validate.isTrue
or validate.isExactValue
.
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.
Looking at this, validate.isBoolean
accepts a null value, and we only want true & false. Not sure it's the best option for this?
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
…igin` cypress-io/cypress#24935 Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
After, sync with @brian-mann we decided
true
andfalse
was more appropriate values fortestIsolation
instead ofon
andoff
.User facing changelog
Changes the testIsolation configuration values from
on
oroff
totrue
orfalse
.cypress-documentation
?type definitions
?