cypress-mock-ssr
cypress-mock-ssr copied to clipboard
Instructions for Cypress component testing
Its awesome to see you are working on removing this big roadblock that will allow us to use two awesome tools together: NextJS and Cyrpess.
Any chance that this could work with Cypress component testing? I'm using the Cypress templates that use injectDevServer.
https://github.com/cypress-io/cypress-component-testing-examples/pull/80
I have this branch where I try to figure out how to go about SSR intercept requests
https://github.com/norfeldt/proper/tree/ssr-stubing
I also have this SO question open https://stackoverflow.com/questions/70787370/cypress-component-testing-intercept-getserversideprops-requests?noredirect=1#comment125178056_70787370