Make incomplete Aniimo E2E data explicit
This commit is contained in:
parent
9c8c2cf305
commit
e5f095a846
1 changed files with 4 additions and 0 deletions
|
|
@ -493,6 +493,10 @@ test("incomplete Aniimo cards show unknown roles and missing portraits without f
|
|||
await page.route("**/data/aniimo/aniimos.json", async (route) => {
|
||||
const response = await route.fetch();
|
||||
const catalogue = await response.json();
|
||||
const incomplete = catalogue.find((aniimo) => aniimo.name === "jabster").variations[0];
|
||||
incomplete.role = null;
|
||||
incomplete.verification = "pending";
|
||||
incomplete.data_gaps = ["role_not_verified"];
|
||||
catalogue.find((aniimo) => aniimo.name === "hoptail").variations[0].image = null;
|
||||
await route.fulfill({ response, json: catalogue });
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue