Fix CI: tests follow Activities starting off, findAgent fixture uses a portable path, Ghoul Rush eye test waits for the eye

AI Assisted
This commit is contained in:
jparkerweb committed 2026-11-05 13:50:17 -08:00
1 parent 17f98e62b5
commit 8ddf37911e
6 files changed
+34 -23

No files matched your search

+4
View File
@@ -355,6 +355,10 @@ test("the Desktop app group shows only in the app's frame, reflects the app's sa
});
test("framed, an Activities game in full screen asks the app for the whole screen, and gives it back on F, Esc and a new question", async (t) => {
// Activities start off for a new person: save them on for this test.
const looksFile = path.join(HOME, "looks.json");
fs.writeFileSync(looksFile, JSON.stringify({ looks: { hideActivities: false } }));
t.after(() => fs.rmSync(looksFile, { force: true }));
const s = await openSession(await pages.browser(), { t, workflow: "plan", payload: { agent: { status: "working", activity: "Reading" } }, env: { PLAN2CODE_IN_APP: "1" }, init: FAKE_APP_FRAME });
await s.page.click("#btn-activities");
await s.page.locator('.activities-card[data-activity="snake"]').click();