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.
I have identified a bug in our framework where the api tests are not using the value provided for the api_url command-line option. Instead, the tests always default to using the API URL from the configuration file base_url_conf.api_base_url.
Steps to reproduce:
Run any api test with the --api_url command-line option set to a different value than the one in the configuration file.
pytest tests/test_api_example.py --api_url "https://qxf2.com"
Observe that the test uses the URL from the config file rather than the command-line value.
Expected behavior:
The test should prioritize and use the api_url provided through the command line option over the one from the configuration file.
Please investigate and fix this issue so that the framework properly utilizes the command-line option for the api_url.
I have identified a bug in our framework where the api tests are not using the value provided for the api_url command-line option. Instead, the tests always default to using the API URL from the configuration file base_url_conf.api_base_url.
Steps to reproduce:
--api_url
command-line option set to a different value than the one in the configuration file.pytest tests/test_api_example.py --api_url "https://qxf2.com"
Expected behavior: The test should prioritize and use the api_url provided through the command line option over the one from the configuration file.
Please investigate and fix this issue so that the framework properly utilizes the command-line option for the api_url.