From 2ae50940c87210920c0a97bbe29746ce1766eae3 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Mon, 24 Apr 2023 11:01:55 +0100 Subject: [PATCH] Update cypress.yaml --- .github/workflows/cypress.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cypress.yaml b/.github/workflows/cypress.yaml index 374d51da98..11c92dbd7e 100644 --- a/.github/workflows/cypress.yaml +++ b/.github/workflows/cypress.yaml @@ -136,18 +136,18 @@ jobs: - name: Run Cypress tests uses: cypress-io/github-action@a29a621b736c9a8547ba0236cc9cee1e49725bd5 + working-directory: matrix-react-sdk with: # The built-in Electron runner seems to grind to a halt trying # to run the tests, so use chrome. browser: "${{ env.BROWSER_PATH }}" - start: npx serve -p 8080 webapp + start: npx serve -p 8080 ../webapp wait-on: "http://localhost:8080" record: true parallel: true command-prefix: "yarn percy exec --parallel --" config: '{"reporter":"cypress-multi-reporters", "reporterOptions": { "configFile": "cypress-ci-reporter-config.json" } }' ci-build-id: ${{ needs.prepare.outputs.uuid }} - project: matrix-react-sdk env: # pass the Dashboard record key as an environment variable CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}