cypress-mock-ssr icon indicating copy to clipboard operation
cypress-mock-ssr copied to clipboard

Instructions for Cypress component testing

Open Norfeldt opened this issue 3 years ago • 1 comments

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

Norfeldt avatar Jan 22 '22 19:01 Norfeldt

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

ghost avatar Jan 27 '22 08:01 ghost