Skip to content

Add test orchestrator script to trigger remote workflow runner outside functional test repo for cypress tests #625

Add test orchestrator script to trigger remote workflow runner outside functional test repo for cypress tests

Add test orchestrator script to trigger remote workflow runner outside functional test repo for cypress tests #625

name: Security Analytics Release tests workflow in Bundled OpenSearch Dashboards
on:
pull_request:
branches:
- main
- dev-*
- 2.x
jobs:
changes:
runs-on: ubuntu-latest
outputs:
tests: ${{ steps.filter.outputs.tests }}
steps:
- uses: dorny/paths-filter@v2
id: filter
with:
filters: |
tests:
- 'cypress/**/security-analytics-dashboards-plugin/**'
tests:
needs: changes
if: ${{ needs.changes.outputs.tests == 'true' }}
uses: ./.github/workflows/release-e2e-workflow-template.yml
with:
test-name: Security Analytics
test-command: yarn cypress:run-with-security --browser chromium --spec 'cypress/integration/plugins/security-analytics-dashboards-plugin/*'