From 36eb1b991efa9ab46477fa2fc42df31ccfffe2d1 Mon Sep 17 00:00:00 2001 From: Michael Bahr <1830132+bahrmichael@users.noreply.github.com> Date: Fri, 19 Jul 2024 16:35:26 +0200 Subject: [PATCH] chore(svelte): fix test by removing duplicate aria-label (#63942) The test that I enable in this PR has been skipped for a while, and has broken again with https://github.com/sourcegraph/sourcegraph/pull/63463, where we added another aria-label. This additional label lead to playwright rejecting the test, because it found two elements for one query. This PR removes that label, since we already have a similar one at the button one level up. See screenshot below. Screenshot 2024-07-19 at 11 22 24 ## Test plan CI ## Changelog --- client/web-sveltekit/src/lib/navigation/GlobalHeader.svelte | 2 +- .../src/routes/[...repo=reporev]/(validrev)/(code)/page.spec.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/web-sveltekit/src/lib/navigation/GlobalHeader.svelte b/client/web-sveltekit/src/lib/navigation/GlobalHeader.svelte index 7570b3dea6c..07718148532 100644 --- a/client/web-sveltekit/src/lib/navigation/GlobalHeader.svelte +++ b/client/web-sveltekit/src/lib/navigation/GlobalHeader.svelte @@ -74,7 +74,7 @@ >