diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 269d6da5..82075b46 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -30,4 +30,9 @@ jobs: - name: Build the client application run: yarn build --no-progress - name: Run E2E tests - run: yarn test:e2e:ci + run: | + ./node_modules/kill-port/cli.js 8080 + ./node_modules/start-server-and-test/src/bin/start.js \ + 'php artisan serve --port=8080 --quiet' \ + 8080 \ + './node_modules/cypress/bin/cypress run --record --key ${{ secrets.CYPRESS_RECORD_KEY }}' diff --git a/cypress.json b/cypress.json index 344bcfd2..0efcbb7b 100644 --- a/cypress.json +++ b/cypress.json @@ -1,4 +1,5 @@ { + "projectId": "t39zbg", "baseUrl": "http://localhost:8080", "pluginsFile": "cypress/plugins/index.ts", "viewportWidth": 1440, @@ -6,5 +7,5 @@ "retries": { "runMode": 3 }, - "video": false + "video": true }