Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion playwright/e2e/admin-settings.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ test('Admin Guests settings page renders without errors', async ({ adminPage })

await adminPage.goto('/settings/admin/guests')

await expect(adminPage.getByRole('heading', { name: 'Guests', exact: true })).toBeVisible()
// Scope to our section: the framework also renders a hidden page <h1> with the section name.
await expect(adminPage.locator('#guest-settings').getByRole('heading', { name: 'Guests', exact: true })).toBeVisible()
await expect(adminPage.getByRole('checkbox', { name: /external storage/i })).toBeVisible()

expect(pageErrors, `uncaught page errors: ${pageErrors.join(' | ')}`).toEqual([])
Expand Down
Loading