Given following roles:
| Id | Role |
|---|---|
| 1 | ADMIN |
| 2 | MODERATOR |
| 3 | PROFESSOR |
| 4 | STUDENT |
And STUDENT users with following:
| Family Name | First Name | Phone Number | Password | |
|---|---|---|---|---|
| Doe | John | +40555555555 | john.doe@mail.com | john.doe |
When user john.doe@mail.com sends POST authentication request with john.doe or alternative john.doe password
And user john.doe@mail.com sends GET profile request with saved token
Then API responds with 200 HTTP code
When user john.doe@mail.com sends POST authentication request with john.doe or alternative john.doe password
And user john.doe@mail.com sends GET groups management request with saved token
Then API responds with 403 HTTP code
When user john.doe@mail.com sends POST authentication request with john or alternative john password
Then API responds with 403 HTTP code
| Number of Scenarios | 3 | Total Duration | 449ms |
| Total Number of Test Cases | 3 | Fastest Test | 138ms |
| Number of Manual Test Cases | 0 | Slowest Test | 151ms |
| Tests Started | Aug 21, 2025 23:49:44 | Average Execution Time | 146ms |
| Tests Finished | Aug 21, 2025 23:49:45 | Total Execution Time | 439ms |
| feature | Scenario | Context | Steps | Started | Total Duration | Result |
|---|---|---|---|---|---|---|
| Authentication | Authentication positive scenario: User is trying to log in using correct password and access the endpoint he is allowed to | 3 | 23:49:44 | 150ms | ||
| Authentication | Authentication negative scenario: User is trying to log in using correct password and access the endpoint he is not allowed to | 3 | 23:49:44 | 151ms | ||
| Authentication | Authentication negative scenario: User is trying to log in using incorrect password | 2 | 23:49:45 | 138ms |