diff --git a/tests/smoke/changing-type-data-corruption.spec.ts b/tests/smoke/changing-type-data-corruption.spec.ts index 3ab0c307..de94b9a6 100644 --- a/tests/smoke/changing-type-data-corruption.spec.ts +++ b/tests/smoke/changing-type-data-corruption.spec.ts @@ -31,7 +31,7 @@ test.describe('Changing note type preserves content (flat vault)', () => { const targetType = currentType === 'Project' ? 'Experiment' : 'Project' await selectTrigger.click() await page.waitForTimeout(300) - const option = page.getByRole('option', { name: targetType, exact: true }) + const option = page.getByRole('option', { name: targetType, exact: true }).first() await expect(option).toBeVisible({ timeout: 3000 }) await option.click()