GitHub Action for AI browser testing with bad .
- uses : tangle-network/bad-action@v1
with :
api-key : ${{ secrets.BAD_API_KEY }}
suite : " your-suite-id"
Run with a goal instead of a suite
- uses : tangle-network/bad-action@v1
with :
api-key : ${{ secrets.BAD_API_KEY }}
url : " https://your-app.com"
goal : " Sign up, verify email, check dashboard"
on :
pull_request :
types : [labeled]
jobs :
test :
if : contains(github.event.pull_request.labels.*.name, 'browser-review')
runs-on : ubuntu-latest
steps :
- uses : tangle-network/bad-action@v1
with :
api-key : ${{ secrets.BAD_API_KEY }}
suite : " checkout-flow"
Input
Required
Default
Description
api-key
Yes
API key from browser.tangle.tools
suite
No
Test suite ID
goal
No
Plain English test goal
url
No
Target URL (used with goal)
browsers
No
chromium
Browsers to test
timeout
No
600
Max wait seconds
api-url
No
https://browser.tangle.tools
API endpoint
Output
Description
run-ids
Comma-separated run IDs
passed
Whether all runs passed
results-url
URL to view results
Sign up at browser.tangle.tools
Connect your repo and create a test suite
Copy your API key from the CI/CD page
Add the action to your workflow