Skip to content

Commit be95cf9

Browse files
authored
fix: Update E2E party tabs test to match line-variant layout (#1663)
1 parent 1d17de0 commit be95cf9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

frontend/e2e/specs/parties.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,11 +120,11 @@ test.describe('Party detail — 8-tab layout', () => {
120120
}
121121
})
122122

123-
test('tab list has 8-column grid layout', async ({ authenticatedPage: page }) => {
123+
test('tab list uses line variant with horizontal scroll', async ({ authenticatedPage: page }) => {
124124
const tabList = page.getByRole('tablist')
125125
await expect(tabList).toBeVisible()
126-
// Verify the CSS grid class from [partyId].tsx:34
127-
await expect(tabList).toHaveClass(/grid-cols-8/)
126+
// Verify the line-variant tab layout from [partyId].tsx:48
127+
await expect(tabList).toHaveClass(/border-b/)
128128
})
129129

130130
test('Overview tab is selected by default', async ({ authenticatedPage: page }) => {

0 commit comments

Comments
 (0)