Make incomplete Aniimo E2E data explicit
All checks were successful
Validate and deploy Sokko G / validate (push) Successful in 18m4s
Validate and deploy Sokko G / deploy (push) Successful in 9s

This commit is contained in:
Shinuwa 2026-10-30 10:48:35 +01:00
parent 9c8c2cf305
commit e5f095a846

View file

@ -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 });
});