mirror of
https://github.com/jparkerweb/plan2code.git
synced 2026-11-16 20:45:33 -08:00
Show a spinner on a note that is sent and waiting for Plan2Code
AI Assisted
This commit is contained in:
1 parent
275f1cb320
commit
9f4ee75c0b
4 files changed
+21
-2
No files matched your search
@@ -433,6 +433,7 @@ test("a request for suggestions shows tagged and waiting, and the chip comes bac
|
||||
const mine = s.page.locator("#aside .msg.you.pending");
|
||||
await mine.locator(".suggest-tag", { hasText: "Asked for suggestions" }).waitFor();
|
||||
assert.match(await textOf(mine), /Sent, waiting for Plan2Code/i);
|
||||
assert.equal(await mine.locator(".msg-who .sent-wait .spinner").count(), 1, "a pending note shows the ring");
|
||||
await s.page.waitForFunction(() => document.getElementById("suggest-c1")?.disabled);
|
||||
|
||||
s.post({ items: [{ id: "c1", thread: [{ who: "agent", text: "I would pick JSON: your scripts read it directly." }] }], agent: { status: "waiting" } });
|
||||
|
||||
Reference in new issue
Block a user