[API] Exclude meaningless scenarios

This commit is contained in:
Łukasz Chruściel 2021-07-22 17:15:39 +02:00
parent df95768dec
commit 8c3204b373
No known key found for this signature in database
GPG key ID: 049A1D51AA3B039C
7 changed files with 13 additions and 13 deletions

View file

@ -10,13 +10,13 @@ Feature: Multi-channel support
And the store operates on another channel named "United States"
And there is product "Banana" available in that channel
@ui
@ui @no-api
Scenario:
When I change my current channel to "Poland"
Then I should be able to access product "Onion"
But I should not be able to access product "Banana"
@ui
@ui @no-api
Scenario:
When I change my current channel to "United States"
Then I should be able to access product "Banana"

View file

@ -9,13 +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
@ui @no-api
Scenario: Displaying default shop homepage
Given channel "United States" does not use any theme
When I visit this channel's homepage
Then I should not see a homepage from "maverick/meerkat" theme
@ui
@ui @no-api
Scenario: Displaying themed shop homepage
Given channel "United States" uses "maverick/meerkat" theme
When I visit this channel's homepage

View file

@ -9,17 +9,17 @@ Feature: Managing themes per channel
And the store has "maverick/meerkat" theme
And I am logged in as an administrator
@ui
@ui @no-api
Scenario: None of the themes are used by default
When I create a new channel "Poland"
Then that channel should not use any theme
@ui
@ui @no-api
Scenario: Setting a theme on a channel
When I set "United States" channel theme to "maverick/meerkat"
Then that channel should use that theme
@ui
@ui @no-api
Scenario: Unsetting a channel theme
Given channel "United States" uses "maverick/meerkat" theme
When I unset theme on that channel

View file

@ -9,13 +9,13 @@ Feature: Overriding plugin template with a theme
And the store has "johnny/cash" theme
And this theme changes plugin main template's content to "Ring of Fire"
@ui
@ui @no-api
Scenario: Displaying default plugin main template
Given channel "United States" does not use any theme
When I visit plugin's main page
Then I should see a plugin's main page with content "I Walk the Line"
@ui
@ui @no-api
Scenario: Displaying themed plugin main template
Given channel "United States" uses "johnny/cash" theme
When I visit plugin's main page

View file

@ -23,7 +23,7 @@ Feature: Handling different currencies on multiple channels
And I start browsing the "Mobile" channel
Then I should shop using the "USD" currency
@ui
@ui @no-api
Scenario: Switching a currency applies only to the current channel
When I browse the "Web" channel
And I switch to the "GBP" currency

View file

@ -18,7 +18,7 @@ Feature: Switching the current currency
When I browse that channel
Then I should be able to shop using the "USD" currency
@ui
@ui @no-api
Scenario: Switching the current currency
When I browse that channel
And I switch to the "USD" currency

View file

@ -10,12 +10,12 @@ Feature: Displaying inventory tab on simple product edit page
And the store has a "PHP T-shirt" configurable product
And I am logged in as an administrator
@ui
@ui @no-api
Scenario: Seeing inventory on simple product edit page
When I want to modify the "PHP Mug" product
Then I should see inventory of this product
@ui
@ui @no-api
Scenario: Not seeing inventory on configurable product edit page
When I want to modify the "PHP T-shirt" product
Then I should not see inventory of this product