As a tester,
I need to update a BDD .feature file to test the functionality of updating resources in a RESTful API,
So that that I can ensure that the API is working as expected.
Details and Assumptions
The expected behavior of the API when updating resources in various scenarios (e.g., when the resource exists or does not exist, when the data is valid or invalid)
The user has the necessary permissions and credentials to access the API
Acceptance Criteria
Scenario: Update a Shopcart
When I visit the "Home Page"
And I set the "Name" to "Chris"
And I press the "Search" button
Then I should see the message "Success"
And I should see "Chris" in the "Name" field
And I should see "chris@gmail.com" in the "Email" field
When I change "Name" to "Bobby"
And I press the "Update" button
Then I should see the message "Success"
When I copy the "Id" field
And I press the "Clear" button
And I paste the "Id" field
And I press the "Retrieve" button
Then I should see the message "Success"
And I should see "Bobby" in the "Name" field
When I press the "Clear" button
And I press the "Search" button
Then I should see the message "Success"
And I should see "Bobby" in the results
And I should not see "Chris" in the results
As a tester, I need to update a BDD .feature file to test the functionality of updating resources in a RESTful API, So that that I can ensure that the API is working as expected.
Details and Assumptions
The user has the necessary permissions and credentials to access the API
Acceptance Criteria