Contributions
Zephyr BDD - Steps in the scenario changed are not reflected in the execution
Issue: If the scenario steps are updated after executing then the execution steps are not updated Steps to reproduce: 1. Create a scenario using Create a BDD Feature 2. Add the scenario to the Cycle 3. Execute the scenario (E) manually 4. Now keep the steps as it is and change the step format or word / modify the Given /When /Then steps 5. Now when you click on the E button to the scenario and see the test details Expected Result : The steps should be updated Actual Result: The steps are not updated and they remain the same. We have to delete the scenario and add it again. Could you please let us know if it is already an existing issue otherwise could you please let us know if there is a solution to the above? Please see the below screenshots : This is a scenario where the steps are changed after execution When I click on E and see the test details they are still the old steps As we are working on a new feature we keep changing the test cases after execution as well. Could you please let us know a way where the test execution steps will be also updated?1KViews0likes1CommentRe: Uploading cucumber results to Zephyr issues
Hello, I have 2 questions for you. First - What do you mean by test name? Is it scenario name? feature name or else my method name? I have changed my scenario names without spaces for ex: swipe_to_learn_more Method also with underscores - test_swipe_to_learn_more Here is my JSON report after executing {"report": {"environment": {"Python": "3.8.2", "Platform": "macOS-10.16-x86_64-i386-64bit"}, "tests": [{"name": "step_definitions/test_welcome.py::test_swipe_to_learn_more", "duration": 29.945682048797607, "run_index": 0, "setup": {"name": "setup", "duration": 0.024849891662597656, "outcome": "passed"}, "call": {"name": "call", "duration": 29.89575719833374, "outcome": "passed"}, "teardown": {"name": "teardown", "duration": 0.000225067138671875, "outcome": "passed"}, "outcome": "passed"}, {"name": "step_definitions/test_welcome.py::test_for_clinicians_tab", "duration": 7.033468246459961, "run_index": 1, "setup": {"name": "setup", "duration": 0.00020313262939453125, "outcome": "passed"}, "call": {"name": "call", "duration": 7.032575845718384, "outcome": "passed"}, "teardown": {"name": "teardown", "duration": 0.00048613548278808594, "outcome": "passed"}, "outcome": "passed"}], "summary": {"passed": 2, "num_tests": 2, "duration": 37.09014678001404}, "created_at": "2021-05-19 20:22:22.341222"}} Can you please double-check again and let me know exactly where? Thanks for your patience. Thanks, Naga Sindhu Setty2.6KViews0likes2CommentsUploading 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?Solved2.7KViews0likes4Comments