diff --git a/apps/system-e2e/src/tests/judicial-system/regression/custody-tests.spec.ts b/apps/system-e2e/src/tests/judicial-system/regression/custody-tests.spec.ts index a5974aef207c..02a1294a6276 100644 --- a/apps/system-e2e/src/tests/judicial-system/regression/custody-tests.spec.ts +++ b/apps/system-e2e/src/tests/judicial-system/regression/custody-tests.spec.ts @@ -68,9 +68,9 @@ test.describe.serial('Custody tests', () => { await page.locator('#defendantGender').click() await page.locator('#react-select-defendantGender-option-0').click() await page - .locator('input[id=react-select-defenderName-input]') + .locator('input[id=react-select-advocateName-input]') .fill('Saul Goodman') - await page.locator('#react-select-defenderName-option-0').click() + await page.locator('#react-select-advocateName-option-0').click() await page .locator('input[name=defenderEmail]') .fill('jl+auto+defender@kolibri.is')