From 341d9bf221c43beb351f8869f082101c06621397 Mon Sep 17 00:00:00 2001 From: tomaszszopinski Date: Mon, 21 Sep 2026 07:45:41 +0200 Subject: [PATCH 1/2] IBX-11740: Added playwright-tests.yml Co-Authored-By: Claude Sonnet 5 --- .github/workflows/browser-tests.yml | 1 - .github/workflows/playwright-tests.yml | 63 ++++++++++++++++++++++++++ dependencies.json | 11 +++++ 3 files changed, 74 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/playwright-tests.yml create mode 100644 dependencies.json diff --git a/.github/workflows/browser-tests.yml b/.github/workflows/browser-tests.yml index 279773ef..87940810 100644 --- a/.github/workflows/browser-tests.yml +++ b/.github/workflows/browser-tests.yml @@ -14,7 +14,6 @@ on: default: '' push: branches: - - master - "[0-9]+.[0-9]+" pull_request: ~ diff --git a/.github/workflows/playwright-tests.yml b/.github/workflows/playwright-tests.yml new file mode 100644 index 00000000..561e1748 --- /dev/null +++ b/.github/workflows/playwright-tests.yml @@ -0,0 +1,63 @@ +name: Playwright browser tests + +on: + workflow_dispatch: + inputs: + send-success-notification: + description: 'Send a notification when the tests pass' + required: false + type: boolean + default: false + project-version: + description: 'Fill only when the tests should run on a stable release' + required: false + type: string + default: '' + push: + branches: + - "[0-9]+.[0-9]+" + pull_request: ~ + +# Edition mode: no test-package input, so the run executes the Playwright tests of +# every package that ships them, for the commerce edition. Edition/tag filtering is +# handled by cohesivo-playwright's config (via APP_EDITION) — do not pass test-suite +# with --project/--grep here, it would only duplicate that convention. +jobs: + playwright-commerce-setup1: + name: "PHP 8.3/Node 22/PostgreSQL 18.0/Varnish/Redis 7.2" + uses: ibexa/gh-workflows/.github/workflows/playwright-browser-tests.yml@ibx-11740-playwright + with: + project-edition: "commerce" + project-version: ${{ inputs.project-version }} + setup: "doc/docker/base-dev.yml:doc/docker/db-postgresql18.yml:doc/docker/varnish.yml:doc/docker/redis7.2.yml" + send-success-notification: ${{ github.event_name != 'workflow_dispatch' || inputs.send-success-notification }} + php-image: "ghcr.io/ibexa/docker/php:8.3-node22" + artifact-suffix: "php83-pgsql18-varnish-redis7.2" + timeout: 120 + secrets: inherit + + playwright-commerce-setup2: + name: "PHP 8.4/Node 22/MariaDB 11.4/Elastic 8/Valkey latest" + uses: ibexa/gh-workflows/.github/workflows/playwright-browser-tests.yml@ibx-11740-playwright + with: + project-edition: "commerce" + project-version: ${{ inputs.project-version }} + setup: "doc/docker/base-dev.yml:doc/docker/db-mariadb11.4.yml:doc/docker/elastic8.yml:doc/docker/valkey-latest.yml" + send-success-notification: ${{ github.event_name != 'workflow_dispatch' || inputs.send-success-notification }} + php-image: "ghcr.io/ibexa/docker/php:8.4-node22" + artifact-suffix: "php84-mariadb11.4-elastic8-valkey-latest" + timeout: 120 + secrets: inherit + + playwright-commerce-setup3: + name: "PHP 8.4/Node 22/MySQL 8.4/Solr 8/Redis latest" + uses: ibexa/gh-workflows/.github/workflows/playwright-browser-tests.yml@ibx-11740-playwright + with: + project-edition: "commerce" + project-version: ${{ inputs.project-version }} + setup: "doc/docker/base-dev.yml:doc/docker/db-mysql8.4.yml:doc/docker/solr8.yml:doc/docker/redis-latest.yml" + send-success-notification: ${{ github.event_name != 'workflow_dispatch' || inputs.send-success-notification }} + php-image: "ghcr.io/ibexa/docker/php:8.4-node22" + artifact-suffix: "php84-mysql8.4-solr8-redis-latest" + timeout: 120 + secrets: inherit diff --git a/dependencies.json b/dependencies.json new file mode 100644 index 00000000..07f07431 --- /dev/null +++ b/dependencies.json @@ -0,0 +1,11 @@ +{ + "recipesEndpoint": "", + "packages": [ + { + "requirement": "dev-ibx-11739-v6 as 6.0.x-dev", + "repositoryUrl": "https://github.com/ibexa/admin-ui", + "package": "ibexa/admin-ui", + "shouldBeAddedAsVCS": true + } + ] +} From eebe147b86bccad28de9b14c3ec9cd54f4cc17ac Mon Sep 17 00:00:00 2001 From: tomaszszopinski Date: Mon, 21 Sep 2026 08:16:29 +0200 Subject: [PATCH 2/2] Pin ibexa/cohesivo-playwright to the ids-btn selector fix branch Co-Authored-By: Claude Sonnet 5 --- dependencies.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dependencies.json b/dependencies.json index 07f07431..b3c6f407 100644 --- a/dependencies.json +++ b/dependencies.json @@ -6,6 +6,12 @@ "repositoryUrl": "https://github.com/ibexa/admin-ui", "package": "ibexa/admin-ui", "shouldBeAddedAsVCS": true + }, + { + "requirement": "dev-fix/ids-btn-selectors as 6.0.x-dev", + "repositoryUrl": "https://github.com/ibexa/cohesivo-playwright", + "package": "ibexa/cohesivo-playwright", + "shouldBeAddedAsVCS": true } ] }