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.
This commit is contained in:
2026-11-01 04:44:37 +01:00
parent add7f7d167
commit 245c0a2019
+3 -1
View File
@@ -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);