yarn add @ianwalter/bff-puppeteer --dev
Add bff-puppeteer
as a bff
plugin in package.json
:
"bff": {
"plugins": [
"@ianwalter/bff-puppeteer"
]
}
Create a test like example.pptr.js
and import the test function from
@ianwalter/bff-puppeteer
:
import { test } from '@ianwalter/bff-puppeteer'
test('something', t => {
t.expect(window).toBeDefined()
})
@ianwalter/bff
- Your friendly test runner/framework@ianwalter/bff-webdriver
- A bff plugin to enable WebDriver-based testing@ianwalter/puppeteer
- A GitHub Action / Docker image for Puppeteer, the Headless Chrome Node API
Hippocratic License - See LICENSE
Created by Ian Walter