diff --git a/e2e/specs/articles-threads.spec.ts b/e2e/specs/articles-threads.spec.ts index 839508c6..be883664 100644 --- a/e2e/specs/articles-threads.spec.ts +++ b/e2e/specs/articles-threads.spec.ts @@ -764,6 +764,9 @@ test("US-043 reply to a thread and to a specific post", async ({seed, as}) => { await expect(openingPost.getByText("OP", {exact: true})).toBeVisible() await expect(bob.getByText("20 replies")).toBeVisible() + // The page bar carries the title, so the opening post does not repeat it. + await expect(bob.getByText("Bed rotation")).toHaveCount(1) + await bob.getByRole("button", {name: "Reply to thread"}).click() const threadReply = composerForm(bob) diff --git a/src/app/components/ThreadPost.svelte b/src/app/components/ThreadPost.svelte index ae7163ac..2d960d9e 100644 --- a/src/app/components/ThreadPost.svelte +++ b/src/app/components/ThreadPost.svelte @@ -9,7 +9,6 @@ import Badge from "@lib/components/Badge.svelte" import ProfileCircle from "@app/components/ProfileCircle.svelte" import ProfileDetail from "@app/components/ProfileDetail.svelte" - import NoteContent from "@app/components/NoteContent.svelte" import Content from "@app/components/Content.svelte" import CommentActions from "@app/components/CommentActions.svelte" import type {FeedContext} from "@app/feeds" @@ -78,11 +77,7 @@
- {#if isComment} - - {:else} - - {/if} +