Skip to content

DanailMinchev/cypress-docker-compose-bug

Repository files navigation

Reproduce Happy Path

  1. Run:
    docker-compose up --build --abort-on-container-exit --exit-code-from cypress
    
    The test should be executed successfully.

Reproduce Unhappy Path

  1. Change CYPRESS_baseUrl to http://app:5000/ in docker-compose.yml file
  2. Run:
    docker-compose up --build --abort-on-container-exit --exit-code-from cypress
    
    The test should hang (using Electron browser).
  3. If you change the Cypress version to 4.12.1 in package.json and run:
    npm install
    docker-compose up --build --abort-on-container-exit --exit-code-from cypress
    
    The test is successful again. This is different behaviour from Cypress 5.1.0 where the test hangs.

Outcome

  • When using Cypress 5.1.0 the test is hanging
  • When using Cypress 4.12.1 the test is not hanging

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published