sindhusetty
4 years agoNew Contributor
Uploading cucumber results to Zephyr issues
I have iOS automation developed with pytest-bdd , I have created BDD scenarios on Zephyr, downloaded the feature files, and executed them on my machine and the results are exported in JSON format. I have attached the JSON file below.
{"report": {"environment": {"Python": "3.8.2", "Platform": "macOS-10.16-x86_64-i386-64bit"}, "tests": [{"name": "step_definitions/test_welcome.py::test_QA2_swipe_to_learn_more", "duration": 31.95059585571289, "run_index": 0, "setup": {"name": "setup", "duration": 0.024325847625732422, "outcome": "passed"}, "call": {"name": "call", "duration": 31.90162205696106, "outcome": "passed"}, "teardown": {"name": "teardown", "duration": 0.00032210350036621094, "outcome": "passed"}, "outcome": "passed"}, {"name": "step_definitions/test_welcome.py::test_QA2_for_clinicians_tab", "duration": 6.670141696929932, "run_index": 1, "setup": {"name": "setup", "duration": 0.0002689361572265625, "outcome": "passed"}, "call": {"name": "call", "duration": 6.669113874435425, "outcome": "passed"}, "teardown": {"name": "teardown", "duration": 0.0004899501800537109, "outcome": "passed"}, "outcome": "passed"}], "summary": {"passed": 2, "num_tests": 2, "duration": 38.75271916389465}, "created_at": "2021-05-19 13:45:06.021026"}}
I uploaded the .json file to the cycle and the test cases are not getting executed to PASS. They are still in an Unexecuted state. I am new to Zephyr BDD. Is there something I am missing?