Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions tests/browser/inbox-edit.spec.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,14 @@ test("Inbox edits an owned reply in place and restores the reply draft", async (
await openPage(page, "Inbox");
const inbox = page.getByRole("region", { name: "Inbox", exact: true });
await expect(inbox.getByText("Checking recent activity…")).toHaveCount(0);
const conversation = inbox
.getByRole("list", { name: "Inbox conversations" })
.getByRole("listitem")
.filter({ hasText: "Broadcast reply" });
await conversation.getByRole("button", { name: /^Open / }).click();
// The preview can settle on either reply as thread inputs arrive; the
// conversation's accessible identity is the stable target for this test.
await inbox
.getByRole("button", {
name: "Open Alice Fixture in #Alpha",
exact: true,
})
.click();
const detail = inbox.getByRole("region", { name: "Inbox detail" });
const reply = detail.getByRole("textbox", {
name: "Reply to thread",
Expand Down
Loading