tests/CI: Change Playwright workflow trigger to pull_request

Change trigger of Playwright workflow from finishing development checks to trigger on pull requests.
This commit is contained in:
Tom Koscielniak 2025-03-18 14:03:09 +01:00 committed by Klara Simickova
parent aa0ef7ca6e
commit 9c9ef15ad7

View file

@ -1,9 +1,8 @@
name: Hosted playwright tests
on:
workflow_run:
workflows: ["Development checks"]
types: [completed]
pull_request:
types: [opened, reopened, synchronize, labeled, unlabeled]
workflow_dispatch:
jobs:
@ -54,8 +53,6 @@ jobs:
- name: Run front-end Playwright tests
env:
USER: ${{ secrets.HOSTED_STAGE_USER }}
PASSWORD: ${{ secrets.HOSTED_STAGE_PASSWORD }}
BASE_URL: https://stage.foo.redhat.com:1337
run: npx playwright test