Closed kristaps-aksjonovs closed 6 months ago
Does the Output panel contain any information?
All tabs in UI are empty and also did start process with DEBUG=pw:* yarn playwright test --ui
It crashed after a while with:
<--- Last few GCs --->
[66888:0x128008000] 16442 ms: Scavenge (reduce) 4037.4 (4106.4) -> 4037.3 (4107.4) MB, 0.42 / 0.00 ms (average mu = 0.985, current mu = 0.937) allocation failure;
[66888:0x128008000] 16449 ms: Mark-Compact (reduce) 4038.3 (4107.4) -> 4038.2 (4108.4) MB, 6.58 / 0.00 ms (average mu = 0.973, current mu = 0.690) allocation failure; scavenge might not succeed
<--- JS stacktrace --->
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
1: 0x10035a4c4 node::Abort() [/opt/homebrew/Cellar/node@20/20.10.0/bin/node]
Thank you very much. That was quick response.
Version
1.43.1
Steps to reproduce
Create a function in config file that will contain
throw new Error()
to check if arguments are valid. And runyarn playwright run
Example of
playwright.config.ts
:Expected behavior
Throw error same as when test is executed using
yarn playwright test
.Actual behavior
Seems
--ui
is stuck with "Loading...." and errors or evenconsole.log()
is NOT displayed. Note: Same behavior happens whenglobalSetup
is used and it containsthrow new Error()
Additional context
No response
Environment