Skip to content

Commit 373e16f

Browse files
committed
Update tests
1 parent 7a9c7b2 commit 373e16f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/__tests__/e2e/pages/ProjectHealthDashboardMetricsDetails.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ test.describe('Project Health Metrics Details Page', () => {
3636
await expect(page.getByText(metricsLatest.projectName)).toBeVisible()
3737
await expect(page.getByText(metricsLatest.score.toString())).toBeVisible()
3838
for (const header of headers) {
39-
await expect(page.getByText(header).all()).toBeGreaterThan(0)
39+
await expect(page.getByText(header, { exact: true })).toBeVisible()
4040
}
4141
})
4242
})

0 commit comments

Comments
 (0)