Skip to content

Commit

Permalink
BDD for Read feature
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddenyz authored Dec 12, 2023
1 parent f1a11d5 commit 0d69c74
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions features/promotions.feature
Original file line number Diff line number Diff line change
Expand Up @@ -126,3 +126,17 @@ Scenario: Delete a Promotion
When I copy the "id" field
And I press the "Delete" button
Then I should see the message "Success"

Scenario: Read a Promotion
When I visit the "Home Page"
And I set the "id" to "11"
And I set the "name" to "NY Sale3"
And I set the "description" to "promotion for NY 2024"
And I set the "products_type" to "all_types"
And I set the "code" to "NY24"
And I set the Start Date to "2023-12-15"
And I set the End Date to "2024-01-16"
And I press the "Search" button
Then I should see the message "Success"
When I copy the "id" field
And I press the "Retrieve" button

0 comments on commit 0d69c74

Please sign in to comment.