Agent controls the whole look: validated theme spec, presets, layout, copy, chat, scoped CSS, protected fee/banner #4
@ -16,7 +16,7 @@ const sleep = (ms) => new Promise((r) => setTimeout(r, ms));
|
||||
await page.waitForSelector(".card", { timeout: 15000 });
|
||||
check("landing renders agent-chosen cards", (await page.$$(".card")).length >= 4);
|
||||
const badge = await page.$eval("#agentBadge", (n) => n.textContent);
|
||||
check("agent mode badge shown", /fallback|AI:|LLM/.test(badge), badge);
|
||||
check("agent mode badge shown", /fallback|built-in|AI:|LLM/.test(badge), badge);
|
||||
|
||||
// ask(): type into the chat popup and wait for the agent's reply (LLM replies take a few seconds)
|
||||
const ask = async (text) => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user