From f0aa352343807d206afe3bdd6df886fef0297e89 Mon Sep 17 00:00:00 2001 From: abert namanya Date: Tue, 2 Apr 2024 09:24:26 +0000 Subject: [PATCH] Cypress github Action updates --- .github/workflows/frontend-qa.yml | 9 ++++++++- frontend/cypress.config.js | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/frontend-qa.yml b/.github/workflows/frontend-qa.yml index 98ab8d2ae4..dcf1f0dcd0 100644 --- a/.github/workflows/frontend-qa.yml +++ b/.github/workflows/frontend-qa.yml @@ -13,7 +13,14 @@ jobs: uses: actions/checkout@v2 with: repository: ${{github.repository}} - + + - name: Run OpenELS image + run : docker-compose -f build.docker-compose.yml up -d + + - name: Sleep for 2 minutes + run: sleep 2m + shell: bash + - name: Set up Node.js uses: actions/setup-node@v3 with: diff --git a/frontend/cypress.config.js b/frontend/cypress.config.js index ed7ff15565..e2724e2783 100755 --- a/frontend/cypress.config.js +++ b/frontend/cypress.config.js @@ -7,7 +7,7 @@ module.exports = defineConfig({ setupNodeEvents(on, config) { // implement node event listeners here }, - baseUrl: "https://openelis28.openelis-global.org", + baseUrl: "https://localhost", testIsolation: false, }, });