Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop #1273

Merged
merged 4 commits into from
Aug 9, 2024
Merged

Develop #1273

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/workflows/run-cypress-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Trigger End-to-end Tests Workflow

on:
workflow_dispatch:
inputs:
baseUrl:
description: 'Base URL to run tests against'
required: true
default: 'https://staging.cms.footlight.io/'
grep:
description: 'Grep pattern for selecting tests'
required: false
default: ''
grepTags:
description: 'Grep tags for selecting tests'
required: false
default: '@essential'
numContainers:
description: 'Number of containers to use for browsers'
required: false
default: '2'

jobs:
trigger-tests:
runs-on: ubuntu-latest
steps:
- name: Trigger End-to-end Tests Workflow
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.DOCKER_PAT }}
event-type: trigger-end-to-end-tests
client-payload: |
{
"baseUrl": "${{ github.event.inputs.baseUrl }}",
"grep": "${{ github.event.inputs.grep }}",
"grepTags": "${{ github.event.inputs.grepTags }}",
"numContainers": "${{ github.event.inputs.numContainers }}"
}
Loading