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

fix(nextjs): improve e2e test by reusing the project #18827

Merged
merged 1 commit into from
Aug 25, 2023

Conversation

ndcunningham
Copy link
Contributor

@ndcunningham ndcunningham commented Aug 24, 2023

What has been done:

  1. Split e2e/next/ into e2x/next-core/ and e2e/next-extensions
  2. Inside next-core/ all tests that require an isolated workspace has been split into their own test file.
  3. Update CODEOWNERS to support e2e/next-core/ and e2e/next-extensions/

@ndcunningham ndcunningham added the scope: nextjs Issues related to NextJS support for Nx label Aug 24, 2023
@ndcunningham ndcunningham self-assigned this Aug 24, 2023
@ndcunningham ndcunningham requested a review from a team as a code owner August 24, 2023 23:55
@ndcunningham ndcunningham requested a review from xiongemi August 24, 2023 23:55
@vercel
Copy link

vercel bot commented Aug 24, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
nx-dev ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 25, 2023 6:41pm

Copy link
Member

@jaysoo jaysoo left a comment

Choose a reason for hiding this comment

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

Some tests won't pass with shared workspace (using beforeAll). Can we move those into a separate file or describe so they can have their own beforeAll scope?

Also we should separate into next-core and next-extensions. Storybook, component tests, styles, etc. can all go into next-extensions.

@FrozenPandaz FrozenPandaz merged commit 34a7279 into nrwl:master Aug 25, 2023
@ndcunningham ndcunningham deleted the fix/next-e2e-slow branch August 25, 2023 20:52
@github-actions
Copy link

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 31, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
scope: nextjs Issues related to NextJS support for Nx
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants