diff --git a/behat_ibexa_commerce.yaml b/behat_ibexa_commerce.yaml deleted file mode 100644 index e93e2f10..00000000 --- a/behat_ibexa_commerce.yaml +++ /dev/null @@ -1,150 +0,0 @@ -imports: - - behat_ibexa_experience.yaml - - vendor/ibexa/payment/behat_suites.yml - - vendor/ibexa/shipping/behat_suites.yml - - vendor/ibexa/storefront/behat_suites.yml - -regression: - suites: - setup-commerce: - paths: - - '%paths.base%/vendor/ibexa/behat/features/personas' - - '%paths.base%/vendor/ibexa/behat/features/setup/richtextConfiguration/custom_styles.feature' - - '%paths.base%/vendor/ibexa/behat/features/setup/richtextConfiguration/custom_tags.feature' - - '%paths.base%/vendor/ibexa/workflow/features/setup/setup_experience.feature' - - '%paths.base%/vendor/ibexa/behat/features/setup/loginMethods' - - '%paths.base%/vendor/ibexa/behat/features/setup/contentTranslation' - - '%paths.base%/vendor/ibexa/page-builder/features/setup/setup.feature' - - '%paths.base%/vendor/ibexa/product-catalog/features/setup/setup.feature' - - '%paths.base%/vendor/ibexa/corporate-account/features/setup/setup.feature' - - '%paths.base%/vendor/ibexa/shipping/features/setup/setup.feature' - - '%paths.base%/vendor/ibexa/storefront/features/setup/setup.feature' - - '%paths.base%/vendor/ibexa/dashboard/features/setup/setup.feature' - - '%paths.base%/vendor/ibexa/connector-openai/features/setup/setup.feature' - - '%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/product-catalog-date-time-attribute/features/setup/setup.feature' - - '%paths.base%/vendor/ibexa/site-factory/features/setup.feature' - contexts: - - Ibexa\Behat\API\Context\ContentContext - - Ibexa\Behat\API\Context\ContentTypeContext - - Ibexa\Behat\API\Context\LanguageContext - - Ibexa\Behat\API\Context\RoleContext - - Ibexa\Behat\API\Context\TestContext - - Ibexa\Behat\API\Context\UserContext - - Ibexa\Behat\Core\Context\ConfigurationContext - - Ibexa\Behat\Core\Context\FileContext - - Ibexa\Migration\Behat\Context\MigrationContext - - Ibexa\Behat\Browser\Context\AuthenticationContext - - Ibexa\ProductCatalog\Behat\Context\CatalogsContext - - Ibexa\AdminUi\Behat\BrowserContext\ContentActionsMenuContext - - Ibexa\AdminUi\Behat\BrowserContext\ContentUpdateContext - - Ibexa\AdminUi\Behat\BrowserContext\AdminUpdateContext - - Ibexa\AdminUi\Behat\BrowserContext\NotificationContext - - Behat\MinkExtension\Context\MinkContext - - Ibexa\Workflow\Behat\Context\WorkflowContext - - Ibexa\AdminUi\Behat\BrowserContext\UserNotificationContext - - Ibexa\AdminUi\Behat\BrowserContext\ContentViewContext - - Ibexa\AdminUi\Behat\BrowserContext\NavigationContext - commerce: - paths: - - '%paths.base%/vendor/ibexa/admin-ui/features/personas' - - '%paths.base%/vendor/ibexa/admin-ui/features/standard' - - '%paths.base%/vendor/ibexa/corporate-account/features/browser' - - '%paths.base%/vendor/ibexa/fieldtype-page/features/eventSource' - - '%paths.base%/vendor/ibexa/form-builder/features' - - '%paths.base%/vendor/ibexa/page-builder/features/DynamicLandingPage' - - '%paths.base%/vendor/ibexa/page-builder/features/personas' - - '%paths.base%/vendor/ibexa/payment/features' - - '%paths.base%/vendor/ibexa/product-catalog/features/browser' - - '%paths.base%/vendor/ibexa/scheduler/features' - - '%paths.base%/vendor/ibexa/segmentation/features' - - '%paths.base%/vendor/ibexa/storefront/features/browser' - - '%paths.base%/vendor/ibexa/taxonomy/features' - - '%paths.base%/vendor/ibexa/user/features/browser' - - '%paths.base%/vendor/ibexa/version-comparison/features' - - '%paths.base%/vendor/ibexa/workflow/features/browser' - - '%paths.base%/vendor/ibexa/shipping/features/browser' - - '%paths.base%/vendor/ibexa/connector-ai/features/browser' - - '%paths.base%/vendor/ibexa/connector-openai/features/browser' - - '%paths.base%/vendor/ibexa/discounts/features/browser' - - '%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/product-catalog-date-time-attribute/features/browser' - - '%paths.base%/vendor/ibexa/site-factory/features/SiteFactoryFrontend.feature' - filters: - tags: "~@broken&&@IbexaCommerce" - contexts: - - Behat\MinkExtension\Context\MinkContext - - Ibexa\AdminUi\Behat\BrowserContext\AdminUpdateContext - - Ibexa\AdminUi\Behat\BrowserContext\BookmarkContext - - Ibexa\AdminUi\Behat\BrowserContext\ContentActionsMenuContext - - Ibexa\AdminUi\Behat\BrowserContext\ContentPreviewContext - - Ibexa\AdminUi\Behat\BrowserContext\ContentTreeContext - - Ibexa\AdminUi\Behat\BrowserContext\ContentTypeContext - - Ibexa\AdminUi\Behat\BrowserContext\ContentUpdateContext - - Ibexa\AdminUi\Behat\BrowserContext\ContentViewContext - - Ibexa\AdminUi\Behat\BrowserContext\DashboardContext - - Ibexa\AdminUi\Behat\BrowserContext\LanguageContext - - Ibexa\AdminUi\Behat\BrowserContext\MyDraftsContext - - Ibexa\AdminUi\Behat\BrowserContext\NavigationContext - - Ibexa\AdminUi\Behat\BrowserContext\NotificationContext - - Ibexa\AdminUi\Behat\BrowserContext\ObjectStatesContext - - Ibexa\AdminUi\Behat\BrowserContext\RolesContext - - Ibexa\AdminUi\Behat\BrowserContext\SearchContext - - Ibexa\AdminUi\Behat\BrowserContext\SectionsContext - - Ibexa\AdminUi\Behat\BrowserContext\SystemInfoContext - - Ibexa\AdminUi\Behat\BrowserContext\TrashContext - - Ibexa\AdminUi\Behat\BrowserContext\UDWContext - - Ibexa\AdminUi\Behat\BrowserContext\UserNotificationContext - - Ibexa\AdminUi\Behat\BrowserContext\UserPreferencesContext - - Ibexa\AdminUi\Behat\BrowserContext\UserProfileContext - - Ibexa\Behat\API\Context\ContentContext - - Ibexa\Behat\API\Context\ContentTypeContext - - Ibexa\Behat\API\Context\RoleContext - - Ibexa\Behat\API\Context\TestContext - - Ibexa\Behat\API\Context\TrashContext - - Ibexa\Behat\API\Context\UserContext - - Ibexa\Behat\Browser\Context\AuthenticationContext - - Ibexa\Behat\Browser\Context\DebuggingContext - - Ibexa\CorporateAccount\Behat\Context\CompaniesContext - - Ibexa\FieldTypePage\Behat\Context\BlockHideEventsSourceContext - - Ibexa\FieldTypePage\Behat\Context\BlockRevealEventsSourceContext - - Ibexa\FormBuilder\Behat\BrowserContext\FormAdministrationContext - - Ibexa\FormBuilder\Behat\BrowserContext\FormBuilderContext - - Ibexa\FormBuilder\Behat\BrowserContext\FormFieldConfigurationContext - - Ibexa\FormBuilder\Behat\BrowserContext\FormFrontContext - - Ibexa\Migration\Behat\Context\MigrationContext - - Ibexa\PageBuilder\Behat\Context\PageBuilderContext - - Ibexa\Payment\Behat\Context\PaymentMethodsContext - - Ibexa\ProductCatalog\Behat\Context\AttributeGroupsContext - - Ibexa\ProductCatalog\Behat\Context\AttributesContext - - Ibexa\ProductCatalog\Behat\Context\CatalogsContext - - Ibexa\ProductCatalog\Behat\Context\CurrenciesContext - - Ibexa\ProductCatalog\Behat\Context\CustomerGroupsContext - - Ibexa\ProductCatalog\Behat\Context\ProductsContext - - Ibexa\ProductCatalog\Behat\Context\ProductTypesContext - - Ibexa\Scheduler\Behat\BrowserContext\DateBasedPublisherContext - - Ibexa\Segmentation\Behat\Context\SegmentationContext - - Ibexa\Storefront\Behat\Context\StorefrontContext - - Ibexa\Taxonomy\Behat\Context\Browser\TaxonomyContext - - Ibexa\Taxonomy\Behat\Context\Service\TaxonomyContext - - Ibexa\User\Behat\Context\UserSettingsContext - - Ibexa\User\Behat\Context\UserSetupContext - - Ibexa\VersionComparison\Behat\Context\VersionComparisonContext - - Ibexa\Workflow\Behat\Context\WorkflowAdminContext - - Ibexa\Workflow\Behat\Context\WorkflowContext - - Ibexa\Shipping\Behat\Context\ShippingMethodsContext - - Ibexa\ConnectorOpenAi\Behat\Context\OpenAIContext - - Ibexa\ConnectorAi\Behat\Context\AIActionsContext - - Ibexa\ConnectorOpenAi\Behat\Context\AIAssistantContext - - Ibexa\Discounts\Behat\Context\DiscountsContext - - Ibexa\DiscountsCodes\Behat\Context\DiscountsCodesContext - - Ibexa\Discounts\Behat\Context\DiscountsInStorefrontContext - - Ibexa\DiscountsCodes\Behat\Context\DiscountsCodesInStorefrontContext - - Ibexa\ActivityLog\Behat\Context\ActivityLogContext - - Ibexa\IntegratedHelp\Behat\BrowserContext\IntegratedHelpContext - - Ibexa\ProductCatalogDateTimeAttribute\Behat\Context\DateTimeAttributeContext - - Ibexa\SiteFactory\Behat\Context\SiteFactoryFrontendContext diff --git a/behat_ibexa_experience.yaml b/behat_ibexa_experience.yaml deleted file mode 100644 index ecd7e5ca..00000000 --- a/behat_ibexa_experience.yaml +++ /dev/null @@ -1,143 +0,0 @@ -imports: - - behat_ibexa_headless.yaml - - vendor/ibexa/corporate-account/behat_suites.yml - - vendor/ibexa/dashboard/behat_suites.yml - - vendor/ibexa/fieldtype-page/behat_suites.yml - - vendor/ibexa/form-builder/behat_suites.yml - - vendor/ibexa/page-builder/behat_suites.yml - - vendor/ibexa/scheduler/behat_suites_experience.yml - - vendor/ibexa/segmentation/behat_suites.yml - - vendor/ibexa/site-factory/behat_suites.yml - - vendor/ibexa/taxonomy/behat_suites_experience.yml - - vendor/ibexa/workflow/behat_suites_experience.yml - - vendor/ibexa/activity-log/behat_suites.yml - -regression: - suites: - setup-experience: - paths: - - '%paths.base%/vendor/ibexa/behat/features/personas' - - '%paths.base%/vendor/ibexa/behat/features/setup/richtextConfiguration/custom_styles.feature' - - '%paths.base%/vendor/ibexa/behat/features/setup/richtextConfiguration/custom_tags.feature' - - '%paths.base%/vendor/ibexa/workflow/features/setup/setup_experience.feature' - - '%paths.base%/vendor/ibexa/behat/features/setup/loginMethods' - - '%paths.base%/vendor/ibexa/behat/features/setup/contentTranslation' - - '%paths.base%/vendor/ibexa/page-builder/features/setup/setup.feature' - - '%paths.base%/vendor/ibexa/product-catalog/features/setup/setup.feature' - - '%paths.base%/vendor/ibexa/corporate-account/features/setup/setup.feature' - - '%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/product-catalog-date-time-attribute/features/setup/setup.feature' - - '%paths.base%/vendor/ibexa/site-factory/features/setup.feature' - contexts: - - Ibexa\Behat\API\Context\ContentContext - - Ibexa\Behat\API\Context\ContentTypeContext - - Ibexa\Behat\API\Context\LanguageContext - - Ibexa\Behat\API\Context\RoleContext - - Ibexa\Behat\API\Context\TestContext - - Ibexa\Behat\API\Context\UserContext - - Ibexa\Behat\Core\Context\ConfigurationContext - - Ibexa\Behat\Core\Context\FileContext - - Ibexa\Migration\Behat\Context\MigrationContext - - Ibexa\Behat\Browser\Context\AuthenticationContext - - Ibexa\ProductCatalog\Behat\Context\CatalogsContext - - Ibexa\AdminUi\Behat\BrowserContext\ContentActionsMenuContext - - Ibexa\AdminUi\Behat\BrowserContext\ContentUpdateContext - - Ibexa\AdminUi\Behat\BrowserContext\AdminUpdateContext - - 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\ContentViewContext - - experience: - paths: - - '%paths.base%/vendor/ibexa/admin-ui/features/personas' - - '%paths.base%/vendor/ibexa/admin-ui/features/standard' - - '%paths.base%/vendor/ibexa/corporate-account/features/browser' - - '%paths.base%/vendor/ibexa/fieldtype-page/features/eventSource' - - '%paths.base%/vendor/ibexa/form-builder/features' - - '%paths.base%/vendor/ibexa/page-builder/features/DynamicLandingPage' - - '%paths.base%/vendor/ibexa/page-builder/features/personas' - - '%paths.base%/vendor/ibexa/product-catalog/features/browser' - - '%paths.base%/vendor/ibexa/scheduler/features' - - '%paths.base%/vendor/ibexa/segmentation/features' - - '%paths.base%/vendor/ibexa/taxonomy/features' - - '%paths.base%/vendor/ibexa/user/features/browser' - - '%paths.base%/vendor/ibexa/version-comparison/features' - - '%paths.base%/vendor/ibexa/workflow/features/browser' - - '%paths.base%/vendor/ibexa/connector-ai/features/browser' - - '%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/product-catalog-date-time-attribute/features/browser' - - '%paths.base%/vendor/ibexa/site-factory/features/SiteFactoryFrontend.feature' - filters: - tags: "~@broken&&@IbexaExperience" - contexts: - - Behat\MinkExtension\Context\MinkContext - - Ibexa\AdminUi\Behat\BrowserContext\AdminUpdateContext - - Ibexa\AdminUi\Behat\BrowserContext\BookmarkContext - - Ibexa\AdminUi\Behat\BrowserContext\ContentActionsMenuContext - - Ibexa\AdminUi\Behat\BrowserContext\ContentPreviewContext - - Ibexa\AdminUi\Behat\BrowserContext\ContentTreeContext - - Ibexa\AdminUi\Behat\BrowserContext\ContentTypeContext - - Ibexa\AdminUi\Behat\BrowserContext\ContentUpdateContext - - Ibexa\AdminUi\Behat\BrowserContext\ContentViewContext - - Ibexa\AdminUi\Behat\BrowserContext\DashboardContext - - Ibexa\AdminUi\Behat\BrowserContext\LanguageContext - - Ibexa\AdminUi\Behat\BrowserContext\MyDraftsContext - - Ibexa\AdminUi\Behat\BrowserContext\NavigationContext - - Ibexa\AdminUi\Behat\BrowserContext\NotificationContext - - Ibexa\AdminUi\Behat\BrowserContext\ObjectStatesContext - - Ibexa\AdminUi\Behat\BrowserContext\RolesContext - - Ibexa\AdminUi\Behat\BrowserContext\SearchContext - - Ibexa\AdminUi\Behat\BrowserContext\SectionsContext - - Ibexa\AdminUi\Behat\BrowserContext\SystemInfoContext - - Ibexa\AdminUi\Behat\BrowserContext\TrashContext - - Ibexa\AdminUi\Behat\BrowserContext\UDWContext - - Ibexa\AdminUi\Behat\BrowserContext\UserNotificationContext - - Ibexa\AdminUi\Behat\BrowserContext\UserPreferencesContext - - Ibexa\AdminUi\Behat\BrowserContext\UserProfileContext - - Ibexa\Behat\API\Context\ContentContext - - Ibexa\Behat\API\Context\ContentTypeContext - - Ibexa\Behat\API\Context\RoleContext - - Ibexa\Behat\API\Context\TestContext - - Ibexa\Behat\API\Context\TrashContext - - Ibexa\Behat\API\Context\UserContext - - Ibexa\Behat\Browser\Context\AuthenticationContext - - Ibexa\Behat\Browser\Context\DebuggingContext - - Ibexa\CorporateAccount\Behat\Context\CompaniesContext - - Ibexa\FieldTypePage\Behat\Context\BlockHideEventsSourceContext - - Ibexa\FieldTypePage\Behat\Context\BlockRevealEventsSourceContext - - Ibexa\FormBuilder\Behat\BrowserContext\FormAdministrationContext - - Ibexa\FormBuilder\Behat\BrowserContext\FormBuilderContext - - Ibexa\FormBuilder\Behat\BrowserContext\FormFieldConfigurationContext - - Ibexa\FormBuilder\Behat\BrowserContext\FormFrontContext - - Ibexa\Migration\Behat\Context\MigrationContext - - Ibexa\PageBuilder\Behat\Context\PageBuilderContext - - Ibexa\ProductCatalog\Behat\Context\AttributeGroupsContext - - Ibexa\ProductCatalog\Behat\Context\AttributesContext - - Ibexa\ProductCatalog\Behat\Context\CatalogsContext - - Ibexa\ProductCatalog\Behat\Context\CurrenciesContext - - Ibexa\ProductCatalog\Behat\Context\CustomerGroupsContext - - Ibexa\ProductCatalog\Behat\Context\ProductsContext - - Ibexa\ProductCatalog\Behat\Context\ProductTypesContext - - Ibexa\Scheduler\Behat\BrowserContext\DateBasedPublisherContext - - Ibexa\Segmentation\Behat\Context\SegmentationContext - - Ibexa\Taxonomy\Behat\Context\Browser\TaxonomyContext - - Ibexa\Taxonomy\Behat\Context\Service\TaxonomyContext - - Ibexa\User\Behat\Context\UserSettingsContext - - Ibexa\User\Behat\Context\UserSetupContext - - Ibexa\VersionComparison\Behat\Context\VersionComparisonContext - - Ibexa\Workflow\Behat\Context\WorkflowAdminContext - - Ibexa\Workflow\Behat\Context\WorkflowContext - - Ibexa\ConnectorOpenAi\Behat\Context\OpenAIContext - - Ibexa\ConnectorAi\Behat\Context\AIActionsContext - - Ibexa\ConnectorOpenAi\Behat\Context\AIAssistantContext - - Ibexa\ActivityLog\Behat\Context\ActivityLogContext - - Ibexa\IntegratedHelp\Behat\BrowserContext\IntegratedHelpContext - - Ibexa\ProductCatalogDateTimeAttribute\Behat\Context\DateTimeAttributeContext - - Ibexa\SiteFactory\Behat\Context\SiteFactoryFrontendContext diff --git a/behat_ibexa_headless.yaml b/behat_ibexa_headless.yaml deleted file mode 100644 index a3fafd14..00000000 --- a/behat_ibexa_headless.yaml +++ /dev/null @@ -1,101 +0,0 @@ -imports: - - behat_ibexa_oss.yaml - - vendor/ibexa/product-catalog/behat_suites.yml - - vendor/ibexa/scheduler/behat_suites_headless.yml - - vendor/ibexa/taxonomy/behat_suites_headless.yml - - vendor/ibexa/version-comparison/behat_suites.yml - - vendor/ibexa/workflow/behat_suites_headless.yml - -regression: - suites: - setup-headless: - paths: - - '%paths.base%/vendor/ibexa/behat/features/personas' - - '%paths.base%/vendor/ibexa/behat/features/setup/richtextConfiguration/custom_styles.feature' - - '%paths.base%/vendor/ibexa/behat/features/setup/richtextConfiguration/custom_tags.feature' - - '%paths.base%/vendor/ibexa/workflow/features/setup/setup_headless.feature' - - '%paths.base%/vendor/ibexa/behat/features/setup/loginMethods' - - '%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/product-catalog-date-time-attribute/features/setup/setup.feature' - contexts: - - Ibexa\Behat\API\Context\ContentContext - - Ibexa\Behat\API\Context\ContentTypeContext - - Ibexa\Behat\API\Context\RoleContext - - Ibexa\Behat\API\Context\TestContext - - Ibexa\Behat\API\Context\UserContext - - Ibexa\Behat\Core\Context\ConfigurationContext - - Ibexa\Behat\Core\Context\FileContext - - Ibexa\Behat\API\Context\LanguageContext - - Ibexa\Migration\Behat\Context\MigrationContext - headless: - paths: - - '%paths.base%/vendor/ibexa/admin-ui/features/personas' - - '%paths.base%/vendor/ibexa/admin-ui/features/standard' - - '%paths.base%/vendor/ibexa/product-catalog/features/browser' - - '%paths.base%/vendor/ibexa/scheduler/features' - - '%paths.base%/vendor/ibexa/taxonomy/features' - - '%paths.base%/vendor/ibexa/user/features/browser' - - '%paths.base%/vendor/ibexa/version-comparison/features' - - '%paths.base%/vendor/ibexa/workflow/features/browser' - - '%paths.base%/vendor/ibexa/connector-ai/features/browser' - - '%paths.base%/vendor/ibexa/connector-openai/features/browser' - - '%paths.base%/vendor/ibexa/integrated-help/features/browser' - - '%paths.base%/vendor/ibexa/product-catalog-date-time-attribute/features/browser' - filters: - tags: "~@broken&&@IbexaHeadless" - contexts: - - Behat\MinkExtension\Context\MinkContext - - Ibexa\AdminUi\Behat\BrowserContext\AdminUpdateContext - - Ibexa\AdminUi\Behat\BrowserContext\BookmarkContext - - Ibexa\AdminUi\Behat\BrowserContext\ContentActionsMenuContext - - Ibexa\AdminUi\Behat\BrowserContext\ContentPreviewContext - - Ibexa\AdminUi\Behat\BrowserContext\ContentTreeContext - - Ibexa\AdminUi\Behat\BrowserContext\ContentTypeContext - - Ibexa\AdminUi\Behat\BrowserContext\ContentUpdateContext - - Ibexa\AdminUi\Behat\BrowserContext\ContentViewContext - - Ibexa\AdminUi\Behat\BrowserContext\DashboardContext - - Ibexa\AdminUi\Behat\BrowserContext\LanguageContext - - Ibexa\AdminUi\Behat\BrowserContext\MyDraftsContext - - Ibexa\AdminUi\Behat\BrowserContext\NavigationContext - - Ibexa\AdminUi\Behat\BrowserContext\NotificationContext - - Ibexa\AdminUi\Behat\BrowserContext\ObjectStatesContext - - Ibexa\AdminUi\Behat\BrowserContext\RolesContext - - Ibexa\AdminUi\Behat\BrowserContext\SearchContext - - Ibexa\AdminUi\Behat\BrowserContext\SectionsContext - - Ibexa\AdminUi\Behat\BrowserContext\SystemInfoContext - - Ibexa\AdminUi\Behat\BrowserContext\TrashContext - - Ibexa\AdminUi\Behat\BrowserContext\UDWContext - - Ibexa\AdminUi\Behat\BrowserContext\UserNotificationContext - - Ibexa\AdminUi\Behat\BrowserContext\UserPreferencesContext - - Ibexa\AdminUi\Behat\BrowserContext\UserProfileContext - - Ibexa\Behat\API\Context\ContentContext - - Ibexa\Behat\API\Context\ContentTypeContext - - Ibexa\Behat\API\Context\RoleContext - - Ibexa\Behat\API\Context\TestContext - - Ibexa\Behat\API\Context\TrashContext - - Ibexa\Behat\API\Context\UserContext - - Ibexa\Behat\Browser\Context\AuthenticationContext - - Ibexa\Behat\Browser\Context\DebuggingContext - - Ibexa\Migration\Behat\Context\MigrationContext - - Ibexa\ProductCatalog\Behat\Context\AttributeGroupsContext - - Ibexa\ProductCatalog\Behat\Context\AttributesContext - - Ibexa\ProductCatalog\Behat\Context\CatalogsContext - - Ibexa\ProductCatalog\Behat\Context\CurrenciesContext - - Ibexa\ProductCatalog\Behat\Context\CustomerGroupsContext - - Ibexa\ProductCatalog\Behat\Context\ProductsContext - - Ibexa\ProductCatalog\Behat\Context\ProductTypesContext - - Ibexa\Scheduler\Behat\BrowserContext\DateBasedPublisherContext - - Ibexa\Taxonomy\Behat\Context\Browser\TaxonomyContext - - Ibexa\Taxonomy\Behat\Context\Service\TaxonomyContext - - Ibexa\User\Behat\Context\UserSettingsContext - - Ibexa\User\Behat\Context\UserSetupContext - - Ibexa\VersionComparison\Behat\Context\VersionComparisonContext - - Ibexa\Workflow\Behat\Context\WorkflowAdminContext - - Ibexa\Workflow\Behat\Context\WorkflowContext - - Ibexa\ConnectorOpenAi\Behat\Context\OpenAIContext - - Ibexa\ConnectorAi\Behat\Context\AIActionsContext - - Ibexa\IntegratedHelp\Behat\BrowserContext\IntegratedHelpContext - - Ibexa\ConnectorOpenAi\Behat\Context\AIAssistantContext - - Ibexa\ProductCatalogDateTimeAttribute\Behat\Context\DateTimeAttributeContext diff --git a/behat_ibexa_oss.yaml b/behat_ibexa_oss.yaml deleted file mode 100644 index af6893e8..00000000 --- a/behat_ibexa_oss.yaml +++ /dev/null @@ -1,106 +0,0 @@ -imports: - - vendor/ibexa/behat/behat_suites.yml - - vendor/ibexa/admin-ui/behat_suites.yml - - vendor/ibexa/content-forms/behat_suites.yml - - vendor/ibexa/http-cache/behat_suites.yml - - vendor/ibexa/core/src/bundle/Core/behat_suites.yaml - - vendor/ibexa/user/behat_suites.yml - -default: - calls: - error_reporting: 22527 # E_ALL & ~E_DEPRECATED & ~E_STRICT - gherkin: - cache: false - formatters: - pretty: true - extensions: - Behat\MinkExtension: - files_path: '%paths.base%/vendor/ibexa/behat/src/lib/Behat/TestFiles/' - base_url: '%env(string:WEB_HOST)%' - browserkit_http: ~ - javascript_session: 'selenium' - sessions: - selenium: - webdriver_classic: - browser: chrome - wd_host: '%env(string:SELENIUM_HOST)%' - capabilities: - goog:chromeOptions: - args: - - "--no-sandbox" - # problem with different iframe host - https://bugs.chromium.org/p/chromedriver/issues/detail?id=2758 - - "--disable-features=site-per-process" - - "--disable-renderer-backgrounding" - - "--disable-background-timer-throttling" - - "--disable-backgrounding-occluded-windows" - - FriendsOfBehat\SymfonyExtension: - bootstrap: 'tests/bootstrap.php' - - Ibexa\Bundle\Behat\IbexaExtension: - mink: - default_javascript_session: '%env(string:MINK_DEFAULT_SESSION)%' - width: 1440 - height: 1080 - - - suites: ~ - -regression: - suites: - setup-oss: - paths: - - '%paths.base%/vendor/ibexa/behat/features/personas' - - '%paths.base%/vendor/ibexa/behat/features/setup/richtextConfiguration/custom_styles.feature' - - '%paths.base%/vendor/ibexa/behat/features/setup/richtextConfiguration/custom_tags.feature' - - '%paths.base%/vendor/ibexa/behat/features/setup/loginMethods' - - '%paths.base%/vendor/ibexa/behat/features/setup/contentTranslation' - contexts: - - Ibexa\Behat\API\Context\ContentContext - - Ibexa\Behat\API\Context\ContentTypeContext - - Ibexa\Behat\API\Context\RoleContext - - Ibexa\Behat\API\Context\TestContext - - Ibexa\Behat\API\Context\UserContext - - Ibexa\Behat\Core\Context\ConfigurationContext - - Ibexa\Behat\Core\Context\FileContext - - Ibexa\Behat\API\Context\LanguageContext - oss: - paths: - - '%paths.base%/vendor/ibexa/admin-ui/features/personas' - - '%paths.base%/vendor/ibexa/admin-ui/features/standard' - - '%paths.base%/vendor/ibexa/user/features/browser' - filters: - tags: "~@broken&&@IbexaOSS" - contexts: - - Behat\MinkExtension\Context\MinkContext - - Ibexa\Behat\API\Context\ContentContext - - Ibexa\Behat\API\Context\ContentTypeContext - - Ibexa\Behat\API\Context\RoleContext - - Ibexa\Behat\API\Context\TestContext - - Ibexa\Behat\API\Context\TrashContext - - Ibexa\Behat\API\Context\UserContext - - Ibexa\AdminUi\Behat\BrowserContext\AdminUpdateContext - - Ibexa\AdminUi\Behat\BrowserContext\BookmarkContext - - Ibexa\AdminUi\Behat\BrowserContext\ContentActionsMenuContext - - Ibexa\AdminUi\Behat\BrowserContext\ContentPreviewContext - - Ibexa\AdminUi\Behat\BrowserContext\ContentTreeContext - - Ibexa\AdminUi\Behat\BrowserContext\ContentTypeContext - - Ibexa\AdminUi\Behat\BrowserContext\ContentUpdateContext - - Ibexa\AdminUi\Behat\BrowserContext\ContentViewContext - - Ibexa\AdminUi\Behat\BrowserContext\DashboardContext - - Ibexa\AdminUi\Behat\BrowserContext\LanguageContext - - Ibexa\AdminUi\Behat\BrowserContext\NavigationContext - - Ibexa\AdminUi\Behat\BrowserContext\NotificationContext - - Ibexa\AdminUi\Behat\BrowserContext\ObjectStatesContext - - Ibexa\AdminUi\Behat\BrowserContext\RolesContext - - Ibexa\AdminUi\Behat\BrowserContext\SearchContext - - Ibexa\AdminUi\Behat\BrowserContext\SectionsContext - - Ibexa\AdminUi\Behat\BrowserContext\SystemInfoContext - - Ibexa\AdminUi\Behat\BrowserContext\TrashContext - - Ibexa\AdminUi\Behat\BrowserContext\UDWContext - - Ibexa\AdminUi\Behat\BrowserContext\UserPreferencesContext - - Ibexa\Behat\Browser\Context\AuthenticationContext - - Ibexa\Behat\Browser\Context\DebuggingContext - - Ibexa\User\Behat\Context\UserSettingsContext - - Ibexa\User\Behat\Context\UserSetupContext - - Ibexa\AdminUi\Behat\BrowserContext\MyDraftsContext diff --git a/behat_suites.yml b/behat_suites.yml deleted file mode 100644 index d6989ae4..00000000 --- a/behat_suites.yml +++ /dev/null @@ -1,88 +0,0 @@ -service: - suites: - examples: - paths: - - '%paths.base%/vendor/ibexa/behat/features/examples' - contexts: - - Ibexa\Behat\API\Context\ContentContext - - Ibexa\Behat\API\Context\ContentTypeContext - - Ibexa\Behat\API\Context\LanguageContext - - Ibexa\Behat\API\Context\ObjectStateContext - - Ibexa\Behat\API\Context\RoleContext - - Ibexa\Behat\API\Context\TestContext - - Ibexa\Behat\API\Context\UserContext - - Ibexa\Behat\Core\Context\ConfigurationContext - -setup: - suites: - volume-testing: - paths: - - vendor/ibexa/behat/features/setup/volume/ - contexts: - - Ibexa\Behat\API\Context\ContentContext - - Ibexa\Behat\API\Context\ContentTypeContext - - Ibexa\Behat\API\Context\LanguageContext - - Ibexa\Behat\API\Context\RoleContext - - Ibexa\Behat\API\Context\TestContext - - Ibexa\Behat\API\Context\UserContext - richtext-configuration: - paths: - - vendor/ibexa/behat/features/setup/richtextConfiguration/custom_tags.feature - - vendor/ibexa/behat/features/setup/richtextConfiguration/custom_styles.feature - contexts: - - Ibexa\Behat\Core\Context\ConfigurationContext - - Ibexa\Behat\Core\Context\FileContext - personas: - paths: - - '%paths.base%/vendor/ibexa/behat/features/personas' - contexts: - - Ibexa\Behat\API\Context\ContentContext - - Ibexa\Behat\API\Context\ContentTypeContext - - Ibexa\Behat\API\Context\RoleContext - - Ibexa\Behat\API\Context\TestContext - - Ibexa\Behat\API\Context\UserContext - URIElement: - paths: - - '%paths.base%/vendor/ibexa/behat/features/setup/siteaccessMatcher/URIElement.feature' - contexts: - - Ibexa\Behat\API\Context\LanguageContext - - Ibexa\Behat\API\Context\TestContext - - Ibexa\Behat\Core\Context\ConfigurationContext - MapHost: - paths: - - '%paths.base%/vendor/ibexa/behat/features/setup/siteaccessMatcher/MapHost.feature' - contexts: - - Ibexa\Behat\API\Context\LanguageContext - - Ibexa\Behat\API\Context\TestContext - - Ibexa\Behat\Core\Context\ConfigurationContext - MapURI: - paths: - - '%paths.base%/vendor/ibexa/behat/features/setup/siteaccessMatcher/MapURI.feature' - contexts: - - Ibexa\Behat\API\Context\LanguageContext - - Ibexa\Behat\API\Context\TestContext - - Ibexa\Behat\Core\Context\ConfigurationContext - CompoundMapURIMapHost: - paths: - - '%paths.base%/vendor/ibexa/behat/features/setup/siteaccessMatcher/CompoundMapURIMapHost.feature' - contexts: - - Ibexa\Behat\API\Context\LanguageContext - - Ibexa\Behat\API\Context\TestContext - - Ibexa\Behat\Core\Context\ConfigurationContext - multirepository: - paths: - - '%paths.base%/vendor/ibexa/behat/features/setup/multirepository' - contexts: - - Ibexa\Behat\Core\Context\ConfigurationContext - login-methods: - paths: - - '%paths.base%/vendor/ibexa/behat/features/setup/loginMethods' - contexts: - - Ibexa\Behat\Core\Context\ConfigurationContext - content-translation: - paths: - - '%paths.base%/vendor/ibexa/behat/features/setup/contentTranslation' - contexts: - - Ibexa\Behat\Core\Context\ConfigurationContext - - Ibexa\Behat\API\Context\LanguageContext - - Ibexa\Behat\API\Context\TestContext diff --git a/bin/.travis/prepare_multirepository_setup.sh b/bin/.travis/prepare_multirepository_setup.sh index 0d768b81..d2d0ee28 100755 --- a/bin/.travis/prepare_multirepository_setup.sh +++ b/bin/.travis/prepare_multirepository_setup.sh @@ -9,7 +9,7 @@ docker-compose exec -T --user www-data app sh -c "php bin/console doctrine:datab docker-compose exec -T --user www-data app sh -c 'php bin/console cache:pool:clear ${CACHE_POOL:-cache.tagaware.filesystem}' # Run setup -docker-compose exec -T --user www-data app sh -c "vendor/bin/ibexabehat --mode=standard --profile=setup --suite=multirepository -c=\$([ -f behat_ibexa_oss.php ] && echo behat_ibexa_oss.php || echo behat_ibexa_oss.yaml)" +docker-compose exec -T --user www-data app sh -c "vendor/bin/ibexabehat --mode=standard --profile=setup --suite=multirepository -c=behat_ibexa_oss.php" docker-compose exec -T --user www-data app sh -c "composer run post-install-cmd" # Reinstal database using the new repository diff --git a/doc/running_tests.md b/doc/running_tests.md index e98fe804..95918408 100644 --- a/doc/running_tests.md +++ b/doc/running_tests.md @@ -4,7 +4,7 @@ In order to use ibexa/behat you need to use `behat` Symfony environment (which is defined in Ibexa by default). It is also recommended to run in enabled debug mode, which gives you more detailed browser screenshots in case of failure. -The standard behat configuration file is [behat_ibexa_oss.php](https://github.com/ibexa/behat/blob/6.0/behat_ibexa_oss.php), located in ibexa/behat directory (a YAML twin, `behat_ibexa_oss.yaml`, is kept for the transition to Behat 4 and will be removed). There you can: +The standard behat configuration file is [behat_ibexa_oss.php](https://github.com/ibexa/behat/blob/6.0/behat_ibexa_oss.php), located in ibexa/behat directory. There you can: - in the `Behat\MinkExtension` section: - set the URL of your website for browser testing (`base_url` parameter) - set driver configuration (for example `wd_host` for Selenium Server) @@ -28,7 +28,7 @@ Where: - 5900 is the port where the VNC client is accessible (to preview running tests) - shm-size is related to Chrome containers requiring more memory (see [Selenium container configuration](https://github.com/ibexa/docker/blob/main/docker/selenium.yml#L19)) -After the container is set up correctly you need to adjust the configuration of the `webdriver_classic` driver (`sessions.selenium` in `behat_ibexa_oss.yaml`, `wd_host` set via `SELENIUM_HOST`) +After the container is set up correctly you need to adjust the configuration of the `webdriver_classic` driver (the `selenium` session in `behat_ibexa_oss.php`, `wd_host` set via `SELENIUM_HOST`) ## Running tests @@ -52,7 +52,7 @@ Running Behat feature files in parallel (on the available number of CPUs) is the ## Existing test profiles and suites -By convention profiles and suites are defined in the `behat_suites.yml` file in each bundle, if they exist. See [Behat suites](../behat_suites.yml) and [AdminUI suites](https://github.com/ibexa/admin-ui/blob/main/behat_suites.yml) for examples. +By convention profiles and suites are defined in the `behat_suites.php` file in each bundle, if they exist. See [Behat suites](../behat_suites.php) and [AdminUI suites](https://github.com/ibexa/admin-ui/blob/6.0/behat_suites.php) for examples. In order to run them, execute: - `bin/ibexabehat --profile=behat --suite=examples` (behat usage examples)