Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,363,464
Community Members
 
Community Events
168
Community Groups

ZEPHYR Uploading pytest-bdd results json file doesn't work as expected

I have my iOS automation project built with pytest-bdd framework and appium. 

1. I have created BDD scenario's on zephyr

2. Added them to a cycle

3. Downloaded the feature files 

4. I ran the tests and results are generated in a .json format and here how it looks

{"report": {"environment": {"Python": "3.8.2", "Platform": "macOS-10.16-x86_64-i386-64bit"}, "tests": [{"name": "step_definitions/test_bdd_qa708.py::test_QA2_swipe_to_learn_more", "duration": 31.213330507278442, "run_index": 0, "setup": {"name": "setup", "duration": 0.026217222213745117, "outcome": "passed"}, "call": {"name": "call", "duration": 31.16065001487732, "outcome": "passed"}, "teardown": {"name": "teardown", "duration": 0.0002460479736328125, "outcome": "passed"}, "outcome": "passed"}, {"name": "step_definitions/test_bdd_qa708.py::test_QA2_for_clinicians_tab", "duration": 6.683340549468994, "run_index": 1, "setup": {"name": "setup", "duration": 0.000518798828125, "outcome": "passed"}, "call": {"name": "call", "duration": 6.681926965713501, "outcome": "passed"}, "teardown": {"name": "teardown", "duration": 0.00037598609924316406, "outcome": "passed"}, "outcome": "passed"}], "summary": {"passed": 2, "num_tests": 2, "duration": 38.01048016548157}, "created_at": "2021-05-05 08:40:11.329782"}} 

5. When I tap on more optiond for the cycle and tap on upload cucumber results 

I see a message of success but the test cases are still unexecuted 

Could you please let me know where I am going wrong and if any modifications needed?

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS

Atlassian Community Events