Closed Justyna-KO closed 1 month ago
As for 404 - there is a 404 PATCH article test here https://github.com/kat-kan/kawqa-gad-playwright/pull/47/files maybe it can be reproduced this way with PUT as well?
@Justyna-KO The latest GAD version (2.7.2) brings another logic which is not yet tested:
using PUT with empty body will return error 422 (comments, users, articles)
If you think about developing the tests further, it would be quite nice extension
Resolves #23
Scope of changes:
Tests PUT articles/{id} for responses:
How to use it:
Any other comments?
The test for the 404 response is missing, any ideas on how to get 404 in response for this endpoint?
Before submitting Pull Request, I've ensured that:
kawqa-gad-playwright
project's git commit message format.