step book end

This commit is contained in:
2025-06-12 23:45:47 +02:00
parent 1b70a8d123
commit cc4dfa140a
2 changed files with 119 additions and 151 deletions

View File

@@ -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"