mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00: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…
x
Reference in New Issue
Block a user