Skip to content

Doesn't work with https for webpack-dev-server #170

Open
@praneetha-ck-robo

Description

Thank you for taking time to open a new issue. Please answer a few questions to help us fix it faster. You can delete text that is irrelevant to the issue.

Is this a bug report or a feature request?

Version
"start-server-and-test": "^1.9.0"
"cypress": "^3.2.0",

Platform
macOs High Sierra - Version 10.13.6

I am using create-react-app and I am running my development webpack server in https.
So running npm run cypress:open, I would expect

  1. My application to run in https://localhost:3000
  2. Once the server is up, the cypress launcher to run on it.

Only the first step happens, cypress launcher is not opening up.

This is my scripts config in package.json.

 "scripts": {
        "watch-css": "npm run build-css && node-sass-chokidar --include-path ./src --include-path ./node_modules src/ -o src/ --watch --recursive",
        "start-js": "export HTTPS=true&&react-scripts start",
        "start": "npm-run-all -p watch-css start-js",
        "cy:open": "cypress open",
        "cypress:open": "start-server-and-test start http-get://localhost:3000 cy:open"
    },

I am facing this issue only for https, not http.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions