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

Allow port of local webserver to be configured on postBuild hook #295

Open
Robin-Hoodie opened this issue Dec 20, 2021 · 0 comments
Open

Comments

@Robin-Hoodie
Copy link

Robin-Hoodie commented Dec 20, 2021

Is your feature request related to a problem? Please describe.

The port of default webserver that is spun op on postBuild is hardcoded to 8080. The base URL Cypress tests against can be configured in several ways, though these are all ignored when using the default webserver.

Describe the solution you'd like

Allow the port of said webserver to be configured

Describe alternatives you've considered

Configuring a custom start command for the webserver, combined with a wait-on=http://localhost:{port} configuration also does the trick. Using wait-on is however undocumented in the postBuild section - the documentation for the preBuild section does mention the wait-on parameter though.

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