Skip to content

Commit 3a75979

Browse files
committed
try to fix test
1 parent 9aa3e5b commit 3a75979

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

‎tests/datasets/[did].spec.ts‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,7 @@ test('clicking dataset label navigates to filtered search', async ({
7575
)
7676

7777
// Verify the badge filter is applied
78-
const filter = page.getByTestId('searchable-select-label-de-donn-es')
79-
const filterButton = filter.locator('button').first()
80-
const selectedText = await filterButton.textContent()
81-
expect(selectedText).not.toBe('Tous les badges')
78+
await expect(page.getByText('Service public de la donnée de référence')).toBeVisible()
8279
})
8380

8481
test('dataset without labels does not show label section', async ({ page }) => {

0 commit comments

Comments
 (0)