Framework Mode - @pytest.mark.xfail for expected failures
Folder Structure
tests/ ├── test_login.py ├── test_checkout.py ├── test_profile.py conftest.py pytest.ini requirements.txt utils/ ├── helpers.py ├── data_provider.py
This is a typical Pytest project structure. All test files are inside tests/. Shared helpers and data are in utils/. Configuration is in pytest.ini.