No description
This repository has been archived on 2026-04-20. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • HTML 97.9%
  • RobotFramework 1.2%
  • Python 0.7%
  • Shell 0.2%
Find a file
Thenuja Viknarajah a33b891893
Some checks failed
ci / tests (push) Failing after 33s
ci / create_dev_release (push) Has been skipped
generalise script
2023-04-11 13:15:22 +01:00
.github/workflows adding ci, dockerfile, env variable to keywords 2022-11-03 20:55:12 +00:00
.idea update skeleton and initialised browser chrome/firefox 2021-03-17 13:20:20 +00:00
environment updating schedule.py 2022-11-01 18:14:24 +00:00
extras upgrading to selenium2library 2022-11-01 12:19:10 +00:00
keywords update email for testcases 2022-11-30 11:18:10 +00:00
pageobjects adding ci, dockerfile, env variable to keywords 2022-11-03 20:55:12 +00:00
report Poetry changes 2022-11-01 17:38:52 +00:00
results Bink Web Automation uisng Robot Framework 2022-10-14 13:48:43 +01:00
testcases upgrading to selenium2library 2022-11-01 12:19:10 +00:00
tests removing unwanted files and trying to reuse the repo for Bink web changes from portal team 2022-10-14 13:41:09 +01:00
.gitignore adding ci, dockerfile, env variable to keywords 2022-11-03 20:55:12 +00:00
Dockerfile adding ci, dockerfile, env variable to keywords 2022-11-03 20:55:12 +00:00
install_chrome_driver.sh adding ci, dockerfile, env variable to keywords 2022-11-03 20:55:12 +00:00
log.html Bink Web Automation uisng Robot Framework 2022-10-14 13:48:43 +01:00
main.py adding ci, dockerfile, env variable to keywords 2022-11-03 20:55:12 +00:00
output.xml Bink Web Automation uisng Robot Framework 2022-10-14 13:48:43 +01:00
poetry.lock adding ci, dockerfile, env variable to keywords 2022-11-03 20:55:12 +00:00
pyproject.toml adding ci, dockerfile, env variable to keywords 2022-11-03 20:55:12 +00:00
pytest.ini update skeleton and initialised browser chrome/firefox 2021-03-17 13:20:20 +00:00
README.md adding ci, dockerfile, env variable to keywords 2022-11-03 20:55:12 +00:00
report.html Bink Web Automation uisng Robot Framework 2022-10-14 13:48:43 +01:00
report_render.sh generalise script 2023-04-11 13:15:22 +01:00
schedule.py adding ci, dockerfile, env variable to keywords 2022-11-03 20:55:12 +00:00
settings.py updating schedule.py 2022-11-01 18:14:24 +00:00
tox.ini adding ci, dockerfile, env variable to keywords 2022-11-03 20:55:12 +00:00

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 🏋️‍♀️

  1. Clone it from this GitLab repository QA GitLab
  2. 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

  1. Check chrome version:
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --version
  1. Download the correct chromedriver for that chrome version
  2. Move it into an executable path
mv /Downloads/chromedriver /usr/local/bin/chromedriver
  1. Then run the tests

Running Tests 🏃‍♂️

  1. Run export WEBSITE_URL="https://wasabi.staging.gb.bink.com/login?debugLogin=true"
  2. Run robot -d reports testcases/ ... coming soon