Skip to content

Commit

Permalink
Receiving no discount for not-in-time coupon promotion
Browse files Browse the repository at this point in the history
  • Loading branch information
Zales0123 committed Jun 9, 2021
1 parent de57cf1 commit 4f2a5d9
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,19 @@ Feature: Receiving no discount if coupon promotion is not eligible
And I use coupon with code "SANTA2016"
Then I should be notified that the promotion is invalid
And my cart total should be "$100.00"

@api
Scenario: Receiving no discount if promotion for the applied coupon has not started yet
Given this promotion starts tomorrow
When I add product "PHP T-Shirt" to the cart
And I use coupon with code "SANTA2016"
Then I should be notified that the promotion is invalid
And my cart total should be "$100.00"

@api
Scenario: Receiving no discount if promotion for the applied coupon has already expired
Given this promotion has already expired
When I add product "PHP T-Shirt" to the cart
And I use coupon with code "SANTA2016"
Then I should be notified that the promotion is invalid
And my cart total should be "$100.00"

0 comments on commit 4f2a5d9

Please sign in to comment.