No description
- HTML 97.9%
- RobotFramework 1.2%
- Python 0.7%
- Shell 0.2%
| .github/workflows | ||
| .idea | ||
| environment | ||
| extras | ||
| keywords | ||
| pageobjects | ||
| report | ||
| results | ||
| testcases | ||
| tests | ||
| .gitignore | ||
| Dockerfile | ||
| install_chrome_driver.sh | ||
| log.html | ||
| main.py | ||
| output.xml | ||
| poetry.lock | ||
| pyproject.toml | ||
| pytest.ini | ||
| README.md | ||
| report.html | ||
| report_render.sh | ||
| schedule.py | ||
| settings.py | ||
| tox.ini | ||
Bink Web - UI Automation: PyTest-BDD & Selenium 🚀
- This is a Python framework for the test automation of Bink's Web UI.
- The framework has been designed using the Pytest-BDD plugin to implement the BDD approach.
- Modules of the framework are designed in such a way that it can be reused by all merchants in any channels
- This framework will provide a Regression testing suite for Bink Web & also serve for Sanity, Smoke testing & In- Sprint testing for all channels & merchants.
Set Up 🏋️♀️
- Clone it from this GitLab repository QA GitLab
- Run `pipenv install` from the project's root directory.
-
- Optional Step : For Django Web UI tests, install the appropriate browser and WebDriver executable
- Current Django tests use Chrome and chromedriver
Installing the Right Chromedriver 🔨
MacOS
- Check chrome version:
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --version
- Download the correct chromedriver for that chrome version
- Move it into an executable path
mv /Downloads/chromedriver /usr/local/bin/chromedriver
- Then run the tests
Running Tests 🏃♂️
- Run
export WEBSITE_URL="https://wasabi.staging.gb.bink.com/login?debugLogin=true" - Run
robot -d reports testcases/... coming soon