allure-pytest: using the same @pytest.mark.parametrize for tests with different browsers appear as retries of the same test in the test report. #2054
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I am conducting login tests on different browsers using
pytest-playwright
. I am using@pytest.mark.parametrize
to run tests with different emails and passwords. However, I noticed that in the allure report, my tests for Edge and Chrome are grouped together as the same test case. The test that runs first becomes the retries for the subsequent test case. I want them to appear as separate tests.What I would want it to be like would be:
I've tried using
allure.dynamic.tag
andallure.dynamic.parameter
, but they didn't help. Thanks in advance.The current behavior:
the steps:
test_login.py
conftest.py
I am testing different browsers using the following command:
The expected behavior
The Edge test case and Chrome Test case need to be seperate.
Environment:
Beta Was this translation helpful? Give feedback.
All reactions