forked from pierront/mylibrary-template
step book end
This commit is contained in:
@@ -28,7 +28,7 @@ Feature: Manage books
|
||||
|
||||
# ----------------------------Scénario 3---------------------------------
|
||||
Scenario: Get a book by ID
|
||||
When I request the book with id 978123456
|
||||
When I request the book with id "978123456"
|
||||
Then I receive the following book information:
|
||||
| isbn | title | author | publisher | publicationDate | price | quantity | language |
|
||||
| 978123456 | The Odyssey | Homer | Penguin | 2000-01-01 | 10.0 | 5 | EN |
|
||||
@@ -53,7 +53,7 @@ Feature: Manage books
|
||||
|
||||
# ----------------------------Scénario 6---------------------------------
|
||||
Scenario: Attempt to get a book with unknown ID
|
||||
When I request the book with id 999999999
|
||||
When I request the book with id "999999999"
|
||||
Then the request fails
|
||||
And I receive an error message containing "Book not found"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user