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

Speed up our cypress+next.js test #1733

Open
dadiorchen opened this issue Nov 15, 2023 · 3 comments
Open

Speed up our cypress+next.js test #1733

dadiorchen opened this issue Nov 15, 2023 · 3 comments
Labels
challenge hard, tricky, problem Cypress good first issue Good for newcomers nextjs

Comments

@dadiorchen
Copy link
Collaborator

Currently, the cypress test is slow, npm run cy will run the cypress test, we integrated next.js in this test command, everytime we run modifed the file, the test will be refreshed automatically, but the rebuild is slow, a protential problme might be rooted in slow building of next.js process.

Please help us analyze the problem and improve the test tool.

About the next.js, there might be some tool:
https://turbo.build/
https://vercel.com/blog/turbopack?utm_source=thenewstack&utm_medium=website&utm_content=inline-mention&utm_campaign=platform


Some hints:

  • Please read our readme for more information/guide/tutorial.
  • For design guidelines checkout our Figma design.
  • Here is an engineering book in Greenstand.
  • To know more about our organization, visit our website.
  • If you want to join the slack community (some resources need the community member's permission), please leave your email address.
@dadiorchen dadiorchen added good first issue Good for newcomers challenge hard, tricky, problem nextjs Cypress labels Nov 15, 2023
@shuzaiv5
Copy link

shuzaiv5 commented Apr 9, 2024

Hi @dadiorchen - I plan to work on this one. Please feel free to let me know if any questions or any helpful info you can share.

@RingoTC
Copy link
Collaborator

RingoTC commented Apr 9, 2024

Hi @dadiorchen - I plan to work on this one. Please feel free to let me know if any questions or any helpful info you can share.

Hi @shuzaiv5 , we already tried turborepo for our project. In my view, turborepo are designed to speed up the monorepo project. If you are still interested in this topic, I will recommend you to dive into Webpack it may works for speeding up the build process.

@dadiorchen
Copy link
Collaborator Author

Yea, I also did some test, doen't observe improvement by using that lib, we should consider other options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
challenge hard, tricky, problem Cypress good first issue Good for newcomers nextjs
Projects
None yet
Development

No branches or pull requests

3 participants