I have a Signup component on a /signup route. The component loads a code property from a cookie (Cookie::get('code')).
How can I test that a call the /signup route actually sets the code property properly?
I know how to test the component if the property is set but I don't see how to call /signup but then how to get access to the component to test?