Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ianjennings committed Aug 29, 2024
0 parents commit 376677e
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/testdriver.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: TestDriver.ai

on:
push:
branches: ["main"]
pull_request:
workflow_dispatch:

jobs:
test:
name: "TestDriver"
runs-on: ubuntu-latest
steps:
- uses: testdriverai/agent@main
version: v4.0.0
key: ${{secrets.TESTDRIVER_API_KEY}}
with:
prompt: |
1. /run /Users/ec2-user/actions-runner/_work/testdriver/testdriver/testdriver/test.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
FORCE_COLOR: "3"
Empty file.
30 changes: 30 additions & 0 deletions testdriver/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
version: 4.0.7
steps:
- prompt: click new task
commands:
- command: focus-application
name: Google Chrome
- command: hover-text
text: New Task
description: button to create a new task
action: click
- prompt: enter a fake task title and summary then click create task
commands:
- command: focus-application
name: Google Chrome
- command: hover-text
text: Title
description: Title field in the new task form
action: click
- command: type
text: Fake Task Title
- command: hover-text
text: Summary
description: Summary field in the new task form
action: click
- command: type
text: This is a fake task summary.
- command: hover-text
text: Create Task
description: button to create the task
action: click

0 comments on commit 376677e

Please sign in to comment.