Skip to content

Folder for a test-case is getting generated in test-results even if Test Case Passes when properties are given on Failure #7093

Closed

Description

Hi Guys,

 I am using Playwright and also have recommended this tool to my friends ITS AWESOME. 

I have a doubt, For latest Playwright Runner in "playwright.config.js" I have given properties as
"screenshot: 'only-on-failure',
video: 'retain-on-failure',
trace: 'retain-on-failure',"

Still a Blank Folder with Test Case Name is Created when all my test Cases are passing. Is it expected?
Because I think Folder must be generated only if Test Case Fails.

Thanks in Advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions