Skip to content

Commit

Permalink
[Maintenance][API] Marking more inapplicable scenarios with no-api
Browse files Browse the repository at this point in the history
  • Loading branch information
NoResponseMate committed Dec 6, 2023
1 parent ff7ba12 commit 4816d27
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Feature: Redirecting on login page
Given the store operates on a single channel in "United States"
And I have been logged out from administration

@ui
@ui @no-api
Scenario: Redirecting on login page after being logout
When I try to open administration dashboard
Then I should be on login page
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,22 @@ Feature: Clearing cart after logging out
Given the store operates on a single channel in "United States"
And the store has a product "Stark T-Shirt" priced at "$12.00"

@ui
@ui @no-api
Scenario: Clearing cart after logging out
Given I am a logged in customer
And I have product "Stark T-Shirt" in the cart
When I log out
And I see the summary of my cart
Then my cart should be empty

@api
@api @no-ui
Scenario: Clearing cart after logging out
Given I am a logged in customer
And I have product "Stark T-Shirt" in the cart
When I log out
Then I should not have access to the summary of my previous cart

@api
@api @no-ui
Scenario: Blocking access to cart if logged user did any action over it (what can be treated as signing it)
Given there is a user "john@snow.com"
When I add this product to the cart
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Feature: Editing a currency
Background:
Given I am logged in as an administrator

@ui
@ui @no-api
Scenario: Seeing disabled code field while editing currency
Given the store has currency "Euro"
When I want to edit this currency
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ Feature: Browsing inventory
And there are 5 units of product "Iron Maiden T-Shirt" available in the inventory
And I am logged in as an administrator

@ui
@ui @no-api
Scenario: Browsing only tracked product variants in the store
When I want to browse inventory
Then I should see only one tracked variant in the list

@ui
@ui @no-api
Scenario: Being informed about on hand quantity of a product variant
When I want to browse inventory
Then I should see that the "Iron Maiden T-Shirt" variant has 5 quantity on hand
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Feature: Filtering inventory by code
And there are 25 units of product "RHCP T-Shirt" available in the inventory
And I am logged in as an administrator

@ui
@ui @no-api
Scenario: Filtering tracked product variants by code
When I want to browse inventory
And I filter tracked variants with code containing "iron"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Feature: Filtering inventory by name
And there are 25 units of product "RHCP T-Shirt" available in the inventory
And I am logged in as an administrator

@ui
@ui @no-api
Scenario: Filtering tracked product variants by name
When I want to browse inventory
And I filter tracked variants with name containing "RHCP"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Feature: Adding product review as a customer
And I add it
Then I should be notified that my review is waiting for the acceptation

@ui
@ui @no-api
Scenario: Adding product reviews as a logged in customer with remember me option
Given I am a logged in customer by using remember me option
When I want to review product "Necronomicon"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ Feature: Accessing the coupons management from the promotion page
And it is a coupon based promotion
And I am logged in as an administrator

@ui
@ui @no-api
Scenario: Being able to manage promotion's coupons
When I modify a "Christmas sale" promotion
And I want to manage this promotion coupons
Then I should be on this promotion's coupons management page

@ui
@ui @no-api
Scenario: Add new promotion and not being able to manage promotion's coupons
When I create a new promotion
And I specify its code as "FULL_METAL_PROMOTION"
Expand Down
10 changes: 5 additions & 5 deletions features/taxonomy/managing_taxons/reordering_taxon.feature
Original file line number Diff line number Diff line change
Expand Up @@ -8,37 +8,37 @@ Feature: Reordering taxons
Given the store classifies its products as "T-Shirts", "Watches", "Belts" and "Wallets"
And I am logged in as an administrator

@ui @javascript
@ui @javascript @no-api
Scenario: Moving up the taxon on list
When I want to see all taxons in store
And I move up "Watches" taxon
Then I should see 4 taxons on the list
And I should see the taxon named "T-Shirts" in the list
But the first taxon on the list should be "Watches"

@ui @javascript
@ui @javascript @no-api
Scenario: Moving down the taxon on list
When I want to see all taxons in store
And I move down "T-Shirts" taxon
Then I should see 4 taxons on the list
And I should see the taxon named "Watches" in the list
But the first taxon on the list should be "Watches"

@ui @javascript
@ui @javascript @no-api
Scenario: Moving up the first taxon on list
When I want to see all taxons in store
And I move up "T-Shirts" taxon
Then I should see 4 taxons on the list
And the first taxon on the list should be "T-Shirts"

@ui @javascript
@ui @javascript @no-api
Scenario: Moving down the last taxon on list
When I want to see all taxons in store
And I move down "Wallets" taxon
Then I should see 4 taxons on the list
And the last taxon on the list should be "Wallets"

@ui @javascript @todo
@ui @javascript @no-api @todo
Scenario: Changing order of the taxon on list
When I want to see all taxons in store
And I move down "T-Shirts" taxon
Expand Down

0 comments on commit 4816d27

Please sign in to comment.