diff --git a/web/playwright.config.ts b/web/playwright.config.ts index b9f29048..68a4d5ed 100644 --- a/web/playwright.config.ts +++ b/web/playwright.config.ts @@ -11,8 +11,8 @@ import { defineConfig, devices } from '@playwright/test'; */ export default defineConfig({ testDir: './tests/playwright', - /* Run tests in files in parallel */ - fullyParallel: true, + /* Run tests in files in parallel - disabled to prevent auth conflicts */ + fullyParallel: false, /* Fail the build on CI if you accidentally left test.only in the source code. */ forbidOnly: !!process.env.CI, /* Retry on CI only */ @@ -34,8 +34,10 @@ export default defineConfig({ projects: [ { name: 'setup', testMatch: /.*\.setup\.ts/ }, { - name: 'teardown', testMatch: /.*\.teardown\.ts/, use: - { + name: 'teardown', + testMatch: /.*\.teardown\.ts/, + dependencies: ['chromium'], + use: { storageState: 'playwright/.auth/user.json', } }, @@ -52,7 +54,7 @@ export default defineConfig({ { name: 'chromium', - // dependencies: ['setup'], + dependencies: ['setup'], use: { ...devices['Desktop Chrome'], storageState: 'playwright/.auth/user.json', diff --git a/web/src/lib/components/list/list_card.svelte b/web/src/lib/components/list/list_card.svelte index 0de89d9d..ff7fc6bd 100644 --- a/web/src/lib/components/list/list_card.svelte +++ b/web/src/lib/components/list/list_card.svelte @@ -38,7 +38,7 @@ : $theme === "light" ? emptyStateTrailLight : emptyStateTrailDark} - alt="avatar" + alt="list avatar" />
@@ -67,7 +67,7 @@ class="rounded-full w-5 aspect-square mx-1 inline" src={list.expand.author.icon || `https://api.dicebear.com/7.x/initials/svg?seed=${list.expand.author.preferred_username}&backgroundType=gradientLinear`} - alt="avatar" + alt="author avatar" /> {handleFromRecordWithIRI(list)}

diff --git a/web/src/lib/components/nav_bar.svelte b/web/src/lib/components/nav_bar.svelte index 4c3edcb5..a428587f 100644 --- a/web/src/lib/components/nav_bar.svelte +++ b/web/src/lib/components/nav_bar.svelte @@ -251,6 +251,7 @@ {#snippet children({ toggleMenu: openDropdown })}