fix(rd21): retain draft revisions and qualify conflict recovery
This commit is contained in:
@@ -23,7 +23,7 @@ const test = base.extend<{ owner: { headers: Record<string, string>; shortId: nu
|
||||
const url = new URL(route.request().url());
|
||||
return ["localhost", "127.0.0.1"].includes(url.hostname) || ["data:", "blob:", "about:"].includes(url.protocol) ? route.continue() : route.abort();
|
||||
});
|
||||
expect((await page.request.put(`${apiUrl}/career/profile`, { headers, data: { profile: {
|
||||
expect((await page.request.put(`${apiUrl}/career/profile`, { headers, data: { expectedVersion: (await (await page.request.get(`${apiUrl}/career/profile`)).json()).revision, profile: {
|
||||
version: "1", contact: { fullName: "Åse Eksempel", headline: "Canonical engineer" }, skills: ["Norsk", "C#"],
|
||||
} } })).status()).toBe(200);
|
||||
const ids: number[] = [];
|
||||
|
||||
Reference in New Issue
Block a user