fix(rd21): retain draft revisions and qualify conflict recovery

This commit is contained in:
cesnimda
2026-10-23 12:34:34 +02:00
parent 12f342c09c
commit 05a738693e
53 changed files with 813 additions and 192 deletions
@@ -34,7 +34,7 @@ test('[PRES-S01 S02 E07 E08 E09] Dashboard native data, visibility and responsiv
expect(created.status()).toBe(201);
if (index === 2 || index === 3) {
const id = (await created.json()).id;
expect((await page.request.put(`${apiUrl}/jobapplications/${id}`, { headers, data: { ...data, responseReceived: true, responseDate: date } })).status()).toBe(204);
expect((await page.request.put(`${apiUrl}/jobapplications/${id}`, { headers, data: { expectedVersion: (await (await page.request.get(`${apiUrl}/jobapplications/${id}`)).json()).version, ...data, responseReceived: true, responseDate: date } })).status()).toBe(204);
}
}
await page.setViewportSize({ width: 1440, height: 900 });