diff --git a/playwright/element-desktop-test.ts b/playwright/element-desktop-test.ts index 431bac68..22d2ab9b 100644 --- a/playwright/element-desktop-test.ts +++ b/playwright/element-desktop-test.ts @@ -53,6 +53,13 @@ export const test = base.extend({ app.process().stderr.pipe(process.stderr); await app.firstWindow(); + + // Block matrix.org access to ensure consistent tests + const context = app.context(); + await context.route("https://matrix.org/**", async (route) => { + await route.abort(); + }); + await use(app); }, page: async ({ app }, use) => { diff --git a/playwright/snapshots/launch/launch.spec.ts/App-launch-should-launch-and-render-the-welcome-view-successfully-1-linux.png b/playwright/snapshots/launch/launch.spec.ts/App-launch-should-launch-and-render-the-welcome-view-successfully-1-linux.png index 45b47ba4..a3ee4cb7 100644 Binary files a/playwright/snapshots/launch/launch.spec.ts/App-launch-should-launch-and-render-the-welcome-view-successfully-1-linux.png and b/playwright/snapshots/launch/launch.spec.ts/App-launch-should-launch-and-render-the-welcome-view-successfully-1-linux.png differ