Skip to content

Commit ffc5a89

Browse files
committed
preventing the test service from being run in compose and running it from the workflow
1 parent db5d40d commit ffc5a89

File tree

2 files changed

+14
-13
lines changed

2 files changed

+14
-13
lines changed

docker-compose.yaml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -78,19 +78,19 @@ services:
7878
timeout: 5s
7979
retries: 3
8080

81-
test:
82-
build: ./test
83-
networks:
84-
- app-network
85-
volumes:
86-
- ./test:/app
87-
environment:
88-
- CYPRESS_BASE_URL=http://nginx:80
89-
depends_on:
90-
- nginx
91-
- api
92-
- frontend
93-
- backend
81+
# test:
82+
# build: ./test
83+
# networks:
84+
# - app-network
85+
# volumes:
86+
# - ./test:/app
87+
# environment:
88+
# - CYPRESS_BASE_URL=http://nginx:80
89+
# depends_on:
90+
# - nginx
91+
# - api
92+
# - frontend
93+
# - backend
9494

9595
networks:
9696
app-network:

test/cypress/e2e/books_flow.cy.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ describe("Books Flow", () => {
1818
cy.get('input[placeholder="Enter book author"]').type(
1919
"Test Publisher Name"
2020
);
21+
cy.get('input[placeholder="Enter book ISBN"]').type("1234567890");
2122
cy.contains("button", "Submit").click();
2223

2324
// Visit React2 app (/backend path)

0 commit comments

Comments
 (0)