diff --git a/system-tests/action.yml b/system-tests/action.yml index e60a1a6..71b31f0 100644 --- a/system-tests/action.yml +++ b/system-tests/action.yml @@ -1,5 +1,10 @@ -name: 'Ruby System Tests' -description: 'Runs Ruby system tests' +name: Ruby System Tests +description: Runs Ruby system tests +inputs: + failure-screenshot-dir: + description: tmp directory where your tests save failure screenshots to + required: false + default: tmp/capybara runs: using: "composite" @@ -81,7 +86,7 @@ runs: uses: actions/upload-artifact@v4 with: name: rspec-screenshots - path: tmp/capybara + path: ${{ inputs.failure-screenshot-dir }} - name: Cleanup uses: RoleModel/actions/test-cleanup@v1