diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 1d28e355f..ffe9c0710 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -41,7 +41,10 @@ jobs: run: docker build -t ombi src/ - name: Run Docker Image - run: docker run --rm -p 5000:5000 ombi + run: nohup docker run --rm -p 5000:5000 ombi & + + - name: Sleep for server to start + run: sleep 20 # - name: Start Frontend # run: | diff --git a/tests/cypress.json b/tests/cypress.json index 67fd65364..b1042c4fc 100644 --- a/tests/cypress.json +++ b/tests/cypress.json @@ -1,7 +1,7 @@ { "$schema": "https://on.cypress.io/cypress.schema.json", "supportFile": "cypress/support/index.ts", - "baseUrl": "http://localhost:3577", + "baseUrl": "http://localhost:5000", "integrationFolder": "cypress/tests", "testFiles": "**/*.spec.ts*", "watchForFileChanges": true,