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

Setting port on cypress config does not propagate to component devServers #27675

Closed
brian-mann opened this issue Aug 28, 2023 · 1 comment · Fixed by #27677
Closed

Setting port on cypress config does not propagate to component devServers #27675

brian-mann opened this issue Aug 28, 2023 · 1 comment · Fixed by #27677

Comments

@brian-mann
Copy link
Member

Current behavior

When config.port is set and devServer.port is set Cypress opens it will open on the devServer.port but will not be able to proxy requests to the devServer.

Desired behavior

Cypress should open on 9999 and be able to proxy requests into the component devServer.

Test code to reproduce

// cypress.config.js
module.exports = {
  port: 9999,
  component: {
    devServer: {
       bundler: 'webpack',
       framework: '...',
       webpackConfig: {
          port: 8888
       }
    }
  }
}

### Cypress Version

12.17.4

### Node version

default

### Operating System

all

### Debug Logs

_No response_

### Other

_No response_
@jennifer-shehane
Copy link
Member

Released in Cypress 13.0.0.

@cypress-io cypress-io locked as resolved and limited conversation to collaborators Aug 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants