mirror of
https://github.com/jparkerweb/plan2code.git
synced 2026-11-17 04:45:33 -08:00
Share the redraw-safe style and scroll helpers across the page tests, use them for every card and pane they read or scroll, and wait for the workspace frame before the session page types @
AI Assisted
This commit is contained in:
1 parent
7d5e78179e
commit
77ddcc048d
5 files changed
+49
-43
No files matched your search
@@ -704,6 +704,9 @@ test("a workflow page uses its modules: the full footer, the session meter, @ su
|
||||
await s.page.locator("#meter-pill").waitFor();
|
||||
assert.ok((await textOf(s.page.locator("#meter-words"))).length, "the meter pill has no words");
|
||||
// mentions.js: an @ in a text box offers the workspace's folders.
|
||||
// The @ list is the workspace frame, which can land after the page draws;
|
||||
// the footer has one label per width tier once it has.
|
||||
await s.page.waitForFunction(() => (document.getElementById("footer-where").dataset.key || "").includes("\n"));
|
||||
const box = itemCard(s.page, "q1").locator("textarea");
|
||||
await box.click();
|
||||
await box.pressSequentially("See @");
|
||||
|
||||
Reference in new issue
Block a user