diff --git a/behat_suites.php b/behat_suites.php new file mode 100644 index 0000000..5bc04b3 --- /dev/null +++ b/behat_suites.php @@ -0,0 +1,77 @@ +withProfile((new Profile('httpCache')) + ->withSuite((new Suite('symfonycache')) + ->withContexts(...$browserContexts) + ->withPaths('%paths.base%/vendor/ibexa/http-cache/features/symfony')) + ->withSuite((new Suite('varnish6')) + ->withContexts(...$browserContexts) + ->withPaths($varnishFeaturesPath) + ->withFilter(new TagFilter('@varnish6&&~@translationAware'))) + ->withSuite((new Suite('varnish6-translation-aware')) + ->withContexts(...$browserContexts) + ->withPaths($varnishFeaturesPath) + ->withFilter(new TagFilter('@varnish6&&~@translationNotAware'))) + ->withSuite((new Suite('varnish7')) + ->withContexts(...$browserContexts) + ->withPaths($varnishFeaturesPath) + ->withFilter(new TagFilter('@varnish7&&~@translationAware'))) + ->withSuite((new Suite('varnish7-translation-aware')) + ->withContexts(...$browserContexts) + ->withPaths($varnishFeaturesPath) + ->withFilter(new TagFilter('@varnish7&&~@translationNotAware'))) + ->withSuite((new Suite('setup')) + ->withContexts( + TestContext::class, + ContentTypeContext::class, + ConfigurationContext::class, + ContentContext::class, + LanguageContext::class + ) + ->withPaths('%paths.base%/vendor/ibexa/http-cache/features/setup/setup.feature')) + ->withSuite((new Suite('setup-token')) + ->withContexts(ConfigurationContext::class) + ->withPaths('%paths.base%/vendor/ibexa/http-cache/features/setup/invalidateToken.feature')) + ->withSuite((new Suite('setup-symfony-cache')) + ->withContexts(FileContext::class) + ->withPaths('%paths.base%/vendor/ibexa/http-cache/features/setup/symfonyCache.feature')) + ->withSuite((new Suite('setup-translation-aware')) + ->withContexts(ConfigurationContext::class) + ->withPaths('%paths.base%/vendor/ibexa/http-cache/features/setup/translationAware.feature')));