qxf2 / qxf2-page-object-model

Write Selenium and Appium tests in Python using the Page Object pattern. This Pythonic GUI and API test automation framework will help you get started with QA automation quickly. It comes with many useful integrations like - email, BrowserStack, Slack, TestRail, etc. This repository is developed and maintained by Qxf2 Services.
https://qxf2.com
MIT License
261 stars 192 forks source link

When test ran with reportportal option, not terminated gracefully #273

Closed nilaya123 closed 4 years ago

nilaya123 commented 4 years ago

When test ran with reportportal option, not terminated gracefully: It is not showing result.

$ py -3 -m pytest test_example_form.py --reportportal ============================= test session starts ============================= platform win32 -- Python 3.6.5, pytest-4.1.1, py-1.8.0, pluggy-0.13.0 -- C:\Python36\python.exe metadata: {'Python': '3.6.5', 'Platform': 'Windows-10-10.0.18362-SP0', 'Packages': {'pytest': '4.1.1', 'py': '1.8.0', 'pluggy': '0.13.0'}, 'Plugins': {'django': '3.4.7', 'forked': '1.0.2', 'html': '1.19.0', 'metadata': '1.7.0', 'reportportal': '1.0.8', 'rerunfailures': '4.1', 'xdist': '1.22.0'}, 'JAVA_HOME': 'C:\Program Files\Java\jdk-14.0.1'} rootdir: C:\Users\Qxf2 Services\newgithub\qxf2-page-object-model, inifile: pytest.ini plugins: django-3.4.7, forked-1.0.2, html-1.19.0, metadata-1.7.0, reportportal-1.0.8, rerunfailures-4.1, xdist-1.22.0 collecting ... collected 1 item

test_example_form.py::test_example_form[chrome] PASSED

github-actions[bot] commented 4 years ago

Stale issue message

nilaya123 commented 4 years ago

This issue is not seen. So closing it.

$ py -3 -m pytest test_example_form.py --reportportal ============================= test session starts ============================= platform win32 -- Python 3.6.5, pytest-6.0.1, py-1.9.0, pluggy-0.13.0 -- C:\Python36\python.exe metadata: {'Python': '3.6.5', 'Platform': 'Windows-10-10.0.19041-SP0', 'Packages': {'pytest': '6.0.1', 'py': '1.9.0', 'pluggy': '0.13.0'}, 'Plugins': {'django': '4.1.0', 'forked': '1.0.2', 'html': '1.19.0', 'metadata': '1.7.0', 'reportportal': '5.0.5', 'rerunfailures': '4.1', 'xdist': '1.22.0'}, 'JAVA_HOME': 'C:\Program Files\Java\jdk-14.0.1'} rootdir: C:\Users\Qxf2 Services\newgithub\qxf2-page-object-model, configfile: pytest.ini plugins: django-4.1.0, forked-1.0.2, html-1.19.0, metadata-1.7.0, reportportal-5.0.5, rerunfailures-4.1, xdist-1.22.0 collecting ... collected 1 item

test_example_form.py::test_example_form[chrome] 2020-11-01 22:28:45.633 | INFO | utils.Base_Logging:write:100 - set_name | Set the name to: knight 2020-11-01 22:28:59.548 | INFO | utils.Base_Logging:write:100 - test_example_form | PASS: Name was successfully set to: knight

2020-11-01 22:28:59.567 | INFO | utils.Base_Logging:write:100 - test_example_form | Script duration: 74 seconds

2020-11-01 22:29:07.637 | INFO | utils.Base_Logging:write:100 - set_email | Set the email to: knight@qxf2.com 2020-11-01 22:29:34.170 | INFO | utils.Base_Logging:write:100 - test_example_form | PASS: Email was successfully set to: knight@qxf2.com

2020-11-01 22:29:34.184 | INFO | utils.Base_Logging:write:100 - test_example_form | Script duration: 109 seconds

2020-11-01 22:29:48.361 | INFO | utils.Base_Logging:write:100 - set_phone | Set the phone to: 1111111111