I use the Allure plugin to create Allure reports for Playwright tests. I noticed recently that the trace file isn't being attached to the test case when I have trace
set to on-first-retry
. It does work when it's set to on
. It's in the test-results
folder but doesn't get copied to allure-results
. I think it's the same bug as https://github.com/allure-framework/allure-js/issues/694, but am going to do some more debugging to confirm before I chime in on it to confirm it's the Allure plugin.
Has anyone else noticed this, and do you have a workaround til there's a fix? I swear this worked in the past but maybe I'm misremembering.
This thread is trying to answer question "Why is the trace file not attached to the Allure report when 'trace' is set to 'on-first-retry' in Playwright tests?"
I figured it out. See https://discord.com/channels/807756831384403968/1194723349755088966/1194723349755088966
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 [email protected].