An open API service indexing awesome lists of open source software.

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.

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.