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 create a new lease so that I can assign occupant to the correct lease.
Acceptance Criteria
Given that I click on a particular Apartment from the Homepage and view the Apartment Profile,
When I click on Add New Lease,
Then, I will be able to enter the lease start date, end date and monthly rent of the new lease.
Given that I leave any of the fields blank,
When I try to submit,
Then, I will be able to see a warning message that a certain field is blank.
Given that the end date I entered is before or same as the start date,
When I try to submit,
Then, I will be able to see a warning message that lease end date should be after lease start date.
Given that the monthly rate I entered is negative,
When I try to submit,
Then, I will be able to see a warning message that the monthly rate should not be negative.
Given that there is an existing lease of which dates overlap with the new lease
When I try to submit any valid change,
Then I will be able to see a warning message that there is a current existing lease with overlapping dates.
As a guest, I should not be able to add any new lease so that the data is not added without the right authorisation
Acceptance Criteria
Given that I click on a particular Apartment from the Homepage,
When I view the Apartment Profile
Then, I should not be able to see any link to add a new lease
To confirm:
Does apartment status matter?
The text was updated successfully, but these errors were encountered:
As an admin or a manager,
I should be able to create a new lease
so that I can assign occupant to the correct lease.
Acceptance Criteria
Given that I click on a particular Apartment from the Homepage and view the Apartment Profile,
When I click on Add New Lease,
Then, I will be able to enter the lease start date, end date and monthly rent of the new lease.
Given that I leave any of the fields blank,
When I try to submit,
Then, I will be able to see a warning message that a certain field is blank.
Given that the end date I entered is before or same as the start date,
When I try to submit,
Then, I will be able to see a warning message that lease end date should be after lease start date.
Given that the monthly rate I entered is negative,
When I try to submit,
Then, I will be able to see a warning message that the monthly rate should not be negative.
Given that there is an existing lease of which dates overlap with the new lease
When I try to submit any valid change,
Then I will be able to see a warning message that there is a current existing lease with overlapping dates.
As a guest,
I should not be able to add any new lease
so that the data is not added without the right authorisation
Acceptance Criteria
Given that I click on a particular Apartment from the Homepage,
When I view the Apartment Profile
Then, I should not be able to see any link to add a new lease
To confirm:
The text was updated successfully, but these errors were encountered: