Skip to content

Commit e9f1646

Browse files
paul43210claude
authored andcommitted
fix(advanced-search): update e2e selector for oc-filter-chip migration
The media type filter now uses oc-filter-chip which renders with class "oc-filter-chip-button" instead of our old "filter-chip-btn". Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 539e84e commit e9f1646

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/web-app-advanced-search/tests/e2e/advanced-search.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@ test.describe('Filter Panel', () => {
129129
})
130130

131131
test('should have media type filter', async ({ page }) => {
132-
// Media Type uses a FilterSelect chip component, not a native <select>
133-
const mediaTypeChip = page.locator('.filter-chip-btn:has-text("Media Type")')
132+
// Media Type uses an oc-filter-chip component
133+
const mediaTypeChip = page.locator('.oc-filter-chip-button:has-text("Media Type")')
134134
await expect(mediaTypeChip).toBeVisible({ timeout: 10000 })
135135
})
136136

0 commit comments

Comments
 (0)