[Behat] [DX] Renaming channel tag

This commit is contained in:
Łukasz Chruściel 2016-04-13 13:17:07 +02:00
parent eca1e4564b
commit e69cf1f6da
5 changed files with 30 additions and 6 deletions

View file

@ -3,7 +3,7 @@
default: default:
suites: suites:
ui_channel: ui_products_accessibility_in_multiple_channels:
contexts_as_services: contexts_as_services:
- sylius.behat.context.hook.doctrine_orm - sylius.behat.context.hook.doctrine_orm
@ -19,4 +19,4 @@ default:
- sylius.behat.context.ui.product - sylius.behat.context.ui.product
filters: filters:
tags: "@channel && @ui" tags: "@products_accessibility_in_multiple_channels && @ui"

View file

@ -0,0 +1,22 @@
# This file is part of the Sylius package.
# (c) Paweł Jędrzejewski
default:
suites:
ui_theming:
contexts_as_services:
- sylius.behat.context.hook.doctrine_orm
- sylius.behat.context.transform.shared_storage
- sylius.behat.context.transform.channel
- sylius.behat.context.transform.theme
- sylius.behat.context.setup.channel
- sylius.behat.context.setup.security
- sylius.behat.context.setup.theme
- sylius.behat.context.ui.channel
- sylius.behat.context.ui.theme
filters:
tags: "@theming && @ui"

View file

@ -1,5 +1,5 @@
@channel @products_accessibility_in_multiple_channels
Feature: Fake multi-channel support Feature: Multi-channel support
In order to see how my store looks on a different channels In order to see how my store looks on a different channels
As a Developer As a Developer
I want to change between channels with ease I want to change between channels with ease

View file

@ -1,4 +1,4 @@
@theme @ui @theming
Feature: Displaying themed channel website Feature: Displaying themed channel website
In order to easily distinguish stores In order to easily distinguish stores
As an Visitor As an Visitor
@ -9,11 +9,13 @@ Feature: Displaying themed channel website
And the store has "Maverick Meerkat" theme And the store has "Maverick Meerkat" theme
And this theme changes homepage template contents to "Onions and bananas" And this theme changes homepage template contents to "Onions and bananas"
@ui
Scenario: Displaying default shop homepage Scenario: Displaying default shop homepage
Given channel "France" does not use any theme Given channel "France" does not use any theme
When I visit this channel's homepage When I visit this channel's homepage
Then I should not see a homepage from "Maverick Meerkat" theme Then I should not see a homepage from "Maverick Meerkat" theme
@ui
Scenario: Displaying themed shop homepage Scenario: Displaying themed shop homepage
Given channel "France" uses "Maverick Meerkat" theme Given channel "France" uses "Maverick Meerkat" theme
When I visit this channel's homepage When I visit this channel's homepage

View file

@ -1,4 +1,4 @@
@theme @theming
Feature: Managing themes per channel Feature: Managing themes per channel
In order to allow customizing channels' appearance In order to allow customizing channels' appearance
As a store owner As a store owner