From 83e1da5dc7c7212551dfad26b662e66dd97fe9f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Chru=C5=9Bciel?= Date: Tue, 12 Apr 2016 17:51:09 +0200 Subject: [PATCH] [Behat] [DX] Renaming locale tag --- etc/behat/services/contexts/ui.xml | 4 ++-- .../suites/ui/{locale.yml => locale/managing_locales.yml} | 6 +++--- features/locale/managing_locales/adding_locale.feature | 2 +- features/locale/managing_locales/editing_locale.feature | 2 +- .../managing_locales/locale_unique_code_validation.feature | 2 +- features/locale/managing_locales/locale_validation.feature | 2 +- features/locale/managing_locales/toggling_locale.feature | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) rename etc/behat/suites/ui/{locale.yml => locale/managing_locales.yml} (72%) diff --git a/etc/behat/services/contexts/ui.xml b/etc/behat/services/contexts/ui.xml index e2461305b6..ed226ece56 100644 --- a/etc/behat/services/contexts/ui.xml +++ b/etc/behat/services/contexts/ui.xml @@ -17,7 +17,7 @@ Sylius\Behat\Context\Ui\Admin\ManagingCountriesContext Sylius\Behat\Context\Ui\Admin\ManagingCurrenciesContext Sylius\Behat\Context\Ui\Admin\ManagingCustomersContext - Sylius\Behat\Context\Ui\Admin\ManagingLocalesContext + Sylius\Behat\Context\Ui\Admin\ManagingLocalesContext Sylius\Behat\Context\Ui\Admin\ManagingPaymentMethodsContext Sylius\Behat\Context\Ui\Admin\ManagingPromotionsContext Sylius\Behat\Context\Ui\Admin\ManagingShippingMethodsContext @@ -71,7 +71,7 @@ - + diff --git a/etc/behat/suites/ui/locale.yml b/etc/behat/suites/ui/locale/managing_locales.yml similarity index 72% rename from etc/behat/suites/ui/locale.yml rename to etc/behat/suites/ui/locale/managing_locales.yml index b363d6ad6e..f12beb658c 100644 --- a/etc/behat/suites/ui/locale.yml +++ b/etc/behat/suites/ui/locale/managing_locales.yml @@ -3,7 +3,7 @@ default: suites: - ui_locale: + ui_managing_locales: contexts_as_services: - sylius.behat.context.hook.doctrine_orm @@ -12,6 +12,6 @@ default: - sylius.behat.context.setup.locale - sylius.behat.context.setup.security - - sylius.behat.context.ui.admin.managing_locale + - sylius.behat.context.ui.admin.managing_locales filters: - tags: "@locale && @ui" + tags: "@managing_locales && @ui" diff --git a/features/locale/managing_locales/adding_locale.feature b/features/locale/managing_locales/adding_locale.feature index 8d1935dcdf..ee0b4fded8 100644 --- a/features/locale/managing_locales/adding_locale.feature +++ b/features/locale/managing_locales/adding_locale.feature @@ -1,4 +1,4 @@ -@locale +@managing_locales Feature: Adding a new locale In order to provide service to my customers in their preferred language As an Administrator diff --git a/features/locale/managing_locales/editing_locale.feature b/features/locale/managing_locales/editing_locale.feature index c0edc51976..af32cdc22d 100644 --- a/features/locale/managing_locales/editing_locale.feature +++ b/features/locale/managing_locales/editing_locale.feature @@ -1,4 +1,4 @@ -@locale +@managing_locales Feature: Editing a locale In order to enable or disable locales As an Administrator diff --git a/features/locale/managing_locales/locale_unique_code_validation.feature b/features/locale/managing_locales/locale_unique_code_validation.feature index ecf7411584..7e50c6a97b 100644 --- a/features/locale/managing_locales/locale_unique_code_validation.feature +++ b/features/locale/managing_locales/locale_unique_code_validation.feature @@ -1,4 +1,4 @@ -@locale +@managing_locales Feature: Locale unique code validation In order to avoid making mistakes when managing locales As an Administrator diff --git a/features/locale/managing_locales/locale_validation.feature b/features/locale/managing_locales/locale_validation.feature index 0b41f44831..517a9efa48 100644 --- a/features/locale/managing_locales/locale_validation.feature +++ b/features/locale/managing_locales/locale_validation.feature @@ -1,4 +1,4 @@ -@locale +@managing_locales Feature: Locale validation In order to avoid making mistakes when managing locales As an Administrator diff --git a/features/locale/managing_locales/toggling_locale.feature b/features/locale/managing_locales/toggling_locale.feature index 46fb2c344c..11f9892d4b 100644 --- a/features/locale/managing_locales/toggling_locale.feature +++ b/features/locale/managing_locales/toggling_locale.feature @@ -1,4 +1,4 @@ -@locale +@managing_locales Feature: Toggling a locale In order to change locales in which the service is available to my customers As an Administrator