chore: refactor e2e tests to playwright #6581
Annotations
2 errors, 2 warnings, 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 (D:\a\webpack-dev-server\webpack-dev-server\test\fixtures\static-config\node_modules\sinon\lib\sinon\util\core\wrap-method.js:67:21)
at wrapMethod (D:\a\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 (D:\a\webpack-dev-server\webpack-dev-server\test\fixtures\static-config\node_modules\sinon\lib\sinon\stub.js:130:44)
at Sandbox.stub (D:\a\webpack-dev-server\webpack-dev-server\test\fixtures\static-config\node_modules\sinon\lib\sinon\sandbox.js:454:39)
at D:\a\webpack-dev-server\webpack-dev-server\test\fixtures\static-config\test\e2e\static-public-path.test.js:479:22
at D:\a\webpack-dev-server\webpack-dev-server\test\fixtures\static-config\node_modules\playwright\lib\worker\fixtureRunner.js:254:13
at D:\a\webpack-dev-server\webpack-dev-server\test\fixtures\static-config\node_modules\playwright\lib\worker\testInfo.js:297:17
at TimeoutManager.withRunnable (D:\a\webpack-dev-server\webpack-dev-server\test\fixtures\static-config\node_modules\playwright\lib\worker\timeoutManager.js:53:34)
at TestInfoImpl._runAsStage (D:\a\webpack-dev-server\webpack-dev-server\test\fixtures\static-config\node_modules\playwright\lib\worker\testInfo.js:295:34)
at FixtureRunner.resolveParametersAndRunFunction (D:\a\webpack-dev-server\webpack-dev-server\test\fixtures\static-config\node_modules\playwright\lib\worker\fixtureRunner.js:250:20)
at D:\a\webpack-dev-server\webpack-dev-server\test\fixtures\static-config\node_modules\playwright\lib\worker\workerMain.js:588:11
at D:\a\webpack-dev-server\webpack-dev-server\test\fixtures\static-config\node_modules\playwright\lib\worker\testInfo.js:297:11
at TimeoutManager.withRunnable (D:\a\webpack-dev-server\webpack-dev-server\test\fixtures\static-config\node_modules\playwright\lib\worker\timeoutManager.js:41:27)
at TestInfoImpl._runAsStage (D:\a\webpack-dev-server\webpack-dev-server\test\fixtures\static-config\node_modules\playwright\lib\worker\testInfo.js:295:7)
at WorkerMain._runEachHooksForSuites (D:\a\webpack-dev-server\webpack-dev-server\test\fixtures\static-config\node_modules\playwright\lib\worker\workerMain.js:576:9)
at D:\a\webpack-dev-server\webpack-dev-server\test\fixtures\static-config\node_modules\playwright\lib\worker\workerMain.js:317:9
at D:\a\webpack-dev-server\webpack-dev-server\test\fixtures\static-config\node_modules\playwright\lib\worker\testInfo.js:297:11
at TimeoutManager.withRunnable (D:\a\webpack-dev-server\webpack-dev-server\test\fixtures\static-config\node_modules\playwright\lib\worker\timeoutManager.js:41:27)
at TestInfoImpl._runAsStage (D:\a\webpack-dev-server\webpack-dev-server\test\fixtures\static-config\node_modules\playwright\lib\worker\testInfo.js:295:7)
at D:\a\webpack-dev-server\webpack-dev-server\test\fixtures\static-config\node_modules\playwright\lib\worker\workerMain.js:306:7
at D:\a\webpack-dev-server\webpack-dev-server\test\fixtures\static-config\node_modules\playwright\lib\worker\testInfo.js:297:11
at TimeoutManager.withRunnable (D:\a\webpack-dev-server\webpack-dev-server\test\fixtures\static-config\node_modules\playwright\lib\worker\timeoutManager.js:41:27)
at TestInfoImpl._runAsStage (D:\a\webpack-dev-server\webpack-dev-server\test\fixtures\static-config\node_modules\playwright\lib\worker\testInfo.js:295:7)
at WorkerMain._runTest (D:\a\webpack-dev-server\webpack-dev-server\test\fixtures\static-config\node_modules\playwright\lib\worker\workerMain.js:278:5)
at WorkerMain.runTestGroup (D:\a\webpack-dev-server\webpack-dev-server\test\fixtures\static-config\node_modules\playwright\lib\worker\workerMain.js:202:11)
at process.<anonymous> (D:\a\webpack-dev-server\web
|
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 D:\a\webpack-dev-server\webpack-dev-server\test\fixtures\static-config\test\e2e\static-public-path.test.js:500:14
at D:\a\webpack-dev-server\webpack-dev-server\test\fixtures\static-config\node_modules\playwright\lib\worker\fixtureRunner.js:254:13
at D:\a\webpack-dev-server\webpack-dev-server\test\fixtures\static-config\node_modules\playwright\lib\worker\testInfo.js:297:17
at TimeoutManager.withRunnable (D:\a\webpack-dev-server\webpack-dev-server\test\fixtures\static-config\node_modules\playwright\lib\worker\timeoutManager.js:53:34)
at TestInfoImpl._runAsStage (D:\a\webpack-dev-server\webpack-dev-server\test\fixtures\static-config\node_modules\playwright\lib\worker\testInfo.js:295:34)
at FixtureRunner.resolveParametersAndRunFunction (D:\a\webpack-dev-server\webpack-dev-server\test\fixtures\static-config\node_modules\playwright\lib\worker\fixtureRunner.js:250:20)
at D:\a\webpack-dev-server\webpack-dev-server\test\fixtures\static-config\node_modules\playwright\lib\worker\workerMain.js:588:11
at D:\a\webpack-dev-server\webpack-dev-server\test\fixtures\static-config\node_modules\playwright\lib\worker\testInfo.js:297:11
at TimeoutManager.withRunnable (D:\a\webpack-dev-server\webpack-dev-server\test\fixtures\static-config\node_modules\playwright\lib\worker\timeoutManager.js:41:27)
at TestInfoImpl._runAsStage (D:\a\webpack-dev-server\webpack-dev-server\test\fixtures\static-config\node_modules\playwright\lib\worker\testInfo.js:295:7)
at WorkerMain._runEachHooksForSuites (D:\a\webpack-dev-server\webpack-dev-server\test\fixtures\static-config\node_modules\playwright\lib\worker\workerMain.js:576:9)
at D:\a\webpack-dev-server\webpack-dev-server\test\fixtures\static-config\node_modules\playwright\lib\worker\workerMain.js:379:65
at D:\a\webpack-dev-server\webpack-dev-server\test\fixtures\static-config\node_modules\playwright\lib\worker\testInfo.js:297:11
at TimeoutManager.withRunnable (D:\a\webpack-dev-server\webpack-dev-server\test\fixtures\static-config\node_modules\playwright\lib\worker\timeoutManager.js:41:27)
at TestInfoImpl._runAsStage (D:\a\webpack-dev-server\webpack-dev-server\test\fixtures\static-config\node_modules\playwright\lib\worker\testInfo.js:295:7)
at WorkerMain._runTest (D:\a\webpack-dev-server\webpack-dev-server\test\fixtures\static-config\node_modules\playwright\lib\worker\workerMain.js:352:5)
at WorkerMain.runTestGroup (D:\a\webpack-dev-server\webpack-dev-server\test\fixtures\static-config\node_modules\playwright\lib\worker\workerMain.js:202:11)
at process.<anonymous> (D:\a\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:
[chromium] › overlay.test.js#L1
[chromium] › overlay.test.js took 35.2s
|
Run E2E tests for webpack version latest:
[chromium] › server-and-client-transport.test.js#L1
[chromium] › server-and-client-transport.test.js took 15.9s
|
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
5 skipped
113 passed (2.1m)
|
Loading