-
-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto Cleanup Unused Files - Deletes too many files if you have both component and e2e tests #178
Comments
add test case to cover this scenario add isImageOfTestType check resolves #178 Signed-off-by: Jakub Freisler <[email protected]>
Hey @stocksr! Thanks for filing issue - I forgot about this case completely when creating autocleanup feature 😞 |
hi @FRSgit , sorry for the delay - been busy on another project just got back to this my test process was
what I am seeing
|
add test case to cover this scenario add isImageOfTestType check resolves #178 Signed-off-by: Jakub Freisler <[email protected]>
Hi @stocksr, I've just rebased #181 and released it again 🎉 Please give me a sign after you give it a spin! |
Hi @FRSgit, so the update has fixed some of the issues (specifically point 3 from my last report) The current build is correctly targeting the correct images to clean up -if I run an e2e test it is not deleting the component test images anymore however it is deleting all the images from that test type. I was watching carefully as it ran and spotted that it was deleting images before the test run completed so I am now wondering if the cleanup is running after each test file - rather than at the end of the entire test run. |
Hey @stocksr! Just wanted to give you an update: you're right, I was running cleanup action within
I'll ping you whenever I release new alpha version |
Describe the bug
Auto Cleanup Unused Files - Does not work if you have both component and e2e tests in the same project
pluginVisualRegressionCleanupUnusedImages=true deletes the files from the other test type.
The text was updated successfully, but these errors were encountered: