From 8f0ec52e7f44105813f2e86ffcb132a9cf9e5ac9 Mon Sep 17 00:00:00 2001 From: chenjiahan Date: Sun, 25 Aug 2024 14:39:21 +0800 Subject: [PATCH] test: enable lazy compilation case for Windows --- e2e/cases/lazy-compilation/add-initial-chunk/index.test.ts | 6 +----- e2e/cases/lazy-compilation/basic/index.test.ts | 7 +------ 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/e2e/cases/lazy-compilation/add-initial-chunk/index.test.ts b/e2e/cases/lazy-compilation/add-initial-chunk/index.test.ts index 76993ddfa5..b066ea0706 100644 --- a/e2e/cases/lazy-compilation/add-initial-chunk/index.test.ts +++ b/e2e/cases/lazy-compilation/add-initial-chunk/index.test.ts @@ -1,14 +1,10 @@ import { dev, rspackOnlyTest } from '@e2e/helper'; -import test, { expect } from '@playwright/test'; +import { expect } from '@playwright/test'; // https://github.com/web-infra-dev/rspack/issues/6633 rspackOnlyTest( 'should render pages correctly when using lazy compilation and add new initial chunk', async ({ page }) => { - // TODO fix this case in Windows - if (process.platform === 'win32') { - test.skip(); - } const rsbuild = await dev({ cwd: __dirname, page, diff --git a/e2e/cases/lazy-compilation/basic/index.test.ts b/e2e/cases/lazy-compilation/basic/index.test.ts index 629b19fc5d..32ee71c409 100644 --- a/e2e/cases/lazy-compilation/basic/index.test.ts +++ b/e2e/cases/lazy-compilation/basic/index.test.ts @@ -1,14 +1,9 @@ import { dev, gotoPage, rspackOnlyTest } from '@e2e/helper'; -import { expect, test } from '@playwright/test'; +import { expect } from '@playwright/test'; rspackOnlyTest( 'should render pages correctly when using lazy compilation', async ({ page }) => { - // TODO fix this case in Windows - if (process.platform === 'win32') { - test.skip(); - } - const rsbuild = await dev({ cwd: __dirname, });