Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ test.describe('AI mode Incident Manager — changing grouped incidents', () => {
await afterAction();
});

test('leaves assigned incidents as they are when acknowledging', async ({
test('returns assigned incidents to Ack and clears their assignee', async ({
page,
browser,
}) => {
Expand All @@ -386,18 +386,18 @@ test.describe('AI mode Incident Manager — changing grouped incidents', () => {
await page.getByTestId('incident-groups-status-Ack').click();
await confirmBulkChange(page);

// The workflow has no way back from Assigned to Ack, so nothing is sent.
await toastNotification(
page,
'No incident in the selected groups can take that change'
);
// ADR:2026-11-17-returning-incidents-to-triage-clears-assignees
await toastNotification(page, 'Incidents updated: 2');

const { apiContext, afterAction } = await performAdminLogin(browser);

for (const testCaseFqn of seed.testCaseFqns) {
const incident = await getLatestIncident(apiContext, testCaseFqn);

expect(incident?.testCaseResolutionStatusType).toBe('Assigned');
expect(incident?.testCaseResolutionStatusType).toBe('Ack');
expect(
incident?.testCaseResolutionStatusDetails?.assignee
).toBeUndefined();
}

await afterAction();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export type IncidentSeed = {
// The row count and column count incidents, both assigned to `assignee`.
testCaseFqns: string[];
rowCountName: string;
// Left unassigned, so it is still New: the one incident here Ack can move.
// Left unassigned, so it is still New.
newIncidentFqn: string;
};

Expand Down
Loading