From e5a3b6c390af7ebee29189a7dbec9dde2a9fdfe6 Mon Sep 17 00:00:00 2001 From: Andy Balaam Date: Wed, 11 Oct 2023 15:15:33 +0100 Subject: [PATCH] Include Percy command in config for Cypress (#11730) because command overrides command-prefix, so Percy was not being invoked. --- .github/workflows/cypress.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/cypress.yaml b/.github/workflows/cypress.yaml index 20645118a8..1a6c85acf2 100644 --- a/.github/workflows/cypress.yaml +++ b/.github/workflows/cypress.yaml @@ -173,8 +173,7 @@ jobs: wait-on: "http://localhost:8080" record: true parallel: true - command-prefix: "yarn percy exec --parallel --" - command: "npx cypress-cloud run" + command: "yarn percy exec --parallel -- npx cypress-cloud run" config: '{"reporter":"cypress-multi-reporters", "reporterOptions": { "configFile": "cypress-ci-reporter-config.json" } }' ci-build-id: ${{ needs.prepare.outputs.uuid }} env: