arlecchino

YAML based e2e runner

Usage no npm install needed!

<script type="module">
  import arlecchino from 'https://cdn.skypack.dev/arlecchino';
</script>

README

Arlecchino

CircleCI npm version

End-to-End testing library for Web apps.

Getting started

$ npm install -g arlecchino

Write a scenario file.

# example.yml

description: Search Arlecchino with NPM
steps:
  - goto: https://www.npmjs.com
  - find:
      query: input[type='search'][name='q']
      action:
        input: arlecchino
  - screenshot
  - find:
      query: "form#search"
      action: submit
  - wait_for_navigation
  - sleep: 300
  - screenshot

And run the scenario.

$ arlecchino example.yml

Guide

Read this page.

How it works

Arlecchino uses GoogleChrome/Puppeteer.

License

MIT