From 6396f053208304606a09daa36f0c735813b081ce Mon Sep 17 00:00:00 2001 From: Maria Alexandra <239999+axelavargas@users.noreply.github.com> Date: Mon, 23 Aug 2021 14:54:33 +0200 Subject: [PATCH] Pa11y: add logs to a11y step in terminal to provide more info of status (#38445) --- .drone.yml | 5 +++-- scripts/lib.star | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index eea3eb1758d..6d559ad42d0 100644 --- a/.drone.yml +++ b/.drone.yml @@ -440,7 +440,8 @@ steps: - name: test-a11y-frontend image: buildkite/puppeteer commands: - - yarn -s test:accessibility --json > pa11y-ci-results.json + - ./e2e/wait-for-grafana + - yarn -s test:accessibility --json > pa11y-ci-results.json 1>&2 environment: GRAFANA_MISC_STATS_API_KEY: from_secret: grafana_misc_stats_api_key @@ -3576,6 +3577,6 @@ get: --- kind: signature -hmac: 6749d86d569d62f93921aa7151a29af34fd26764657754cc5dcbf220ff57cc16 +hmac: ff4f66e40485ce90a3259d04ec562033e5b37013f0902d71a602c1a1572e1f27 ... diff --git a/scripts/lib.star b/scripts/lib.star index 0fd25fc3f1d..fa86253a676 100644 --- a/scripts/lib.star +++ b/scripts/lib.star @@ -495,7 +495,8 @@ def test_a11y_frontend_step(edition, port=3001): }, 'failure': 'ignore', 'commands': [ - 'yarn -s test:accessibility --json > pa11y-ci-results.json', + './e2e/wait-for-grafana', + 'yarn -s test:accessibility --json > pa11y-ci-results.json 1>&2', ], }