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
As an admin or a manager, I should be able to delete an apartment so that I do not assign any occupant to a non-existent apartment.
Acceptance Criteria
Given that I view the list of apartments in Homepage,
When I click on Delete Apartment,
Then, I will be able to remove the apartment after confirming.
Given that there is an existing current/future stay,
When I try to delete the apartment,
Then I will be able to see a warning message that the apartment has been assigned to occupant(s).
As a guest, I should not be able to remove any apartment, so that the data is not removed without the right authorisation
Acceptance Criteria
Given that I am on the Homepage,
When I view the list of apartments in Homepage
Then, I should not be able to see any link to delete the apartment.
To confirm:
Should delete apartment be allowed if there is an existing past stays?
The text was updated successfully, but these errors were encountered:
As an admin or a manager,
I should be able to delete an apartment
so that I do not assign any occupant to a non-existent apartment.
Acceptance Criteria
Given that I view the list of apartments in Homepage,
When I click on Delete Apartment,
Then, I will be able to remove the apartment after confirming.
Given that there is an existing current/future stay,
When I try to delete the apartment,
Then I will be able to see a warning message that the apartment has been assigned to occupant(s).
As a guest,
I should not be able to remove any apartment,
so that the data is not removed without the right authorisation
Acceptance Criteria
Given that I am on the Homepage,
When I view the list of apartments in Homepage
Then, I should not be able to see any link to delete the apartment.
To confirm:
The text was updated successfully, but these errors were encountered: