diff --git a/.github/workflows/test-and-check.yml b/.github/workflows/test-and-check.yml index eeae7b3e97..585d23f3b1 100644 --- a/.github/workflows/test-and-check.yml +++ b/.github/workflows/test-and-check.yml @@ -149,8 +149,8 @@ jobs: - name: Run tests (fixtures) if: steps.changes.outputs.everything_but_markdown == 'true' && matrix.suite == 'fixtures' - # Browser rendering is disabled on Ubuntu because of https://pptr.dev/troubleshooting#issues-with-apparmor-on-ubuntu - run: pnpm run test:ci --concurrency 1 --log-order=stream --filter="./fixtures/*" ${{ matrix.os == 'ubuntu-latest' && '--filter="!./fixtures/browser-rendering"' || '' }} + # Browser Run fixture is disabled on Ubuntu because of https://pptr.dev/troubleshooting#issues-with-apparmor-on-ubuntu + run: pnpm run test:ci --concurrency 1 --log-order=stream --filter="./fixtures/*" ${{ matrix.os == 'ubuntu-latest' && '--filter="!./fixtures/browser-run"' || '' }} env: NODE_OPTIONS: "--max_old_space_size=8192" WRANGLER_LOG_PATH: ${{ runner.temp }}/wrangler-debug-logs/ diff --git a/fixtures/browser-rendering/package.json b/fixtures/browser-run/package.json similarity index 93% rename from fixtures/browser-rendering/package.json rename to fixtures/browser-run/package.json index c8eb69db55..3287477212 100644 --- a/fixtures/browser-rendering/package.json +++ b/fixtures/browser-run/package.json @@ -1,5 +1,5 @@ { - "name": "@fixture/browser-rendering", + "name": "@fixture/browser-run", "private": true, "scripts": { "cf-typegen": "wrangler types", diff --git a/fixtures/browser-rendering/src/index.ts b/fixtures/browser-run/src/index.ts similarity index 100% rename from fixtures/browser-rendering/src/index.ts rename to fixtures/browser-run/src/index.ts diff --git a/fixtures/browser-rendering/src/playwright.ts b/fixtures/browser-run/src/playwright.ts similarity index 100% rename from fixtures/browser-rendering/src/playwright.ts rename to fixtures/browser-run/src/playwright.ts diff --git a/fixtures/browser-rendering/src/puppeteer.ts b/fixtures/browser-run/src/puppeteer.ts similarity index 100% rename from fixtures/browser-rendering/src/puppeteer.ts rename to fixtures/browser-run/src/puppeteer.ts diff --git a/fixtures/browser-rendering/test/index.spec.ts b/fixtures/browser-run/test/index.spec.ts similarity index 100% rename from fixtures/browser-rendering/test/index.spec.ts rename to fixtures/browser-run/test/index.spec.ts diff --git a/fixtures/browser-rendering/test/tsconfig.json b/fixtures/browser-run/test/tsconfig.json similarity index 100% rename from fixtures/browser-rendering/test/tsconfig.json rename to fixtures/browser-run/test/tsconfig.json diff --git a/fixtures/browser-rendering/tsconfig.json b/fixtures/browser-run/tsconfig.json similarity index 100% rename from fixtures/browser-rendering/tsconfig.json rename to fixtures/browser-run/tsconfig.json diff --git a/fixtures/browser-rendering/vitest.config.mts b/fixtures/browser-run/vitest.config.mts similarity index 100% rename from fixtures/browser-rendering/vitest.config.mts rename to fixtures/browser-run/vitest.config.mts diff --git a/fixtures/browser-rendering/worker-configuration.d.ts b/fixtures/browser-run/worker-configuration.d.ts similarity index 100% rename from fixtures/browser-rendering/worker-configuration.d.ts rename to fixtures/browser-run/worker-configuration.d.ts diff --git a/fixtures/browser-rendering/wrangler.jsonc b/fixtures/browser-run/wrangler.jsonc similarity index 100% rename from fixtures/browser-rendering/wrangler.jsonc rename to fixtures/browser-run/wrangler.jsonc diff --git a/packages/wrangler/src/__tests__/browser-rendering.test.ts b/packages/wrangler/src/__tests__/browser-run.test.ts similarity index 100% rename from packages/wrangler/src/__tests__/browser-rendering.test.ts rename to packages/wrangler/src/__tests__/browser-run.test.ts diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 419e57a795..fd97724d6a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -184,7 +184,7 @@ importers: specifier: workspace:* version: link:../../packages/wrangler - fixtures/browser-rendering: + fixtures/browser-run: devDependencies: '@cloudflare/playwright': specifier: ^1.0.0