Closed epszaw closed 8 months ago
I am facing the same issue. It would be great if someone could share their thoughts on why it is not clearing the folder.
The --clean
command isn't supposed to clean the allure-results
directory; it's used to remove the report output directory if it exists.
If you want to remove previous results, add a pretest script to remove the allure-results
directory.
Is there any update on this? I can't solve it
Describe the Bug
Link to https://github.com/allure-framework/allure-js/issues/814
On each run i.e allure generate my-allure-results -o allure-report --clean , i see allure-results folder keeps growing with each new test run, even though I'm using the --clean command.
Steps to Reproduce
npm i allure-playwright
playwright.config.ts
file as reporter: "allure-playwright";npx playwright test --reporter=line,allure-playwright
allure-report --clean
Expected Behaviour
Upon running the clean command allure-results folder should be cleaned
Screenshots or Additional Context
No response
What Language are you using?
JavaScript
What Framework/Allure Integration you are using?
allure-playwright
What version of Allure Integration you are using?
latest
What version of Allure Report you are using?
latest
Code of Conduct