How To Clear Output Folder That Saves The Failed Cases Snapshot
See original GitHub issueI am running my test cases on client server Via Jenkins and I want that each time when I Run my Tests then Output folder is cleaned and then when tests finishes all those failed cases snapshots are attached and sent in Build Report Email
What do you get instead?
Provide console output if related. Use
--verbose
mode for more details.
# paste output here
Provide test source code if related
// paste test
Details
- CodeceptJS version:
- NodeJS Version:
- Operating System:
- Protractor || WebDriverIO || Nightmare version (if related)
- Configuration file:
# paste suite config here
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
How To Clear Output Folder That Saves The Failed Cases ...
Just add rm -rf tests/output/* before executing tests. And please don't spam in Twitter. That doesn't sound like a good manner.
Read more >Tests wont run from build output folder when using runsettings ...
1 Answer · rename(or delete) the hidden . · Close all Visual Studio instances and open Developer Command Prompt for VS 2017 >...
Read more >6 Working With SnapShot on the Development Client
Use the Delete button to remove a saved version (SnapShot). The Log File area displays the log file path and name. Use the...
Read more >How to Capture Screenshot in Selenium for Failed Test Cases
How to capture screenshot for failed test cases in Selenium Webdriver ... save all screenshot in our project home directory and // result....
Read more >Snapshots Management Tool | GridGain Documentation
The tool will search for snapshots in the default snapshot folder and the folders given in this argument. -verbose. The output will additionally...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Here is how I did it for 3.0.2, in case someone comes here from search engine:
🤔 Forget that, it seems doing this in the bootstrap function, the output dir is renamed during the run 😞