Skip to content
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

Merged
merged 7 commits into from
Dec 2, 2022

Conversation

emilyrohrbough
Copy link
Member

After, sync with @brian-mann we decided true and false was more appropriate values for testIsolation instead of on and off.

User facing changelog

Changes the testIsolation configuration values from on or off to true or false.

  • Have tests been added/updated?
  • Has the original issue (or this PR, if no issue exists) been tagged with a release in ZenHub? (user-facing changes only)
  • [TODO] Has a PR for user-facing changes been opened in cypress-documentation?
  • Have API changes been updated in the type definitions?

@cypress-bot
Copy link
Contributor

cypress-bot bot commented Dec 2, 2022

Thanks for taking the time to open a PR!

@cypress
Copy link

cypress bot commented Dec 2, 2022



Test summary

21730 0 1716 0Flakiness 5


Run details

Project cypress
Status Passed
Commit 1dfaefb
Started Dec 2, 2022 3:52 PM
Ended Dec 2, 2022 4:09 PM
Duration 17:24 💡
OS Linux Debian -
Browser Multiple

View run in Cypress Dashboard ➡️


Flakiness

scaffold-component-testing.cy.ts Flakiness
1 scaffolding component testing > vuecli5vue3 > scaffolds component testing for Vue CLI 5 w/ Vue 3 project
specs.cy.ts Flakiness
1 ... > opens config file in ide from footer button
runs.cy.ts Flakiness
1 App: Runs > Runs - Connect Org > opens create Org modal after clicking Connect Project button and refetch data from the cloud
cypress-in-cypress-run-mode.cy.ts Flakiness
1 Cypress In Cypress - run mode > e2e run mode spec runner header is correct
cypress-origin-communicator.cy.ts Flakiness
1 Cypress In Cypress Origin Communicator > cy.origin passivity with app interactions > passes upon test reload mid test execution

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

@mjhenkes mjhenkes self-requested a review December 2, 2022 14:06
@AtofStryker AtofStryker self-requested a review December 2, 2022 15:10
validation: (key: string, value: any, opts: ValidationOptions) => {
const { testingType } = opts

let configOpts = ['on', 'off']
let configOpts = [true, false]
Copy link
Contributor

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.

Copy link
Member Author

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>
@mjhenkes mjhenkes merged commit afc5e03 into release/12.0.0 Dec 2, 2022
@mjhenkes mjhenkes deleted the update-test-isolation-values branch December 2, 2022 16:29
skjnldsv added a commit to nextcloud-libraries/nextcloud-cypress that referenced this pull request Dec 6, 2022
…igin`

cypress-io/cypress#24935

Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
@cypress-bot
Copy link
Contributor

cypress-bot bot commented Dec 6, 2022

Released in 12.0.0.

This comment thread has been locked. If you are still experiencing this issue after upgrading to
Cypress v12.0.0, please open a new issue.

@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators Dec 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants