Files
e2e_Pets/pytest.ini
VolandSZ c47aeff07d chore: upgrade pytest-html 3.x -> 4.x, fix pytest.ini
- Upgrade pytest-html 3.2.0 to 4.x (совместима с pytest 9.1)
- Убрать пин версии pytest-html==3.2.0 в requirements.txt
- Перенести --html флаг из ручного запуска в pytest.ini addopts,
  чтобы отчёт генерировался автоматически при каждом запуске pytest
- Убрать html_report_dir из pytest.ini (не поддерживается, вызывал
  PytestConfigWarning: Unknown config option)
- Исправить опечатку в маркере vetstation
- Добавить html-report/ и report.html в .gitignore
2026-08-31 11:27:54 +03:00

9 lines
585 B
INI

[pytest]
addopts = --browser chromium --headed --slowmo 1000 --html=html-report/report.html --self-contained-html
testpaths = tests
markers =
vetdept: тесты для роли Управление ветеринарии
vetstation: тесты для роли Ветеринарная станция
prefecture: тесты для роли Администрация
contractor_admin: тесты для роли Администратор организации отлова
smoke: критически важные тесты для быстрого прогона