test #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: TestDriver.ai | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
test: | |
name: "TestDriver" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: testdriverai/action@main | |
with: | |
version: v4.0.10 | |
key: ${{secrets.TESTDRIVER_API_KEY}} | |
prompt: | | |
1. /run testdriver\test.yml | |
prerun: | | |
cd $env:TEMP | |
npm init -y | |
npm install dashcam-chrome | |
Start-Process "C:/Program Files/Google/Chrome/Application/chrome.exe" -ArgumentList "--start-maximized","--load-extension=$(pwd)/node_modules/dashcam-chrome/build","${{ env.WEBSITE_URL }}" | |
exit | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
FORCE_COLOR: "3" | |
WEBSITE_URL: "https://testdriverai.github.io/example-react-todo" # Add your specific website URL here |