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

Running e2e tests should stop a server in dev mode and start a server in prod mode #164

Open
jamsea opened this issue Oct 10, 2016 · 0 comments

Comments

@jamsea
Copy link
Contributor

jamsea commented Oct 10, 2016

Currently, running wildcat-protractor-runner will check if there's a server running on a specified port before starting one. However, if a server is already running in dev mode the e2e tests will run against the dev server instead of a prod one.

This can lead to subtle false positives and negatives, and is the main issue blocking #142 from working 100% correctly. Instead, we should kill the process listening to the specified port in wildcat.config.js (default is 3000) and start a new one.

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