Logo: Relish

  1. Sign in

Project: Hmlr-find-property-information

Postcode search

  • @postcode_search

As a User
I want to be able to search by postcode
So that I can find the property I am interested in

Acceptance Criteria:

Background
Given
I am viewing the search form
Scenarios
Postcode search results using valid postcode
Given
I have a postcode which returns 150 results because it is an apartment building
When
I search by the postcode
Then
I see "60" results on page "1"
And
I can go to the next page
Then
I see "60" results on page "2"
And
I can go to the next page
Then
I see "30" results on page "3"
And
I have seen "150" results in total
And
I can't go to the next page
And
I can go to the previous page
Then
I see "60" results on page "2"
Address search results over 50 results
Given
I have a postcode which is actually an address string
When
I search by the postcode
Then
I can go to the next page
And
I can go to the next page
And
I am given a "You've reached the 50 result limit" message
And
I can navigate to the Find a Property service
Postcode search results using invalid postcode
Given
I have a postcode which is invalid
When
I search by the postcode
Then
I am given a "0 results found" message
Property associated with Freehold and Leasehold
Given
I have a title that is associated with multiple leasehold titles
When
I search for the title
Then
the title is displayed multiple times

Last published over 3 years ago by Heather Poole.