You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I'm running a NextJS site on Netlify using next-on-netlify. This builds my website in a weird way, with the final published assets in a configuration that I nor cypress can understand. This makes my tests fail. However, if I spin up NextJS' dev server and test with Cypress against that, all works swimmingly.
At this point, my project would build perfectly if I could somehow stop the postBuild from running and testing exclusively with the preBuild.
Describe the solution you'd like
It'd be great if I could pass an option to skipPostBuild: true or similar, and only run my tests preBuild.
Describe alternatives you've considered
I've opened an issue on next-on-netlify to also help build proper static output published assets.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I'm running a NextJS site on Netlify using
next-on-netlify
. This builds my website in a weird way, with the final published assets in a configuration that I nor cypress can understand. This makes my tests fail. However, if I spin up NextJS' dev server and test with Cypress against that, all works swimmingly.At this point, my project would build perfectly if I could somehow stop the postBuild from running and testing exclusively with the preBuild.
Describe the solution you'd like
It'd be great if I could pass an option to
skipPostBuild: true
or similar, and only run my tests preBuild.Describe alternatives you've considered
I've opened an issue on next-on-netlify to also help build proper static output published assets.
The text was updated successfully, but these errors were encountered: