[allure-playwright] how to remove file-to-path.fileName.spec.js from the report? #2160
-
Hello! I'm using playwright and playwright-bdd to write tests. I've upgraded to I've pin pointed that this is most likely due to changes introduced in 2.7.0, as
Perhaps anyone has any suggestions how to remove file-to-path.fileName.spec.js, as it requires unnecessary click to see the steps, and also makes report cluttered in my opinion. Generated intermediate test file from BDD feature file:
Many thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
oh wow I've realised what was causing this issue. so in config file I had |
Beta Was this translation helpful? Give feedback.
oh wow I've realised what was causing this issue.
so in config file I had
allure-playwright
but I was launching tests by commandnpx bddgen --tags='@storybook and (not @localisation)' && npx playwright test core/select --reporter=allure-playwright --workers=4
... which appears to be re-writing the defaults. Once I removed--reporter
and gave it another try allure report was presented correctly without displaying path to file. Oooof.