From 6d40282a820653dd77240136a3cf743ef4cd5250 Mon Sep 17 00:00:00 2001 From: "grafana-delivery-bot[bot]" <132647405+grafana-delivery-bot[bot]@users.noreply.github.com> Date: Tue, 16 Apr 2024 13:31:38 +0100 Subject: [PATCH] [v11.0.x] Pa11y: Decrease error thresholds for PRs (#86297) Pa11y: Decrease error thresholds for PRs (#85178) * Pa11y-pr: lower error thresholds * Increase threshold for alerting (cherry picked from commit 6248bdda48e0d8388bffc9224b92915a41777374) Co-authored-by: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com> --- .pa11yci-pr.conf.js | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.pa11yci-pr.conf.js b/.pa11yci-pr.conf.js index 7424adf4c2d..acbfdd782ab 100644 --- a/.pa11yci-pr.conf.js +++ b/.pa11yci-pr.conf.js @@ -34,7 +34,7 @@ var dashboardSettings = [ wait: 500, rootElement: '.main-view', // TODO: improve the accessibility of the permission tab https://github.com/grafana/grafana/issues/77203 - threshold: 11, + threshold: 5, }, { url: '${HOST}/d/O6f11TZWk/panel-tests-bar-gauge?orgId=1&editview=dashboard_json', @@ -64,7 +64,7 @@ var config = { url: '${HOST}/login', wait: 500, rootElement: '.main-view', - threshold: 13, + threshold: 0, }, { url: '${HOST}/login', @@ -76,13 +76,13 @@ var config = { "click element button[data-testid='data-testid Login button']", "wait for element button[data-testid='data-testid Skip change password button'] to be visible", ], - threshold: 15, + threshold: 2, rootElement: '.main-view', }, { url: '${HOST}/?orgId=1', wait: 500, - threshold: 3, + threshold: 0, }, { url: '${HOST}/d/O6f11TZWk/panel-tests-bar-gauge', @@ -95,7 +95,7 @@ var config = { url: '${HOST}/?orgId=1&search=open', wait: 500, rootElement: '.main-view', - threshold: 3, + threshold: 0, }, { url: '${HOST}/alerting/list', @@ -109,43 +109,43 @@ var config = { url: '${HOST}/datasources', wait: 500, rootElement: '.main-view', - threshold: 3, + threshold: 0, }, { url: '${HOST}/org/users', wait: 500, rootElement: '.main-view', - threshold: 1, + threshold: 0, }, { url: '${HOST}/org/teams', wait: 500, rootElement: '.main-view', - threshold: 1, + threshold: 0, }, { url: '${HOST}/plugins', wait: 500, rootElement: '.main-view', - threshold: 3, + threshold: 0, }, { url: '${HOST}/org', wait: 500, rootElement: '.main-view', - threshold: 1, + threshold: 0, }, { url: '${HOST}/org/apikeys', wait: 500, rootElement: '.main-view', - threshold: 4, + threshold: 2, }, { url: '${HOST}/dashboards', wait: 500, rootElement: '.main-view', - threshold: 1, + threshold: 0, }, ], };