mirror of
https://github.com/microsoft/playwright.git
synced 2024-09-11 20:37:54 +03:00
fix(runner): don't write last run info when listing tests (#31062)
This commit is contained in:
parent
97a82e6b77
commit
6e9c31f93b
@ -94,7 +94,8 @@ export class Runner {
|
||||
if (modifiedResult && modifiedResult.status)
|
||||
status = modifiedResult.status;
|
||||
|
||||
await writeLastRunInfo(testRun, status);
|
||||
if (!listOnly)
|
||||
await writeLastRunInfo(testRun, status);
|
||||
|
||||
await reporter.onExit();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user