From 245c0a2019036359418e81ea4d5952b53ade8cc9 Mon Sep 17 00:00:00 2001 From: npeter83 Date: Sun, 1 Nov 2026 04:44:37 +0100 Subject: [PATCH] test(e2e): the channel chrome's fixed-toolbar check holds by the watch-state pill A channel page no longer shows a count pill; the toolbar's watch-state pill rides in the same fixed chrome. --- frontend/e2e/channel.spec.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/e2e/channel.spec.ts b/frontend/e2e/channel.spec.ts index 09c78984..b0bd837d 100644 --- a/frontend/e2e/channel.spec.ts +++ b/frontend/e2e/channel.spec.ts @@ -114,7 +114,9 @@ test.describe("channel view", () => { }) => { await openApp(page); await page.getByTestId("video-card-channel").first().click(); - const count = page.getByTestId("item-count"); + // A pill of the feed's toolbar, which rides in the fixed chrome (the page has no count pill: its + // header counts the videos). + const count = page.getByTestId("feed-show"); await expect(count).toBeVisible(); await expect(page.getByTestId("video-card").first()).toBeVisible(); await expect(page.getByTestId("channel-folded")).toHaveCount(0);