You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
When admin user tries to remove the course, created by another admin, the course is successfully removed, no error messages are shown.
Pre-conditions:
There is at least two active users with admin role (here admin1 and admin2);
Steps to reproduce:
Login to admin1;
Save access token for admin1;
Create a new category by POST request (http://qa-school-test.quantori.academy/api/v1/categories) using saved admin1 access token, input in request body is: {"title": "string"}, with 'title' being a string of valid length (3-100) and allowed characters (RU/EN alphabet, space, digits);
Save the newly created category id to use in following request;
Login to admin2 account;
Save access token for admin2;
Create a new course by POST request (http://qa-school-test.quantori.academy/api/v1/courses) using saved admin2 access token, input in request body is: {"title": "string", "description": "string", "visible": true, "categoryId": 0}, with 'title' being string of valid length (3-100) and allowed characters (RU/EN alphabet, space, digits), 'description' being string of valid length (3-255 as implemented at the moment), 'visible' being boolean, 'categoryId' being the id of the category created on the step 3;
Save the newly created course id to use in following request as dynamic variable {{courseId}};
Description:
When admin user tries to remove the course, created by another admin, the course is successfully removed, no error messages are shown.
Pre-conditions:
There is at least two active users with admin role (here admin1 and admin2);
Steps to reproduce:
Post-conditions:
Actual behavior:
Expected behavior:
Screenshots
![admin_remove](https://user-images.githubusercontent.com/106036717/176463907-5afa1081-19fd-4c88-b69d-148050533e6a.PNG)
The text was updated successfully, but these errors were encountered: