A fully E2E page-object test suite that tests the basic functionality of the google map search engine.
- Python
- Selenium
- Docker
- Github Action
It follows the page-object design pattern
As I dockerized all the requirements in a customized image, You don't have to do anything but execute the following one line command to fire the test suite.
docker container run -t -v /dev/shm:/dev/shm -v $(pwd):/google-map -e "PYTHONPATH='$PYTHONPATH:/google-map" -w /google-map 0xislamtaha/seleniumchromenose:83 bash -c "nosetests -vs --nologcapture --tc-file=config.ini --tc=browser.headless:True tests"
.
├── config.ini
├── lib
│ ├── __init__.py
│ ├── page_objects
│ │ ├── __init__.py
│ │ ├── locators.yml
│ │ ├── page.py
│ │ └── search_map_page.py
│ └── selenium_plus.py
└── tests
├── base_tests.py
└── test_search_map_page.py
Here is the latest execution results based on the Github Action.