Skip to content

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

Open
@Robin-Hoodie

Description

@Robin-Hoodie

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions