diff --git a/docker-compose.testing.yml b/docker-compose.testing.yml index 49c06a9..18f0f97 100644 --- a/docker-compose.testing.yml +++ b/docker-compose.testing.yml @@ -43,7 +43,7 @@ services: - /var/run/docker.sock:/var/run/docker.sock - ./logs:/app/logs environment: - - BASE_URL=http://localhost:5173 + - BASE_URL=http://app-test - MONGO_URL=mongodb://user:user-password@db-test:27017/odyssey-test - DOCKER_NETWORK=linux-odyssey-players - SECRET_KEY=b1d2e917-17b9-4fce-9055-082dee6ec5d6 # Only for testing diff --git a/tests/Dockerfile b/tests/Dockerfile index ae5c8e8..1dc0d4a 100644 --- a/tests/Dockerfile +++ b/tests/Dockerfile @@ -1,4 +1,4 @@ -FROM cypress/included:13.5.1 +FROM cypress/browsers WORKDIR /e2e COPY package.json yarn.lock ./ @@ -7,4 +7,6 @@ RUN yarn install COPY quests ./quests COPY tests ./tests -WORKDIR /e2e/tests \ No newline at end of file +WORKDIR /e2e/tests + +CMD [ "yarn", "test" ]