https://github.com/nbaldzhiev/xkcd-about-page-playwright-tests
The repo contains basic UI tests of the About page of xkcd using Playwright under Python.
https://github.com/nbaldzhiev/xkcd-about-page-playwright-tests
playwright-python python
Last synced: 4 months ago
JSON representation
The repo contains basic UI tests of the About page of xkcd using Playwright under Python.
- Host: GitHub
- URL: https://github.com/nbaldzhiev/xkcd-about-page-playwright-tests
- Owner: nbaldzhiev
- Created: 2022-10-26T16:27:23.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-11T09:59:56.000Z (over 2 years ago)
- Last Synced: 2025-01-12T11:47:48.213Z (5 months ago)
- Topics: playwright-python, python
- Language: Python
- Homepage:
- Size: 77.1 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# xkcd About page automated UI tests
The repository contains a small project in Python and Playwright for creating a few automated tests for the About page of the xkcd website.
## Usage
```
$ git clone [email protected]:nbaldzhiev/xkcd-about-page-playwright-tests.git && cd xkcd-about-page-playwright-tests
$ python3.8 -m venv venv && source venv/bin/activate && pip install -r requirements.txt
$ pytest
```This would execute all tests within the directory using the default Playwright settings for the Pytest plugin, i.e. headless mode, Chromium browser.
## Notable external packages used
* [Playwright](https://playwright.dev/python/) - providing Playwright bindings for Python;
* [pytest](https://docs.pytest.org/) - pytest.