chore: refactor e2e tests to playwright #6583
Annotations
2 errors and 1 notice
Run E2E tests for webpack version latest:
test/fixtures/static-config/test/e2e/static-public-path.test.js#L479
1) [chromium] › static-public-path.test.js:505:5 › static.publicPath option › defaults to CWD › should handle request to page
TypeError: Attempted to wrap cwd which is already wrapped
at checkWrappedMethod (/home/runner/work/webpack-dev-server/webpack-dev-server/test/fixtures/static-config/node_modules/sinon/lib/sinon/util/core/wrap-method.js:67:21)
at wrapMethod (/home/runner/work/webpack-dev-server/webpack-dev-server/test/fixtures/static-config/node_modules/sinon/lib/sinon/util/core/wrap-method.js:132:13)
at Function.stub (/home/runner/work/webpack-dev-server/webpack-dev-server/test/fixtures/static-config/node_modules/sinon/lib/sinon/stub.js:130:44)
at Sandbox.stub (/home/runner/work/webpack-dev-server/webpack-dev-server/test/fixtures/static-config/node_modules/sinon/lib/sinon/sandbox.js:454:39)
at /home/runner/work/webpack-dev-server/webpack-dev-server/test/fixtures/static-config/test/e2e/static-public-path.test.js:479:22
at /home/runner/work/webpack-dev-server/webpack-dev-server/test/fixtures/static-config/node_modules/playwright/lib/worker/fixtureRunner.js:254:13
at /home/runner/work/webpack-dev-server/webpack-dev-server/test/fixtures/static-config/node_modules/playwright/lib/worker/testInfo.js:297:17
at TimeoutManager.withRunnable (/home/runner/work/webpack-dev-server/webpack-dev-server/test/fixtures/static-config/node_modules/playwright/lib/worker/timeoutManager.js:53:34)
at TestInfoImpl._runAsStage (/home/runner/work/webpack-dev-server/webpack-dev-server/test/fixtures/static-config/node_modules/playwright/lib/worker/testInfo.js:295:34)
at FixtureRunner.resolveParametersAndRunFunction (/home/runner/work/webpack-dev-server/webpack-dev-server/test/fixtures/static-config/node_modules/playwright/lib/worker/fixtureRunner.js:250:20)
at /home/runner/work/webpack-dev-server/webpack-dev-server/test/fixtures/static-config/node_modules/playwright/lib/worker/workerMain.js:588:11
at /home/runner/work/webpack-dev-server/webpack-dev-server/test/fixtures/static-config/node_modules/playwright/lib/worker/testInfo.js:297:11
at TimeoutManager.withRunnable (/home/runner/work/webpack-dev-server/webpack-dev-server/test/fixtures/static-config/node_modules/playwright/lib/worker/timeoutManager.js:41:27)
at TestInfoImpl._runAsStage (/home/runner/work/webpack-dev-server/webpack-dev-server/test/fixtures/static-config/node_modules/playwright/lib/worker/testInfo.js:295:7)
at WorkerMain._runEachHooksForSuites (/home/runner/work/webpack-dev-server/webpack-dev-server/test/fixtures/static-config/node_modules/playwright/lib/worker/workerMain.js:576:9)
at /home/runner/work/webpack-dev-server/webpack-dev-server/test/fixtures/static-config/node_modules/playwright/lib/worker/workerMain.js:317:9
at /home/runner/work/webpack-dev-server/webpack-dev-server/test/fixtures/static-config/node_modules/playwright/lib/worker/testInfo.js:297:11
at TimeoutManager.withRunnable (/home/runner/work/webpack-dev-server/webpack-dev-server/test/fixtures/static-config/node_modules/playwright/lib/worker/timeoutManager.js:41:27)
at TestInfoImpl._runAsStage (/home/runner/work/webpack-dev-server/webpack-dev-server/test/fixtures/static-config/node_modules/playwright/lib/worker/testInfo.js:295:7)
at /home/runner/work/webpack-dev-server/webpack-dev-server/test/fixtures/static-config/node_modules/playwright/lib/worker/workerMain.js:306:7
at /home/runner/work/webpack-dev-server/webpack-dev-server/test/fixtures/static-config/node_modules/playwright/lib/worker/testInfo.js:297:11
at TimeoutManager.withRunnable (/home/runner/work/webpack-dev-server/webpack-dev-server/test/fixtures/static-config/node_modules/playwright/lib/worker/timeoutManager.js:41:27)
at TestInfoImpl._runAsStage (/home/runner/work/webpack-dev-server/webpack-dev-server/test/fixtures/static-config/node_modules/playwright/lib/worker/testInfo.js:295:7)
at WorkerMain._runTest (/home/runner/work/webpack-dev-server/webpack-dev-se
|
Run E2E tests for webpack version latest:
test/fixtures/static-config/test/e2e/static-public-path.test.js#L500
1) [chromium] › static-public-path.test.js:505:5 › static.publicPath option › defaults to CWD › should handle request to page
TypeError: Cannot read properties of undefined (reading 'restore')
at /home/runner/work/webpack-dev-server/webpack-dev-server/test/fixtures/static-config/test/e2e/static-public-path.test.js:500:14
at /home/runner/work/webpack-dev-server/webpack-dev-server/test/fixtures/static-config/node_modules/playwright/lib/worker/fixtureRunner.js:254:13
at /home/runner/work/webpack-dev-server/webpack-dev-server/test/fixtures/static-config/node_modules/playwright/lib/worker/testInfo.js:297:17
at TimeoutManager.withRunnable (/home/runner/work/webpack-dev-server/webpack-dev-server/test/fixtures/static-config/node_modules/playwright/lib/worker/timeoutManager.js:53:34)
at TestInfoImpl._runAsStage (/home/runner/work/webpack-dev-server/webpack-dev-server/test/fixtures/static-config/node_modules/playwright/lib/worker/testInfo.js:295:34)
at FixtureRunner.resolveParametersAndRunFunction (/home/runner/work/webpack-dev-server/webpack-dev-server/test/fixtures/static-config/node_modules/playwright/lib/worker/fixtureRunner.js:250:20)
at /home/runner/work/webpack-dev-server/webpack-dev-server/test/fixtures/static-config/node_modules/playwright/lib/worker/workerMain.js:588:11
at /home/runner/work/webpack-dev-server/webpack-dev-server/test/fixtures/static-config/node_modules/playwright/lib/worker/testInfo.js:297:11
at TimeoutManager.withRunnable (/home/runner/work/webpack-dev-server/webpack-dev-server/test/fixtures/static-config/node_modules/playwright/lib/worker/timeoutManager.js:41:27)
at TestInfoImpl._runAsStage (/home/runner/work/webpack-dev-server/webpack-dev-server/test/fixtures/static-config/node_modules/playwright/lib/worker/testInfo.js:295:7)
at WorkerMain._runEachHooksForSuites (/home/runner/work/webpack-dev-server/webpack-dev-server/test/fixtures/static-config/node_modules/playwright/lib/worker/workerMain.js:576:9)
at /home/runner/work/webpack-dev-server/webpack-dev-server/test/fixtures/static-config/node_modules/playwright/lib/worker/workerMain.js:379:65
at /home/runner/work/webpack-dev-server/webpack-dev-server/test/fixtures/static-config/node_modules/playwright/lib/worker/testInfo.js:297:11
at TimeoutManager.withRunnable (/home/runner/work/webpack-dev-server/webpack-dev-server/test/fixtures/static-config/node_modules/playwright/lib/worker/timeoutManager.js:41:27)
at TestInfoImpl._runAsStage (/home/runner/work/webpack-dev-server/webpack-dev-server/test/fixtures/static-config/node_modules/playwright/lib/worker/testInfo.js:295:7)
at WorkerMain._runTest (/home/runner/work/webpack-dev-server/webpack-dev-server/test/fixtures/static-config/node_modules/playwright/lib/worker/workerMain.js:352:5)
at WorkerMain.runTestGroup (/home/runner/work/webpack-dev-server/webpack-dev-server/test/fixtures/static-config/node_modules/playwright/lib/worker/workerMain.js:202:11)
at process.<anonymous> (/home/runner/work/webpack-dev-server/webpack-dev-server/test/fixtures/static-config/node_modules/playwright/lib/common/process.js:94:22)
|
Run E2E tests for webpack version latest
1 flaky
[chromium] › static-public-path.test.js:505:5 › static.publicPath option › defaults to CWD › should handle request to page
2 skipped
93 passed (1.0m)
|
Loading