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.

<img width="1001" alt="Screenshot 2024-07-19 at 11 22 24"
src="https://github.com/user-attachments/assets/9b36e157-7c53-42f2-b309-e18c45e631a3">

## Test plan

CI

## Changelog

<!-- OPTIONAL; info at
https://www.notion.so/sourcegraph/Writing-a-changelog-entry-dd997f411d524caabf0d8d38a24a878c
-->
This commit is contained in:
Michael Bahr 2024-07-19 16:35:26 +02:00 committed by GitHub
parent 8bd9c5d1a4
commit 36eb1b991e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@
>
<div class="sidebar-navigation-header">
<button class="close-button" on:click={() => (sidebarNavigationOpen = false)}>
<Icon icon={ILucideX} aria-label="Close sidebar navigation" />
<Icon icon={ILucideX} />
</button>
<a href="/search" class="logo-link">

View File

@ -104,7 +104,7 @@ test.beforeEach(({ sg }) => {
})
test.describe('file sidebar', () => {
test.skip('basic functionality', async ({ page }) => {
test('basic functionality', async ({ page }) => {
const readmeEntry = page.getByRole('treeitem', { name: 'README.md' })
await page.goto(`/${repoName}`)