Skip to content

Commit

Permalink
Edited Deactivate and Activate BDD Scenarios
Browse files Browse the repository at this point in the history
  • Loading branch information
kutdkutf43 committed Apr 30, 2024
1 parent 05213a7 commit a61ed83
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions features/customers.feature
Original file line number Diff line number Diff line change
Expand Up @@ -115,17 +115,19 @@ Scenario: Delete a Customer
Scenario: Deactivate a Customer
When I visit the "Home Page"
And I press the "Search" button
And I press the "Deactivate" button for the first customer
Then I should see "kaite5" in the results
When I press the "Deactivate" button for the first customer
Then I should see the message "Deactivating successful"
When I press the "Retrieve" button
Then I should see "False" in the "active" dropdown

Scenario: Activate a Customer
When I visit the "Home Page"
And I set the "username" to "lion15"
And I press the "Search" button
Then I should see the message "Success"
And I should see "lion15" in the "username" field
When I copy the "id" field
And I press the "Activate" button for the first customer
When I press the "Activate" button for the first customer
Then I should see the message "Activating successful"


When I press the "Retrieve" button
Then I should see "True" in the "active" dropdown

0 comments on commit a61ed83

Please sign in to comment.