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

chore: update nextjs documentation to reflect Cypress 14 #5980

Merged
merged 1 commit into from
Nov 5, 2024

Conversation

AtofStryker
Copy link
Contributor

@AtofStryker AtofStryker commented Oct 31, 2024

Updates Next.js supported versions to be 14 as 10, 11, 12, and 13 are no longer supported.

requires cypress-io/cypress-component-testing-apps#25 to be merged into the cypress-component-testing-apps release/14.0.0 branch

@@ -132,7 +132,7 @@ Next.js pages and Component Testing for individual components in a Next.js app.

#### Sample Next.js Apps

- [Next.js 13 with TypeScript](https://github.com/cypress-io/cypress-component-testing-apps/tree/main/react-next13-ts)
- [Next.js 14 with TypeScript](https://github.com/cypress-io/cypress-component-testing-apps/tree/main/react-next14-ts)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

currently a broken link. I will have a PR that updates this repo with what is expected in Cypress 14

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link

cypress bot commented Oct 31, 2024

cypress-documentation    Run #72

Run Properties:  status check passed Passed #72  •  git commit 834b80592b: chore: update nextjs documentation to reflect Cypress 14
Project cypress-documentation
Branch Review chore/update_nextjs_documentation
Run status status check passed Passed #72
Run duration 03m 26s
Commit git commit 834b80592b: chore: update nextjs documentation to reflect Cypress 14
Committer AtofStryker
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 279
View all changes introduced in this branch ↗︎
UI Coverage  10.88%
  Untested elements 1805  
  Tested elements 3  
Accessibility  95.73%
  Failed rules  2 critical   5 serious   4 moderate   0 minor
  Failed elements 572  

@AtofStryker AtofStryker self-assigned this Oct 31, 2024
@AtofStryker AtofStryker force-pushed the chore/remove_vue2_documentation branch from e20ed54 to 809e98d Compare November 3, 2024 20:24
@AtofStryker AtofStryker force-pushed the chore/update_nextjs_documentation branch from b7495d7 to 243780b Compare November 3, 2024 20:29
@AtofStryker AtofStryker marked this pull request as ready for review November 4, 2024 16:28
Base automatically changed from chore/remove_vue2_documentation to release/14.0.0 November 5, 2024 13:01
@AtofStryker AtofStryker force-pushed the chore/update_nextjs_documentation branch from 243780b to 834b805 Compare November 5, 2024 15:39
@AtofStryker AtofStryker merged commit 3a4fa3b into release/14.0.0 Nov 5, 2024
10 checks passed
@AtofStryker AtofStryker deleted the chore/update_nextjs_documentation branch November 5, 2024 15:48
AtofStryker added a commit that referenced this pull request Jan 16, 2025
* Start 14.0 doc updates

* Write JIT compile migration

* Add note about deprecation of resourceType

* Add deprecated badge to intercept resourceType

* Add badge styling

* Add new browser support

* update miggration to right number of versions

* update to be more specific

* Add more docs around justInTimeCompile

* chore: update supported vite versions for cypress 14 (#5978)

* chore: remove nuxt2 documentation as it is removed as a CT option in Cypress 14 (#5976)

* chore: remove vue 2 documentation from Component Testing as it will no longer be supported in Cypress 14 (#5977)

* chore: remove vue 2 docs from component testing as it is no longer supported in Cypress v14

* add vue2 migration guide for temporary support if needed

* chore: update nextjs documentation to reflect Cypress 14 (#5980)

* chore: update angular documentation with supported versions from Cypress 14 (#5983)

* chore: update angular documentation with supported versions from cypress 14 and add migration guide documentation

* address comments from code review

* chore: remove CRA docs from cypress 14 and add migration guide (#5987)

* docs: remove svelte 3 references and update migration guide (#5999)

* chore: remove vue/cli-service from cypress docs and add migration guide (#5989)

* Write a preliminary 'Summary' for v14

* chore: update react docs for Cypress 14 (#6003)

* remove jit from experimental section (#6013)

* chore: add docs for react 19 and next.js 15 (#6008)

* chore: update angular docs to include Angular 19 (#6018)

* chore: add angular 19 docs

* Update docs/app/component-testing/angular/examples.mdx

Co-authored-by: Matt Schile <[email protected]>

---------

Co-authored-by: Matt Schile <[email protected]>

* chore: update vite docs to include v6 (#6019)

* chore: update docs to svelte 5 (#6028)

* chore: update docs to svelte 5

* Update docs/app/references/migration-guide.mdx

Co-authored-by: Matt Schile <[email protected]>

---------

Co-authored-by: Matt Schile <[email protected]>

* chore: remove react 19 rc warning (#6030)

* Updates to changelog/migration guide to clean it up.

* updates

* fix: linting errors (#6067)

* fix link to intercept command from migration-guide

* prettier

* Documents changes to cy.origin, configuration for document.domain inj… (#6058)

* Documents changes to cy.origin, configuration for document.domain injection removal and reversion

* lint and broken link fixes

* lint

* address code review comments: typos, clarification

* lint

* Update docs/app/references/configuration.mdx

Co-authored-by: Bill Glesias <[email protected]>

* update example in cyorigin

---------

Co-authored-by: Cacie Prins <[email protected]>
Co-authored-by: Cacie Prins <[email protected]>
Co-authored-by: Bill Glesias <[email protected]>

* lint

* chore: updates some of the images on the component testing setup guide to show more modern dependency versions (#6073)

* Update docs/app/references/changelog.mdx

Co-authored-by: Bill Glesias <[email protected]>

* Update docs/app/references/changelog.mdx

Co-authored-by: Bill Glesias <[email protected]>

* Update docs/partials/_document-domain-workaround.mdx

Co-authored-by: Bill Glesias <[email protected]>

* Update docs/app/guides/cross-origin-testing.mdx

Co-authored-by: Bill Glesias <[email protected]>

* Update docs/app/references/changelog.mdx

Co-authored-by: Mike McCready <[email protected]>

* Update docs/app/references/changelog.mdx

Co-authored-by: Mike McCready <[email protected]>

* Update docs/app/references/changelog.mdx

Co-authored-by: Mike McCready <[email protected]>

* Update docs/app/references/changelog.mdx

Co-authored-by: Mike McCready <[email protected]>

* fix link

* Update docs/app/references/migration-guide.mdx

Co-authored-by: Mike McCready <[email protected]>

* chore: make sure prettier doesnt run on these lines as things look quite odd (#6081)

---------

Co-authored-by: Bill Glesias <[email protected]>
Co-authored-by: Matt Schile <[email protected]>
Co-authored-by: Cacie Prins <[email protected]>
Co-authored-by: Cacie Prins <[email protected]>
Co-authored-by: Mike McCready <[email protected]>
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.

Remove support for older versions of Next.js in relation to Component Testing
2 participants