Mirror of https://github.com/improsocial/impro An extensible Bluesky client for web impro.social
5

Configure Feed

Select the types of activity you want to include in your feed.

Rename view test and prevent non-local requests

Grace Kind (Feb 5, 2026, 7:15 PM -0600) dc1c8861 95ad0ca2

+21 -1
+20
tests/e2e/base.js
··· 1 + import { test as baseTest, expect } from "@playwright/test"; 2 + 3 + export const test = baseTest.extend({ 4 + page: async ({ page }, use) => { 5 + // Fail on any request not explicitly mocked 6 + await page.route("**/*", (route) => { 7 + const url = route.request().url(); 8 + if (url.startsWith("http://localhost")) { 9 + return route.continue(); 10 + } 11 + throw new Error( 12 + `Unmocked network request: ${route.request().method()} ${url}`, 13 + ); 14 + }); 15 + 16 + await use(page); 17 + }, 18 + }); 19 + 20 + export { expect };
+1 -1
tests/e2e/specs/login.spec.js tests/e2e/specs/login.view.test.js
··· 1 - import { test, expect } from "@playwright/test"; 1 + import { test, expect } from "../base.js"; 2 2 3 3 test.describe("Login page", () => { 4 4 test("should display the login form", async ({ page }) => {