test(settings): unbreak stale settings-view assertion blocking CI
The Notifications tab dropped the old "check system status" link; SMTP status now lives under Admin → System → Settings (settingsNotificationsDelivery). The test still asserted the removed text, failing the frontend CI job and blocking deploy. Point the assertion at the current delivery caption. Full suite 88/88. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -79,7 +79,8 @@ test('settings view has no accent picker and uses one follow-up section, one not
|
|||||||
|
|
||||||
fireEvent.click(screen.getByRole('tab', { name: /notifications/i }));
|
fireEvent.click(screen.getByRole('tab', { name: /notifications/i }));
|
||||||
expect(screen.getByText(/notification settings/i)).toBeInTheDocument();
|
expect(screen.getByText(/notification settings/i)).toBeInTheDocument();
|
||||||
expect(screen.getAllByText(/check system status/i).length).toBe(1);
|
// SMTP status now lives under Admin → System → Settings (the old "check system status" link was removed).
|
||||||
|
expect(screen.getAllByText(/smtp delivery and test mail live under/i).length).toBe(1);
|
||||||
expect(screen.getByLabelText(/email reminders for follow-ups/i)).toBeInTheDocument();
|
expect(screen.getByLabelText(/email reminders for follow-ups/i)).toBeInTheDocument();
|
||||||
expect(screen.getByLabelText(/email alerts for ghosted jobs/i)).toBeInTheDocument();
|
expect(screen.getByLabelText(/email alerts for ghosted jobs/i)).toBeInTheDocument();
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user