Hey all StackOverflow People! I have a question about docker-compose. I have created the custom image in the registry, which I want to connect with another image from the public registry. In my case, this will be Cypress and one of my apps that run the build process. In essence, I would like to share ..
I have a server with Docker and Cypress. Cypress is lauch by docker with the following command : docker run -it -v $PWD:/var/www/html/test -w /var/www/html/test cypress/included:6.5.0 It’s good, it works well 🙂 I try to call this setup by gitlab ci. In gitlab Ci, I connect with SSH to my server and i lauch the ..
I’m attempting to get cypress working with rails in a single docker container. I’m using the Simplest possible Rails 6 + docker-compose project (at https://github.com/bdavidxyz/simplest-rails-docker), with cypress/included:3.8.1 (at https://github.com/cypress-io/cypress-docker-images/tree/master/included), based on the End-to-End Testing Web Apps: The Painless Way blog (at https://mtlynch.io/painless-web-app-testing/). After building, I run docker-compose up and cypress tries to start. Then the ..
I have a docker compose file that holds my cypress container: version: ‘3’ services: # Cypress container cypress: # the Docker image to use from https://github.com/cypress-io/cypress-docker-images image: "cypress/included:4.0.2" depends_on: – web environment: # pass base url to test pointing at the web application – CYPRESS_baseUrl=http://web:8000/ # share the current folder as volume to avoid copying ..
I’m trying to run cypress tests inside a docker container. It works when my test spec files are located inside ./cypress folder as cypress looks for default folder(cypress/integration) but it could not find spec files when i use different test spec files path( trying to override default folder); I’m using below docker command ; docker ..
I am trying to run a cypress pipeline using GCB, but it crashes when running inside docker. The fix for this issue, as described here, is to run the docker with –ipc=host. But looking in the documentation, I couldn’t find how I pass parameters to docker run in GCB. Can anyone help me? Source: Docker ..
I’m executing cypress tests in mounted directory and I want to clean up after myself by deleting the node_modules: npm uninstall rm -rf node_modules However, from time to time I’m getting errors: rm: cannot remove ‘node_modules/.rxjs.DELETE/src/internal/scheduled’: Directory not empty All files in the volume have the owner nobody:nogroup, so my current user should be able ..
We are trying to setup our app cypress tests so that it spins up a container for our API server allowing us to test our app and api end to end however we are running into some issues. We have tried testcontainers, however this errors on cypress tests and it’s not compatible with browserify which ..
I have a set of cypress e2e tests. The code for these tests lives in their own git repo. When executing these tests manually through cypress cli I can hit different URL’s based on environment DEV/QA/STG and PROD. I can run the application locally but prefer not to and what I want to do is ..