Reputation: 41
For some reason the pytest
or pytest --output "foldername"
deletes the folder where it was supposed to store output. Did not find any information about this behavior whatsoever
Upvotes: 3
Views: 268
Reputation: 4753
It's an expected behavior. The output directory is cleaned at the start of the tests. See https://playwright.dev/docs/api/class-testproject#test-project-output-dir
Upvotes: 0