To run the project a user has to install Poetry.
- JAVA installed.
- npm and nodejs installed.
- Run Appium Desktop server.
- Install Allure Framwork. It can be installed using scoop package manager.
- Run android emulator (
emulator -avd {emaltor name}
or Virtual Device Manager from Android Studio).
poetry shell
- activate virtual environment.poetry install
- install dependencies.poetry run pytest --alluredir="../allure-report" /tests/test-mobile-automation.py
- run the tests. Or run from IDE run configuration with additional arguments:--alluredir="../allure-report"
.deactivate
- to deactivate virtual environment.
Run allure serve {path to project}/allure-report
to activate allure report server.