Browse Source

test: CY frontend wait URL for CI-CD tests

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/3396/head
Raju Udava 2 years ago
parent
commit
9209ca89c8
  1. 16
      .github/workflows/ci-cd-v2.yml

16
.github/workflows/ci-cd-v2.yml

@ -52,7 +52,7 @@ jobs:
npm run start:web-v2
docker-compose -f ./scripts/docker-compose-cypress.yml up -d
spec: "./scripts/cypress-v2/integration/test/restTableOps.js"
wait-on: "http://localhost:8080"
wait-on: "http://localhost:8080, http://localhost:3000/_nuxt/entry.mjs"
wait-on-timeout: 1200
config-file: scripts/cypress-v2/cypress.json
- name: Upload screenshots
@ -96,7 +96,7 @@ jobs:
npm run start:web-v2
docker-compose -f ./scripts/docker-compose-cypress.yml up -d
spec: "./scripts/cypress-v2/integration/test/restViews.js"
wait-on: "http://localhost:8080"
wait-on: "http://localhost:8080, http://localhost:3000/_nuxt/entry.mjs"
wait-on-timeout: 1200
config-file: scripts/cypress-v2/cypress.json
- name: Upload screenshots
@ -140,7 +140,7 @@ jobs:
npm run start:web-v2
docker-compose -f ./scripts/docker-compose-cypress.yml up -d
spec: "./scripts/cypress-v2/integration/test/restRoles.js"
wait-on: "http://localhost:8080"
wait-on: "http://localhost:8080, http://localhost:3000/_nuxt/entry.mjs"
wait-on-timeout: 1200
config-file: scripts/cypress-v2/cypress.json
- name: Upload screenshots
@ -184,7 +184,7 @@ jobs:
npm run start:web-v2
docker-compose -f ./scripts/docker-compose-cypress.yml up -d
spec: "./scripts/cypress-v2/integration/test/restMisc.js"
wait-on: "http://localhost:8080"
wait-on: "http://localhost:8080, http://localhost:3000/_nuxt/entry.mjs"
wait-on-timeout: 1200
config-file: scripts/cypress-v2/cypress.json
- name: Upload screenshots
@ -360,7 +360,7 @@ jobs:
npm run start:web-v2
docker-compose -f ./scripts/docker-compose-cypress.yml up -d
spec: "./scripts/cypress-v2/integration/test/xcdb-restMisc.js"
wait-on: "http://localhost:8080"
wait-on: "http://localhost:8080, http://localhost:3000/_nuxt/entry.mjs"
wait-on-timeout: 1200
config-file: scripts/cypress-v2/cypress.json
- name: Upload screenshots
@ -625,7 +625,7 @@ jobs:
npm run start:web-v2
docker-compose -f ./scripts/cypress-v2/docker-compose-pg.yml up -d
spec: "./scripts/cypress-v2/integration/test/pg-restMisc.js"
wait-on: "http://localhost:8080"
wait-on: "http://localhost:8080, http://localhost:3000/_nuxt/entry.mjs"
wait-on-timeout: 1200
config-file: scripts/cypress-v2/cypress.json
- name: Upload screenshots
@ -670,7 +670,7 @@ jobs:
npm run start:web-v2
docker-compose -f ./scripts/docker-compose-cypress.yml up -d
spec: "./scripts/cypress-v2/integration/test/quickTest.js"
wait-on: "http://localhost:8080"
wait-on: "http://localhost:8080, http://localhost:3000/_nuxt/entry.mjs"
wait-on-timeout: 1200
config-file: scripts/cypress-v2/cypress.json
- name: Upload screenshots
@ -714,7 +714,7 @@ jobs:
npm run start:api:cache:pg:cyquick
npm run start:web-v2
spec: "./scripts/cypress-v2/integration/test/quickTest.js"
wait-on: "http://localhost:8080"
wait-on: "http://localhost:8080, http://localhost:3000/_nuxt/entry.mjs"
wait-on-timeout: 1200
config-file: scripts/cypress-v2/cypress.json
- name: Upload screenshots

Loading…
Cancel
Save