test(e2e): bootstrap upstream navigation cases

Signed-off-by: Brother Darryl <146fb160a3266e6165bfa385f6048c975eda9e21cf65da097a0b5ea7952532a5@buzz.block.builderlab.xyz>
This commit is contained in:
Brother Darryl
2026-08-18 20:54:45 -04:00
parent 31e164f18b
commit e06cd689b6
5 changed files with 8 additions and 8 deletions

View File

@@ -1237,7 +1237,7 @@ test.describe("community rail", () => {
await page.setViewportSize({ width: 740, height: 516 });
await installMockBridge(page, undefined, { skipCommunitySeed: true });
await seedCommunities(page, [COMMUNITY_A], COMMUNITY_A.id);
await page.goto("/");
await bootstrapE2ePage(page, "/");
await page
.getByRole("button", { name: "Toggle Sidebar", exact: true })

View File

@@ -53,7 +53,7 @@ test("composer toolbar tooltip dismisses when cursor leaves the trigger", async
test("adjacent composer tooltips each require a fresh dwell", async ({
page,
}) => {
await page.goto("/");
await bootstrapE2ePage(page, "/");
await page.getByTestId("channel-general").click();
await expect(page.getByTestId("chat-title")).toHaveText("general");

View File

@@ -2562,7 +2562,7 @@ test("storage clear resets composed font size and keyboard zoom across windows",
context,
page,
}) => {
await page.goto("/");
await bootstrapE2ePage(page, "/");
await openSettings(page, "appearance");
await page.getByTestId("font-size-larger").click();
@@ -2604,7 +2604,7 @@ test("storage clear resets composed font size and keyboard zoom across windows",
const peerPage = await context.newPage();
await installMockBridge(peerPage);
await peerPage.goto("/");
await bootstrapE2ePage(peerPage, "/");
await peerPage.evaluate(() => localStorage.clear());
await expect

View File

@@ -173,7 +173,7 @@ test("stalled early AUTH signing times out and starts a replacement dial", async
websocketAuthBeforeConnectResolves: true,
stallFirstAuthSigning: true,
});
await page.goto("/");
await bootstrapE2ePage(page, "/");
await expect
.poll(() => getMockWebsocketConnectAttempts(page), { timeout: 32_000 })
@@ -193,7 +193,7 @@ test("AUTH arriving before connect resolves does not lose the first send", async
await installMockBridge(page, {
websocketAuthBeforeConnectResolves: true,
});
await page.goto("/");
await bootstrapE2ePage(page, "/");
await expect
.poll(
() =>

View File

@@ -534,7 +534,7 @@ test("aligns the sidebar search with the channel title outside the Buzz theme",
test("scales the sidebar backward while its chrome closes", async ({
page,
}) => {
await page.goto("/");
await bootstrapE2ePage(page, "/");
const sidebar = page.getByTestId("app-sidebar");
const sidebarSurface = sidebar.locator("[data-sidebar-transition-content]");
@@ -585,7 +585,7 @@ test("disables the sidebar collapse transition for reduced motion", async ({
page,
}) => {
await page.emulateMedia({ reducedMotion: "reduce" });
await page.goto("/");
await bootstrapE2ePage(page, "/");
const sidebarSurface = page
.getByTestId("app-sidebar")