TestDriver.ai / Generate / Explore #9
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 / Generate / Explore | |
permissions: | |
actions: read | |
contents: write | |
pull-requests: write | |
on: | |
workflow_dispatch: | |
jobs: | |
generate: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: testdriverai/action@main | |
with: | |
key: ${{ secrets.TESTDRIVER_API_KEY }} | |
prompt: | | |
1. /run testdriver/login.yml false false | |
2. /generate desktop 10 | |
prerun: | | |
Get-NetIPAddress -AddressFamily IPv6 | |
# URL for the Arc browser installer | |
$installerUrl = "https://releases.arc.net/windows/ArcInstaller.exe" | |
# Location to save the installer | |
$installerPath = "$env:USERPROFILE\Downloads\ArcInstaller.exe" | |
# Download the Arc browser installer | |
Write-Host "Downloading Arc browser installer..." | |
Invoke-WebRequest -Uri $installerUrl -OutFile $installerPath | |
# Check if the download was successful | |
if (Test-Path $installerPath) { | |
Write-Host "Download successful. Running the installer..." | |
Start-Process -FilePath $installerPath -ArgumentList '/silent' -Wait | |
Start-Sleep -Seconds 10 | |
} else { | |
Write-Host "Failed to download the Arc browser installer." | |
} | |
create-pr: true | |
pr-title: "TestDriver.ai / Generate Test Plans" | |
pr-branch: testdriver/generate-${{ github.run_id }}-${{ github.run_attempt }} | |
env: | |
FORCE_COLOR: "3" | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |