cypress-io / cypress

Fast, easy and reliable testing for anything that runs in a browser.
https://cypress.io
MIT License
47.01k stars 3.18k forks source link

cypress/included Docker Image not invoking cypress/react file in Github Actions #15167

Closed themmyloluwaa closed 1 year ago

themmyloluwaa commented 3 years ago

Current behavior

I am running cypress inside a docker container and I'm using the cypress/include docker image. I have two services defined in my docker-compose file, the web service and a test service that depends on the web service.

Anytime I start my containers locally, the tests run and execute properly but doing this in github actions causes the test service to throw the error below. Error Image

I have tried installing the cypress/react package globally and also as a dependency but nothing I've tried works.

My cypress.json file is referencing the correct file path for the support and plugin files

Desired behavior

The expected behaviour is that cypress should start running the tests upon the start of the test container since the web container was started before it.

Test code to reproduce

shape_visualizer repo

Versions

cypress-app-bot commented 1 year ago

This issue has not had any activity in 180 days. Cypress evolves quickly and the reported behavior should be tested on the latest version of Cypress to verify the behavior is still occurring. It will be closed in 14 days if no updates are provided.