All Questions
172
questions
0
votes
1
answer
60
views
Cypress interactive GUI on host, connect to Docker app
���� Background
At MaMpf, we deploy a full dockerized web app using docker compose. For automated frontend tests, we'd like to setup Cypress. Locally, we develop inside Windows Subsystem for Linux (...
0
votes
1
answer
46
views
Cypress failed to start - Missing library or dependency Docker
I am trying to run Cypress in a Docker container on my M1 Pro system, but I encounter an error indicating that Cypress failed to start. The error message suggests that this may be due to a missing ...
0
votes
3
answers
64
views
How can I connect to a service that is UP from docker compose inside GitLab CI/CD?
I have this GitLab CI/CD:
stages:
- test
variables:
DOCKER_DRIVER: overlay2
DOCKER_TLS_CERTDIR: ""
DOCKER_HOST: tcp://docker:2375
integration_test:
image: cypress/base
...
0
votes
0
answers
80
views
Cypress tests failing after updating Keycloak to version 24.0.2
I recently updated my Keycloak image from jboss/keycloak to quay.io/keycloak/keycloak:24.0.2 after jboss/keycloak was removed from Docker Hub. Previously, everything worked fine with jboss/keycloak, ...
-1
votes
1
answer
73
views
Angular Cypress component testing error: Unexpected framework angular, expected one of create-react-app, nuxt, react, vue-cli, next, vue
I wish to run my Cypress snapshot tests for my Angular app in a docker container to maintain consistency and make my visual tests less brittle. I am using the Cypress Docker container:
FROM cypress/...
0
votes
1
answer
46
views
Client running on browser cannot access the API inside the same docker-compose container
I have a docker-compose container with client, api server, and cypress. Once I run the cypress test inside the container, it's able to open up the browser and access the client. But once the client is ...
2
votes
0
answers
123
views
Running cypress container with docker and custom network
I have this code in my gitlab-ci.yml:
stages:
- build
- test
build_frontend:
image: node:18.13.0
stage: build
script:
- npm install
- npm run build
artifacts:
paths:
- ...
0
votes
0
answers
166
views
Using cypress to test in bitbucket pipeline, testing an app running with docker compose
I have a web app with a separated frontend and backend, using traefik to handle the incoming connections.
I also have cypress set up as a separate docker compose service to use for E2E testing.
I have ...
0
votes
0
answers
79
views
Cypress with Docker and Cucumber
I have been studying Cypress and I would like to work with Cucumber to create features and improve my testing.
I would like some recommendations of tutoriais, books or videos to learn more about ...
1
vote
1
answer
58
views
Shopware 6 Plugin: Cypress setup issue with Shopware plugin testing in Docker
I'm currently working on testing a Shopware plugin, and I'm trying to set up Cypress for testing within a Dockerized environment. I'm following the instructions provided in this GitHub repository for ...
0
votes
1
answer
787
views
Use axios in dev environment inside docker network AND from docker host
I'm building a web application, that's supposed to run on different docker containers:
version: "3.8"
services:
backend:
build: ./backend
container_name: app-be
ports:
- ...
0
votes
0
answers
472
views
How can I run Cypress tests in a Docker container where the test files are a volume mount?
Background
I am trying to use Docker in my CI process with multiple projects and do not want to have to rebuild the image every run as the tests belong to the project, not the image.
Problem
If I try ...
0
votes
0
answers
104
views
How to run Cypress tests with docker on Windows?
I am trying to run Cypress tests with docker on Windows.
I am using this as a guide.
I am getting an error like this: "Your configFile is invalid: /e2e/cypress.config.ts"
Error looks like ...
5
votes
0
answers
1k
views
Cypress OOM error when running in a Gitlab pipeline job
When I attempt run Cypress inside of a Gitlab CI/CD pipeline job, I always get an error at the start of my tests that says, "Failed to adjust OOM score of renderer with pid..."
For the base ...
0
votes
0
answers
47
views
Getting ECOMMRESET when trying to run webkit in docker on aws deploy
Docker file:
FROM cypress/included:12.14.0
RUN apt-get update
RUN apt-get install -y git curl openssh-client
ENV GATSBY_IS_DOCKER=true
RUN mkdir -p /root/.cache/Cypress/12.14.0/Cypress/resources/app/...