kat-kan / kawqa-gad-playwright

4 stars 1 forks source link

test(comments): add more tests for PATCH/comments #92

Closed Justyna-KO closed 5 months ago

Justyna-KO commented 7 months ago

Resolves #89

Scope of changes:

-add test: 401Unauthorized -> when invalid token is sent in headers

-add test: 400 Bad Request -> when malformed json is used

-add test: 422 Unprocessable Entity -> when keys are missing and values are too long

-add test 404 Comment not found

How to use it:

Any other comments?

Before submitting Pull Request, I've ensured that:

Justyna-KO commented 7 months ago

Please treat my comments as a beginner's suggestions/questions only :)

thank you, very useful comments. please review again.