mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 09:02:12 +00:00
[Behat] [DX] Renaming channel tag
This commit is contained in:
parent
eca1e4564b
commit
e69cf1f6da
5 changed files with 30 additions and 6 deletions
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
default:
|
||||
suites:
|
||||
ui_channel:
|
||||
ui_products_accessibility_in_multiple_channels:
|
||||
contexts_as_services:
|
||||
- sylius.behat.context.hook.doctrine_orm
|
||||
|
||||
|
|
@ -19,4 +19,4 @@ default:
|
|||
- sylius.behat.context.ui.product
|
||||
|
||||
filters:
|
||||
tags: "@channel && @ui"
|
||||
tags: "@products_accessibility_in_multiple_channels && @ui"
|
||||
22
etc/behat/suites/ui/channel/theming.yml
Normal file
22
etc/behat/suites/ui/channel/theming.yml
Normal 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"
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
@channel
|
||||
Feature: Fake multi-channel support
|
||||
@products_accessibility_in_multiple_channels
|
||||
Feature: Multi-channel support
|
||||
In order to see how my store looks on a different channels
|
||||
As a Developer
|
||||
I want to change between channels with ease
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
@theme @ui
|
||||
@theming
|
||||
Feature: Displaying themed channel website
|
||||
In order to easily distinguish stores
|
||||
As an Visitor
|
||||
|
|
@ -9,11 +9,13 @@ Feature: Displaying themed channel website
|
|||
And the store has "Maverick Meerkat" theme
|
||||
And this theme changes homepage template contents to "Onions and bananas"
|
||||
|
||||
@ui
|
||||
Scenario: Displaying default shop homepage
|
||||
Given channel "France" does not use any theme
|
||||
When I visit this channel's homepage
|
||||
Then I should not see a homepage from "Maverick Meerkat" theme
|
||||
|
||||
@ui
|
||||
Scenario: Displaying themed shop homepage
|
||||
Given channel "France" uses "Maverick Meerkat" theme
|
||||
When I visit this channel's homepage
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
@theme
|
||||
@theming
|
||||
Feature: Managing themes per channel
|
||||
In order to allow customizing channels' appearance
|
||||
As a store owner
|
||||
Loading…
Add table
Reference in a new issue