Skip to content

fix: remove baseUrl from root-level types for supported fields #20589

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

Merged
merged 14 commits into from
Mar 16, 2022

Conversation

estrada9166
Copy link
Member

User facing changelog

Update types with supported fields on the root level and with each testing type

Additional details

How has the user experience changed?

PR Tasks

  • 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)
  • Has a PR for user-facing changes been opened in cypress-documentation?
  • Have API changes been updated in the type definitions?
  • Have new configuration options been added to the cypress.schema.json?

@cypress-bot
Copy link
Contributor

cypress-bot bot commented Mar 11, 2022

Thanks for taking the time to open a PR!

@cypress
Copy link

cypress bot commented Mar 11, 2022



Test summary

17787 0 217 0Flakiness 2


Run details

Project cypress
Status Passed
Commit efe12c2
Started Mar 16, 2022 1:52 PM
Ended Mar 16, 2022 2:04 PM
Duration 12:06 💡
OS Linux Debian - 10.10
Browser Multiple

View run in Cypress Dashboard ➡️


Flakiness

xhr.cy.js Flakiness
1 ... > no status when request isnt forced 404
navigation.cy.js Flakiness
1 src/cy/commands/navigation > #visit > window immediately resolves and doesn't reload when visiting the same URL with hashes

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

Copy link
Contributor

@lmiller1990 lmiller1990 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One minor comment/question. Thanks!

Cypress.config({ baseUrl: '.', }) // $ExpectType void
Cypress.config({ e2e: { baseUrl: '.' }}) // $ExpectType void
Cypress.config({ e2e: { baseUrl: null }}) // $ExpectType void
Cypress.config({ e2e: { baseUrl: '.', }}) // $ExpectType void
Copy link
Contributor

@lmiller1990 lmiller1990 Mar 15, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need one of these tests asserting component.baseUrl is not allowed? (I am not sure if these inline, string-based assertions support that)

@lmiller1990 lmiller1990 self-requested a review March 15, 2022 01:47
lmiller1990
lmiller1990 previously approved these changes Mar 15, 2022
@flotwig flotwig requested a review from ryanthemanuel March 15, 2022 15:35
@emilyrohrbough emilyrohrbough changed the title fix: update types for supported fields fix: remove baseUrl from root-level types for supported fields Mar 16, 2022
@estrada9166 estrada9166 merged commit 54f3b90 into 10.0-release Mar 16, 2022
@estrada9166 estrada9166 deleted the alejandro/fix/update-types branch March 16, 2022 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants