ita-social-projects / Forum

Forum Repository for the development of Python project
MIT License
7 stars 3 forks source link

FTC_Admin_Check_DeleteCompany_InTime #659

Open eexampleman196 opened 2 weeks ago

eexampleman196 commented 2 weeks ago

Date Time 06-28-2024 12:40

Priority High

Description This Test Case is testing whether moderator can block company if <# of hours> hours do not pass after the changes were submitted.

Pre-requisites Steps to be fulfilled before test:

  1. Move to http://178.212.110.52/
  2. Authorize as admin
  3. Test Case https://github.com/ita-social-projects/Forum/issues/632 is done
Test Cases S# Action Test Data Expected Result Actual Result P/F Automated
1 Open admin page and clicks 'СКАСУВАТИ' button
1. profile status is changed to 'Rejected' (together with the time when and user name who rejected)
2. moderator sees the "Зміни успішно скасовано. Профіль компанії заблоковано" message
3. user profile must be blocked and company must not be available on the website










Screenshots image

Environment:

Additional context "User story #620 "

Labels to be added "Test case", Priority ("pri: high"), Type ("Functional").