diff --git a/tests/e2e/signoff-policy.spec.ts b/tests/e2e/signoff-policy.spec.ts index a2cde2c385c..eab54a36761 100644 --- a/tests/e2e/signoff-policy.spec.ts +++ b/tests/e2e/signoff-policy.spec.ts @@ -163,9 +163,9 @@ async function setupCompany(boardRequest: APIRequestContext): Promise { - const agentRes = await boardRequest.post(`${BASE_URL}/api/companies/${companyId}/agents`, { + const agentRes = await boardRequest.post(`${BASE_URL}/api/companies/${companyId}/agent-hires`, { data: { name, role, @@ -178,7 +178,14 @@ async function setupCompany(boardRequest: APIRequestContext): Promise