Skip to content

Commit

Permalink
Merge branch 'main' into feature/michael/T-8564-publish-testdriver-to…
Browse files Browse the repository at this point in the history
…-github-marketplace
  • Loading branch information
tpikachu committed Feb 26, 2024
2 parents 0741c6f + 5f15790 commit 9f582e6
Show file tree
Hide file tree
Showing 8 changed files with 1,933 additions and 861 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: ./
- uses: replayableio/testdriver-action
with:
prompt: |
1. open youtube.
Expand Down
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# TestDriver.ai

Example here:
https://github.com/replayableio/testdriver-wave

Supply a `.testdriver/prerun.sh` script to run shell script before AI AGent

1. Generate token in developer settings
![CleanShot 2024-02-24 at 21 11 39](https://github.com/replayableio/testdriver-action/assets/318295/b21dd152-c183-4ce0-987f-31c2e511d3e6)

2. Store as a secret
3. ![CleanShot 2024-02-24 at 21 12 01](https://github.com/replayableio/testdriver-action/assets/318295/9e33a4ef-f885-42a1-be19-2139266ab6de)
21 changes: 14 additions & 7 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,29 @@
name: Dashcam TestDriver
description: Run tests based on human language
author: Michael Layne
description: AI QA Agent for GitHub
author: Dashcam.io
branding:
icon: "box"
color: "orange"
icon: "user-plus"
color: "green"
inputs:
prompt:
description: >-
Your test prompt
The prompt to test. Example:
1. Open Google Chrome
2. Go to YouTube.com
3. Search for "Rick Astley"
4. Click on the first video
required: true

outputs:
summary:
description: >-
The summary of the test result
shareLink:
link:
description: >-
The share link of dash recording
The share link of Dashcam.io recording
markdown:
description: >-
A hotlinked image of the Dashcam.io recording
runs:
using: node16
main: ./dist/index.js
Loading

0 comments on commit 9f582e6

Please sign in to comment.