From 8095ae70bd161211db44725b7a10358eb77f62c4 Mon Sep 17 00:00:00 2001 From: Alan Agius <17563226+alan-agius4@users.noreply.github.com> Date: Fri, 4 Sep 2026 08:23:29 +0000 Subject: [PATCH 1/2] test: configure network-timeout and prefer-offline for yarn in e2e tests --- tests/e2e/setup/001-npm-sandbox.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/e2e/setup/001-npm-sandbox.ts b/tests/e2e/setup/001-npm-sandbox.ts index aa026a991cb1..4ba76d0617e7 100644 --- a/tests/e2e/setup/001-npm-sandbox.ts +++ b/tests/e2e/setup/001-npm-sandbox.ts @@ -41,7 +41,10 @@ export default async function () { // Configure the registry and prefix used within the test sandbox via rc files await writeFile(npmrc, `registry=${npmRegistry}\nprefix=${npmModulesPrefix}`); - await writeFile(yarnrc, `registry ${npmRegistry}\nprefix ${yarnModulesPrefix}`); + await writeFile( + yarnrc, + `registry ${npmRegistry}\nprefix ${yarnModulesPrefix}\nnetwork-timeout 15000\nprefer-offline true\n`, + ); await mkdir(npmModulesPrefix); await mkdir(yarnModulesPrefix); From 0015fbf7c8185897f795a50f8684a44b2ac75eff Mon Sep 17 00:00:00 2001 From: Alan Agius <17563226+alan-agius4@users.noreply.github.com> Date: Fri, 4 Sep 2026 09:02:59 +0000 Subject: [PATCH 2/2] test: remove e2e command tests from e2e test configuration This glob does not match anything --- tests/e2e.bzl | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/e2e.bzl b/tests/e2e.bzl index 95f4d7a8c435..6ea4a20275c1 100644 --- a/tests/e2e.bzl +++ b/tests/e2e.bzl @@ -32,7 +32,6 @@ ESBUILD_TESTS = [ "tests/basic/**", "tests/build/**", "tests/commands/add/**", - "tests/commands/e2e/**", "tests/commands/serve/ssr-http-requests-assets.js", "tests/i18n/**", "tests/vite/**",