CLI tool for running Google Chrome DevTools Recordings
These tests should fail (but show as green because of continue-on-error - manuel check is required):
- Install puppyteer
npm i -g @flaeng/puppyteer
- Navigate to the folder with the .js-files and run puppyteer
puppyteer run
Use puppyteer -h for help and list of commands
-
Put your recording-files in a folder at root ('ui-tests' is used as an example)
-
Create a workflow on Github and paste the following code:
name: run
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
- name: npm install
run: npm install -g @flaeng/puppyteer
- name: puppyteer run
run: puppyteer run -p ui-tests
Follow Google's guide for the devtools recorder: https://developer.chrome.com/docs/devtools/recorder/
Known issues are shown in this document