treetracker-web-map-client icon indicating copy to clipboard operation
treetracker-web-map-client copied to clipboard

Speed up our cypress+next.js test

Open dadiorchen opened this issue 1 year ago • 3 comments

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 avatar Nov 15 '23 03:11 dadiorchen

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.

shuzaiv5 avatar Apr 09 '24 02:04 shuzaiv5

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.

RingoTC avatar Apr 09 '24 07:04 RingoTC

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

dadiorchen avatar Apr 09 '24 08:04 dadiorchen