From 0778d3242ca4b2086ebaa210fd4d32d73c8efdbf Mon Sep 17 00:00:00 2001 From: Shrinath Rao Date: Wed, 21 Oct 2026 05:50:21 +0000 Subject: [PATCH] fix(dashboards): make the Refresh button a labelled primary button (#15577) --- .../dashboard-variables-auto-run.spec.js | 2 +- web/src/views/Dashboards/ViewDashboard.vue | 36 +++++++++------ .../viewDashboard.timeRange.spec.ts | 45 ++++++++++++++----- 3 files changed, 58 insertions(+), 25 deletions(-) diff --git a/tests/ui-testing/playwright-tests/Dashboards/dashboard-variables-auto-run.spec.js b/tests/ui-testing/playwright-tests/Dashboards/dashboard-variables-auto-run.spec.js index cd908be556..bfc89c16b5 100644 --- a/tests/ui-testing/playwright-tests/Dashboards/dashboard-variables-auto-run.spec.js +++ b/tests/ui-testing/playwright-tests/Dashboards/dashboard-variables-auto-run.spec.js @@ -67,7 +67,7 @@ test.describe('Dashboard variables Auto Run', { tag: ['@dashboards', '@dashboard await autoRun.waitForRuns('var', base + 1); expect(autoRun.runsOf('var')[base]).toContain(`'${first}'`); await autoRun.expectPanelRows('p_var', { shows: [first], hides: [initial] }); - await autoRun.expectRefreshVariant('outline'); + await autoRun.expectRefreshVariant('primary'); }); test('Auto Run on: a variable change re-runs only the panels that use it, once each', { tag: ['@P0'] }, async ({ page }) => { diff --git a/web/src/views/Dashboards/ViewDashboard.vue b/web/src/views/Dashboards/ViewDashboard.vue index ec29efa9be..0ff749801e 100644 --- a/web/src/views/Dashboards/ViewDashboard.vue +++ b/web/src/views/Dashboards/ViewDashboard.vue @@ -128,18 +128,21 @@ along with this program. If not, see . > - - - + + + + + +