Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Pangolier

A Declarative Web UI Test Framework.
With Pangolier, you can easily define and test your flows in YAML.

The project is in it’s infancy and not intended to be used in production.
Expect breaking API changes until 1.0

test: should allow me to add todo items
---
- loadUrl: https://demo.playwright.dev/todomvc
- clickOn: "[placeholder='What needs to be done?']"
- type: buy some cheese
- pressKey: Enter
- assertVisible:
    selector: $todo-title
    text: buy some cheese
- clickOn: "[placeholder='What needs to be done?']"
- type: feed the cat
- pressKey: Enter
- assertVisible:
    selector: $todo-title
    index: 0
    text: buy some cheese
- assertVisible:
    selector: $todo-title
    index: 1
    text: feed the cat

The same test written with Playwright:

https://github.com/microsoft/playwright/blob/main/examples/todomvc/tests/integration.spec.ts#L20

The project is a port of Maestro for the web platform and uses Playwright under the hood. The documentation website has also been adapted from Maestro.

Examples

The todomvc example tests for Playwright have been re-written for Pangolier which you can find here. Note that some of the functionalities may be missing in the reimplementation.

Roadmap

The immediate goal of the project is to port all the features from Maestro to Pangolier.
Contributions welcome!


mr. pango

Mr. Pango, the mascot for Pangolier; wielding his sword, the “Swashbuckle”.
Artwork by Reddit user TalonP.