-
Notifications
You must be signed in to change notification settings - Fork 19
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
Allow testing against a deployed site #28
Comments
A quick solution is to run that through a CORS proxy like https://github.com/cburgmer/tinycors. |
Latest commits including ae2864d tackle this by routing all pages under test through a backend. TODO:
|
+1 |
Here's an idea how to do it right now:
|
CSS Critic moves towards providing tests around a style guide. This aims for small components instead of full blown pages. Having said that, CSS Critic loads both HTML and just simple images from any given URL as long as it's allowed to access those resources following the same origin policy. Solutions mentioned above will provide flexibility around accessing more complex resources. |
In some instances we might not be able to integrate testing into the application and run tests against a local code base. The same origin restriction doesn't allow us to test against a deployed website served from a different origin.
The text was updated successfully, but these errors were encountered: