AgileVentures / AgileVentures/MetPlus_tracker

Delete a company

Đang mở
#702 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Business Requirement enhancement Sprint creation
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
2
Fork
5
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

As a Agency Admin
I want to remove a company from the system
So that the company no longer as access to PETS

===

*Given* I am logged in as a Agency Admin
*When* I Access the administration of PETS
*And* I click on Companies
*And* I select a company
*Then* I should see a Delete Company button

---

*Given* I have selected a company in the administration
*When* I press the Delete Company button
*Then* I see a alert saying 'When you delete a company, it can no longer be activated. The Company People will no longer be able to access PETS, Job Seekers that applied to a job in the company no longer will see the their applications to that company. Do you really want to proceed'
*And* I press No
*And* the alert will close
*And* I see the company editing form without any change

--

*Given* I pressed the Delete Company button
*When* I see the alert
*And* press yes
*Then* I should be redirected to the list of companies
*And* I should see the company with the status 'Inactive'
*And* No link on the company name

Relates to #708

---

*Given* I am a company person person
*When* my company get deleted
*Then* I try to login to PETS
*And* I see the message 'You company no longer is present on PETS'

Relates to #703

---

*Given* I am a Job Seeker
*When* I am searching for jobs
*Then* I should not see jobs from deleted companies

Relates to #704

--

*Given* I am a Job Seeker
*And* I had applied to a job in a company that was deleted
*When* I am at the screen of my job applications
*Then* I should not see the application made to a job of a deleted company

Relates to #705

---

*Given* I am a Job Developer
*When* I look at the application of my Job Seeker
*Then* I should not see applications to the deleted company

Relates to #706

--

*Given* I am a Job Developer
*And* I have a Job Seeker that have applied to a job
*When* the company is deleted
*Then* I should receive notification that the job application will be rejected because the company no longer exists in PETS

Relates to #707

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.