Appearance
Quick start
Record a short flow, replay it and generate a test. You will need BugTrail installed.
1. Record
- Open the website you want to test.
- Click the BugTrail icon, then Start.
- Use the page normally.
- Click the icon again, then Stop, then Save JSON.
A file named bugtrail-recording.json appears in your Downloads folder.
2. Replay
bash
node bin/replay.js bugtrail-recording.json --headed--headed shows the browser so you can watch. You will see one line per step:
text
PASS 1. Go to https://example.test/login
PASS 2. Enter text in "Email"
FAIL 3. Click "Pay" -> element not found
FAILED3. Get a report
bash
node bin/replay.js bugtrail-recording.json --html report.htmlOpen report.html in a browser. A failed step includes a screenshot.
4. Generate a test
bash
node bin/generate.js bugtrail-recording.json --out my-flow.spec.js
npx playwright test my-flow.spec.jsNext steps
- Record a session in more detail
- Replay options
- File Jira bugs automatically