← Back to Discord Forum

screenshots deleted automatically. only showing last executed spec file screenshot in screenshot DIR

bhushan.trivediposted in #help-playwright
Open in Discord

when i create test1.spec.js then its added screenshot in my configured screenshot directory but when i create another test2.spec.js then old test1 screnshots deleted from the screenshot directrory.

i have run the testcases in UI mode and vs code extension as well.

why this happens any issue in vs code extension?

Any one have face this kind of issue? Please suggest me how to figure out this problem. Thanks in Advance.

This thread is trying to answer question "Why are old screenshots being deleted when a new test spec file is created in VS code and how can this issue be resolved?"

1 reply

It's all guessing without looking how you configured everything.

Related Discord Threads

AboutQuestionsDiscord ForumBrowser ExtensionTagsQA Jobs

Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email luc@ray.run.