Skip to content

Commit

Permalink
Add a feature spec covering enabling samples on a pre-existing product
Browse files Browse the repository at this point in the history
  • Loading branch information
mbabker committed Jun 15, 2022
1 parent 8627ac8 commit 73ac1a5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions features/product/editing_product.feature
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@ Feature: Editing a product
And the store has a product "Dice Brewing"
And I am logged in as an administrator

@ui @no-api
Scenario: Enabling product samples on a pre-existing product
Given I want to modify the "Dice Brewing" product
When I enable product samples for it
And I change its sample price to $0.00 for "United States" channel
And I save my changes
Then this product should have product samples enabled
And it should have its sample priced at $0.00 for channel "United States"

@ui @no-api
Scenario: Disabling product samples
Given the "Dice Brewing" product has product samples enabled for all channels
Expand Down

0 comments on commit 73ac1a5

Please sign in to comment.