-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test different hosts in locale environment #6
Comments
On macOS you can just use a subdomain to localhost e.g. I'm not sure about automated testing but the standard routes will be still be available. So if you are redirecting to |
I'm not sure this will work with links in the page. For example, the |
Maybe next-page-tester could work, there is an example testing cookies so could this be modified to change the context.params? |
I've just added cypress to the example there is an undocumented option to make *.localhost work in tests cypress-io/cypress#1488 (comment) |
Awesome! Maybe we can add the following on the readme as well
|
How do you test different host in development mode with this setup? Would be nice to add a URL param (like next is doing for i18n support) to switch from one host to the other
The text was updated successfully, but these errors were encountered: