Does playwright-qase-reporter support different reports for different browsers?
Closed this issue · 2 comments
Good day.
Thank you for playwright-qase-reporter, love to use this!
I'm curious, is there any way to generate separate test runs for each browser?
I run tests on chromium and WebKit.
For now, when I use "QASE_REPORT=1 yarn playwright test" it generates one test run in Qase, where each test case has a "retest" status for each browser.
Would be great if there option to create two separate runs, for chromium and for WebKit, for example, instead of one.
Hey, @saysetel!
The easiest way to achieve this is to run Playwright multiple times, with a different browser each time:
QASE_REPORT=1 yarn playwright test --browser chrome
QASE_REPORT=1 yarn playwright test --browser firefox
See https://playwright.dev/docs/test-cli#reference for the reference. This way, you will get multiple test runs in Qase, one for each browser.
However, there could be an option to report tests to a single run, not as retests, but as parameterized variants of a single case. The qase-playwright reporter doesn't support this option currently, but we can implement it.
Got it, thank you very much for the information!