Skip to content

Commit

Permalink
automatisation 1
Browse files Browse the repository at this point in the history
  • Loading branch information
VENGADESSANE committed Nov 19, 2024
1 parent 9c08a3c commit cc3f11a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/JobLinker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jobs:
npm run build
- name: Start frontend
run: |
export COUCHDB_USER="TO_BE_CHANGED"
export COUCHDB_PASSWORD="TO_BE_CHANGED"
docker compose up --detach
- name: Wait for frontend
uses: docker://benel/wait-for-response:1
Expand Down
2 changes: 1 addition & 1 deletion benchmark/scenario1.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const visit = async (page) => {
await page.goto('', {
await page.goto('offer1', {
waitUntil: 'networkidle',
});
await page.waitForTimeout(10000);
Expand Down
8 changes: 8 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,11 @@ services:
- ./settings/nginx.conf:/etc/nginx/conf.d/default.conf:ro
ports:
- 80:80

backend:
image: couchdb:3
ports:
- 5984:5984
environment:
- COUCHDB_USER
- COUCHDB_PASSWORD

0 comments on commit cc3f11a

Please sign in to comment.