Skip to content
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

Run cypress tests against built website #46

Open
ceddlyburge opened this issue Oct 14, 2019 · 1 comment
Open

Run cypress tests against built website #46

ceddlyburge opened this issue Oct 14, 2019 · 1 comment

Comments

@ceddlyburge
Copy link
Owner

The cypress tests on the build server, and indeed locallyl, currently run against the webpack development server.

This means that errors could creep in from differences between the webpack dev server / build and the full build.

So it would be better to npm run build to create the same code that will get deployed, use serve (or similar) to serve it and then test against that, which would remove this possibility.

@ceddlyburge
Copy link
Owner Author

This happens in the docker-compose.yml / usage_scenario.yml file now, but these aren't currently run as part of the build, so maybe they should be.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant