diff --git a/static/app/views/settings/projectSeer/index.spec.tsx b/static/app/views/settings/projectSeer/index.spec.tsx index c2d3233b8b77d7..24eaeb2090b6cc 100644 --- a/static/app/views/settings/projectSeer/index.spec.tsx +++ b/static/app/views/settings/projectSeer/index.spec.tsx @@ -661,7 +661,7 @@ describe('ProjectSeer', () => { ).toBeChecked(); }); - it('saves "always" when toggled ON, "off" when toggled OFF', async () => { + it('saves "medium" when toggled ON, "off" when toggled OFF', async () => { const projectPutRequest = MockApiClient.addMockResponse({ url: `/projects/${organization.slug}/${project.slug}/`, method: 'PUT', @@ -685,7 +685,7 @@ describe('ProjectSeer', () => { await waitFor(() => { expect(projectPutRequest).toHaveBeenCalledWith( expect.any(String), - expect.objectContaining({data: {autofixAutomationTuning: 'always'}}) + expect.objectContaining({data: {autofixAutomationTuning: 'medium'}}) ); }); diff --git a/static/app/views/settings/projectSeer/index.tsx b/static/app/views/settings/projectSeer/index.tsx index 2f2e815a70e083..97731e9361f983 100644 --- a/static/app/views/settings/projectSeer/index.tsx +++ b/static/app/views/settings/projectSeer/index.tsx @@ -94,8 +94,9 @@ const autofixAutomationToggleField = { type: 'boolean', saveOnBlur: true, saveMessage: t('Automatic Seer settings updated'), + // For triage signals V0: toggle ON maps to 'medium' threshold (fixability >= 0.40) getData: (data: Record) => ({ - autofixAutomationTuning: data.autofixAutomationTuning ? 'always' : 'off', + autofixAutomationTuning: data.autofixAutomationTuning ? 'medium' : 'off', }), } satisfies FieldObject;