Skip to content

PropFuel/reflect-run-test-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reflect Run Test Action

This action runs a Reflect (https://reflect.run) test.

Inputs

api-key

Required Your Reflect API key (https://app.reflect.run/settings/account).

test-id

Required The ID of the test to run.

variables

A YAML document of key: value variable overrides to apply to this scheduled execution.

wait-for-completion

Wait for the test to complete before continuing.

default: false

Outputs

execution

A JSON object containing the execution details.

{
  "executionId": 17671,
  "browser": "Edge",
  "tests": [
    {
      "testId": 1690,
      "status": "succeeded",
      "run": {
        "runId": 690,
        "status": "passed",
        "variables": {},
        "startTime": 1654632014295,
        "endTime": 1654632027297,
        "runTime": 13002,
        "videoUrl": "https://reflect-videos.s3.amazonaws.com/690_89f4.mp4"
      }
    }
  ]
}

Example usage

name: Run a Relfect test
uses: PropFuel/reflect-run-test-action@main
with:
  api-key: ${{ secrets.REFLECT_API_KEY }}
  test-id: 1690
  variables: |
    FOO: bar
    BAZ: qux
  wait-for-completion: true

About

GitHub Action for running a Reflect (https://reflect.run) test

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published