From 7c3dcdf6133e90bbb0c0d2973a0e16eb6aa35843 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> Date: Mon, 17 Jul 2023 09:08:25 +0100 Subject: [PATCH] Fix log spam during cypress CI (#11272) Tell the web server not to log requests, to reduce the amount of noise in the CI logs. --- .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 23d020acc5..9e535732d4 100644 --- a/.github/workflows/cypress.yaml +++ b/.github/workflows/cypress.yaml @@ -169,12 +169,12 @@ jobs: # The built-in Electron runner seems to grind to a halt trying to run the tests, so use chrome. browser: ${{ steps.setup-chrome.outputs.chrome-path }} headed: true - start: npx serve -p 8080 ../webapp + start: npx serve -p 8080 -L ../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" }, "morgan": false }' + config: '{"reporter":"cypress-multi-reporters", "reporterOptions": { "configFile": "cypress-ci-reporter-config.json" } }' ci-build-id: ${{ needs.prepare.outputs.uuid }} env: # pass the Dashboard record key as an environment variable