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

User gets some import errors when running tests due to deleted files #321

Closed ShruthiBU closed 1 year ago

ShruthiBU commented 1 year ago

interactive_mode.py and confest.py files import the api_example_conf file which gets deleted while executing clean_up_repo.py. On trying to execute the test after cleanup repo, it shows the error message "ImportError while loading conftest.py" .

The test runs successfully only after removing the import files and a method (def test_api_obj) from the confest file. Also, had to make a few edits on utils and endpoints.

Attaching the screenshot for reference import error

output

github-actions[bot] commented 1 year ago

Stale issue message