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
262 stars 191 forks source link

Fix running tests through interactive mode for API automation #486

Closed shivahari closed 1 month ago

shivahari commented 1 month ago

Running API tests in interactive-mode fails due to:

Python says:too many values to unpack (expected 2)
ERROR

We only query the URL in interactive-mode for API tests - https://github.com/qxf2/qxf2-page-object-model/blob/master/conftest.py#L237

Remove the session_flag variable assignment.