diff --git a/.github/workflows/browser-tests.yml b/.github/workflows/browser-tests.yml index 825eedc..b462ef1 100644 --- a/.github/workflows/browser-tests.yml +++ b/.github/workflows/browser-tests.yml @@ -1,6 +1,12 @@ name: Browser tests on: - workflow_dispatch: ~ + workflow_dispatch: + inputs: + send-success-notification: + description: 'Send a notification when the tests pass' + required: false + type: boolean + default: true push: branches: - master @@ -18,6 +24,7 @@ jobs: test-setup-phase-1: "--profile=regression --suite=setup-commerce --tags=~@part2 --mode=standard" test-setup-phase-2: "--profile=regression --suite=setup-commerce --tags=@part2 --mode=standard" setup: "doc/docker/base-dev.yml:doc/docker/db-postgresql.yml:doc/docker/varnish.yml:doc/docker/redis.yml:doc/docker/selenium.yml" + send-success-notification: ${{ github.event.inputs.send-success-notification != 'false' }} job-count: 3 multirepository: true timeout: 120 @@ -37,6 +44,7 @@ jobs: test-setup-phase-1: "--profile=regression --suite=setup-commerce --tags=~@part2 --mode=standard" test-setup-phase-2: "--profile=regression --suite=setup-commerce --tags=@part2 --mode=standard" setup: "doc/docker/base-dev.yml:doc/docker/selenium.yml" + send-success-notification: ${{ github.event.inputs.send-success-notification != 'false' }} job-count: 3 use-compatibility-layer: true timeout: 120