havre smoke: the uploaded-picture reason
ci / test (pull_request) Successful in 4s

This commit is contained in:
teahubxyz committed 2026-10-21 22:29:36 +00:00
1 parent 527dfd039f
commit 803547d356
1 file changed
+2 -2
+2 -2
View File
@@ -946,14 +946,14 @@ async function main() {
await page.click("#ref-add");
await page.setInputFiles("#ref-file", { name: "upload.png", mimeType: "image/png", buffer: picture(200) });
await count(page, "#refs .ref", 3);
await has(page, "#adult-note", /^a picture on their card wasn't made here with ai \(it was uploaded, or came from venice\)/);
await has(page, "#adult-note", /^a picture on their card was uploaded and hasn't been checked yet/);
await page.click("#ref-make");
await count(page, "#refs .ref", 4);
assert.equal(seen.edits.at(-1).body.safe_mode, true, "a picture made from an uploaded one keeps safe mode on");
assert.equal(seen.edits.at(-1).body.modelId || seen.edits.at(-1).body.model, "grok-imagine-edit");
await page.getByRole("button", { name: "Remove picture 4" }).click();
await count(page, "#refs .ref", 3);
await has(page, "#adult-note", /wasn't made here with ai/);
await has(page, "#adult-note", /was uploaded and hasn't been checked yet/);
await page.getByRole("button", { name: "Remove picture 2" }).click();
await count(page, "#refs .ref", 2);
await has(page, "#adult-note", /^their photos and clips can be adult/);