From 098dcdb9097ce7d39353590a2f63b03c3927aba6 Mon Sep 17 00:00:00 2001 From: tomaszszopinski <59650405+tomaszszopinski@users.noreply.github.com> Date: Thu, 30 Jul 2026 15:34:56 +0200 Subject: [PATCH 1/2] IBX-5753: Added site-factory config (#186) * IBX-5753: Added site-factory config * Updated baseline * Updated 7.4 baseline * Removed unnecessary context from setup config --- behat_ibexa_commerce.yaml | 3 +++ behat_ibexa_experience.yaml | 4 +++- phpstan-baseline-7.4.neon | 12 ------------ phpstan-baseline.neon | 12 ------------ 4 files changed, 6 insertions(+), 25 deletions(-) diff --git a/behat_ibexa_commerce.yaml b/behat_ibexa_commerce.yaml index 968496af..9f07f027 100644 --- a/behat_ibexa_commerce.yaml +++ b/behat_ibexa_commerce.yaml @@ -25,6 +25,7 @@ regression: - '%paths.base%/vendor/ibexa/discounts-codes/features/setup/setup.feature' - '%paths.base%/vendor/ibexa/activity-log/features/setup/setup.feature' - '%paths.base%/vendor/ibexa/behat/features/setup/userSettings/integrationHelp.feature' + - '%paths.base%/vendor/ibexa/site-factory/features/setup.feature' contexts: - Ibexa\Behat\API\Context\ContentContext - Ibexa\Behat\API\Context\ContentTypeContext @@ -73,6 +74,7 @@ regression: - '%paths.base%/vendor/ibexa/discounts-codes/features/browser' - '%paths.base%/vendor/ibexa/activity-log/features/browser' - '%paths.base%/vendor/ibexa/integrated-help/features/browser' + - '%paths.base%/vendor/ibexa/site-factory/features/SiteFactoryFrontend.feature' filters: tags: "~@broken&&@IbexaCommerce" contexts: @@ -145,3 +147,4 @@ regression: - Ibexa\DiscountsCodes\Behat\Context\DiscountsCodesInStorefrontContext - Ibexa\ActivityLog\Behat\Context\ActivityLogContext - Ibexa\IntegratedHelp\Behat\BrowserContext\IntegratedHelpContext + - Ibexa\SiteFactory\Behat\Context\SiteFactoryFrontendContext diff --git a/behat_ibexa_experience.yaml b/behat_ibexa_experience.yaml index 877618c4..960f8f48 100644 --- a/behat_ibexa_experience.yaml +++ b/behat_ibexa_experience.yaml @@ -29,6 +29,7 @@ regression: - '%paths.base%/vendor/ibexa/connector-openai/features/setup/setup.feature' - '%paths.base%/vendor/ibexa/activity-log/features/setup/setup.feature' - '%paths.base%/vendor/ibexa/behat/features/setup/userSettings/integrationHelp.feature' + - '%paths.base%/vendor/ibexa/site-factory/features/setup.feature' contexts: - Ibexa\Behat\API\Context\ContentContext - Ibexa\Behat\API\Context\ContentTypeContext @@ -47,7 +48,6 @@ regression: - Ibexa\AdminUi\Behat\BrowserContext\NotificationContext - Behat\MinkExtension\Context\MinkContext - Ibexa\AdminUi\Behat\BrowserContext\NavigationContext - - Ibexa\Workflow\Behat\Context\WorkflowContext - Ibexa\AdminUi\Behat\BrowserContext\UserNotificationContext - Ibexa\AdminUi\Behat\BrowserContext\ContentUpdateContext @@ -73,6 +73,7 @@ regression: - '%paths.base%/vendor/ibexa/connector-openai/features/browser' - '%paths.base%/vendor/ibexa/activity-log/features/browser' - '%paths.base%/vendor/ibexa/integrated-help/features/browser' + - '%paths.base%/vendor/ibexa/site-factory/features/SiteFactoryFrontend.feature' filters: tags: "~@broken&&@IbexaExperience" contexts: @@ -138,3 +139,4 @@ regression: - Ibexa\ConnectorOpenAi\Behat\Context\AIAssistantContext - Ibexa\ActivityLog\Behat\Context\ActivityLogContext - Ibexa\IntegratedHelp\Behat\BrowserContext\IntegratedHelpContext + - Ibexa\SiteFactory\Behat\Context\SiteFactoryFrontendContext diff --git a/phpstan-baseline-7.4.neon b/phpstan-baseline-7.4.neon index 927af8fd..f596393d 100644 --- a/phpstan-baseline-7.4.neon +++ b/phpstan-baseline-7.4.neon @@ -708,12 +708,6 @@ parameters: count: 1 path: src/lib/API/ContentData/FieldTypeData/SelectionDataProvider.php - - - message: '#^Parameter \#1 \$min \(1\) of function random_int expects lower number than parameter \#2 \$max \(int\<0, max\>\)\.$#' - identifier: argument.type - count: 1 - path: src/lib/API/ContentData/FieldTypeData/SelectionDataProvider.php - - message: '#^Parameter \#1 \$selection of class Ibexa\\Core\\FieldType\\Selection\\Value constructor expects array\, list\ given\.$#' identifier: argument.type @@ -1230,12 +1224,6 @@ parameters: count: 1 path: src/lib/API/Facade/SearchFacade.php - - - message: '#^Parameter \#1 \$min \(0\) of function random_int expects lower number than parameter \#2 \$max \(int\<\-1, max\>\)\.$#' - identifier: argument.type - count: 1 - path: src/lib/API/Facade/SearchFacade.php - - message: '#^Possibly invalid array key type array\\|int\|string\.$#' identifier: offsetAccess.invalidOffset diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 7703594b..01177b21 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -714,12 +714,6 @@ parameters: count: 1 path: src/lib/API/ContentData/FieldTypeData/SelectionDataProvider.php - - - message: '#^Parameter \#1 \$min \(1\) of function random_int expects lower number than parameter \#2 \$max \(int\<0, max\>\)\.$#' - identifier: argument.type - count: 1 - path: src/lib/API/ContentData/FieldTypeData/SelectionDataProvider.php - - message: '#^Parameter \#1 \$selection of class Ibexa\\Core\\FieldType\\Selection\\Value constructor expects array\, list\ given\.$#' identifier: argument.type @@ -1236,12 +1230,6 @@ parameters: count: 1 path: src/lib/API/Facade/SearchFacade.php - - - message: '#^Parameter \#1 \$min \(0\) of function random_int expects lower number than parameter \#2 \$max \(int\<\-1, max\>\)\.$#' - identifier: argument.type - count: 1 - path: src/lib/API/Facade/SearchFacade.php - - message: '#^Possibly invalid array key type array\\|int\|string\.$#' identifier: offsetAccess.invalidOffset From 2bc5eea77cae8cc1ec26737488482d40fca45c0a Mon Sep 17 00:00:00 2001 From: tomaszszopinski <59650405+tomaszszopinski@users.noreply.github.com> Date: Mon, 10 Aug 2026 13:52:41 +0200 Subject: [PATCH 2/2] IBX-11534: Removed unused code & scenarios (#189) --- behat_ibexa_commerce.yaml | 1 - behat_ibexa_experience.yaml | 1 - behat_ibexa_headless.yaml | 1 - behat_suites.yml | 5 ----- features/setup/userSettings/integrationHelp.feature | 9 --------- 5 files changed, 17 deletions(-) delete mode 100644 features/setup/userSettings/integrationHelp.feature diff --git a/behat_ibexa_commerce.yaml b/behat_ibexa_commerce.yaml index 9f07f027..eb15318c 100644 --- a/behat_ibexa_commerce.yaml +++ b/behat_ibexa_commerce.yaml @@ -24,7 +24,6 @@ regression: - '%paths.base%/vendor/ibexa/discounts/features/setup/setup.feature' - '%paths.base%/vendor/ibexa/discounts-codes/features/setup/setup.feature' - '%paths.base%/vendor/ibexa/activity-log/features/setup/setup.feature' - - '%paths.base%/vendor/ibexa/behat/features/setup/userSettings/integrationHelp.feature' - '%paths.base%/vendor/ibexa/site-factory/features/setup.feature' contexts: - Ibexa\Behat\API\Context\ContentContext diff --git a/behat_ibexa_experience.yaml b/behat_ibexa_experience.yaml index 960f8f48..64768626 100644 --- a/behat_ibexa_experience.yaml +++ b/behat_ibexa_experience.yaml @@ -28,7 +28,6 @@ regression: - '%paths.base%/vendor/ibexa/dashboard/features/setup/setup.feature' - '%paths.base%/vendor/ibexa/connector-openai/features/setup/setup.feature' - '%paths.base%/vendor/ibexa/activity-log/features/setup/setup.feature' - - '%paths.base%/vendor/ibexa/behat/features/setup/userSettings/integrationHelp.feature' - '%paths.base%/vendor/ibexa/site-factory/features/setup.feature' contexts: - Ibexa\Behat\API\Context\ContentContext diff --git a/behat_ibexa_headless.yaml b/behat_ibexa_headless.yaml index 6728d735..b5d665e6 100644 --- a/behat_ibexa_headless.yaml +++ b/behat_ibexa_headless.yaml @@ -18,7 +18,6 @@ regression: - '%paths.base%/vendor/ibexa/behat/features/setup/contentTranslation' - '%paths.base%/vendor/ibexa/product-catalog/features/setup/setup.feature' - '%paths.base%/vendor/ibexa/connector-openai/features/setup/setup.feature' - - '%paths.base%/vendor/ibexa/behat/features/setup/userSettings/integrationHelp.feature' contexts: - Ibexa\Behat\API\Context\ContentContext - Ibexa\Behat\API\Context\ContentTypeContext diff --git a/behat_suites.yml b/behat_suites.yml index f5964573..d6989ae4 100644 --- a/behat_suites.yml +++ b/behat_suites.yml @@ -86,8 +86,3 @@ setup: - Ibexa\Behat\Core\Context\ConfigurationContext - Ibexa\Behat\API\Context\LanguageContext - Ibexa\Behat\API\Context\TestContext - user-settings: - paths: - - '%paths.base%/vendor/ibexa/behat/features/setup/userSettings/integrationHelp.feature' - contexts: - - Ibexa\Behat\Core\Context\FileContext diff --git a/features/setup/userSettings/integrationHelp.feature b/features/setup/userSettings/integrationHelp.feature deleted file mode 100644 index e67e1df6..00000000 --- a/features/setup/userSettings/integrationHelp.feature +++ /dev/null @@ -1,9 +0,0 @@ -Feature: Setup help integration configuration - - @setup @help - Scenario: Set up help configuration to disable help integration - Given I create a file "config/packages/ibexa_integrated_help.yaml" with contents - """ - ibexa_integrated_help: - enabled: false - """