Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QA specs #22

Merged
merged 12 commits into from
Feb 23, 2022
52 changes: 52 additions & 0 deletions specs/landing.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Landing specification

Tags: Landing, root

The landing application holds link to SPARQL console and routes to sub applications

## Page

Tags: Landing

The landing page contains descriptive information about the combined land registry applications

* The page loads with appropriate body content
* The page contains multiple links to the applications
* The page contains multiple links to external websites

## Change language

Tags: locale

Users can toggle between English and Welsh language

* Click Cymraeg link in top right
* Displayed body copy will change to Welsh language
* Navigation items will be displayed in Welsh language
* Clicking main navigation title will route user back to home page and language will default to English
* Click English link in top right
* All Displayed text will change to English language

## Header

Tags: navigation

Users can navigate to other sub applications from the landing page

* User can see HM Land registry logo and Header
* 5 primary nav items are visible
* Clicking 'HM Land registry Open Data' will route users back to landing page
* Clicking 'UK House Price Index' will route users to the UKHPI app
* Clicking 'Price Paid Data' will route users to the PPD app
* Clicking 'Standard-reports' will route users to the standard reports app
* Clicking 'SPARQL query' will route users to the console query page
* Clicking logo in top left navigates users to the Gov.uk site relating to the land registry
* When the browser width is reduced the navigation layout will change

## Navigation

Tags: navigation

* Clicking 'UK House Price Index' will route users to the UKHPI app
* The primary navigation displays different options relating to UKHPI
* All other sub-applications retain the navigation structure of the landing page
83 changes: 83 additions & 0 deletions specs/ppd-results.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
# Price Paid Data Search results

Tags: search, PPD, Price paid data

The Price paid data search results view

## Deselect search queries

Tags: results

* Type "Rose Cottage" into the "Building name or number" field
* Type "Plymouth" into the "Town or city" field
* Clicking show results will route User to the search results page
* Summary will display '21 transactions'
* Clicking the cross icon next to 'Plymouth' will remove the search query parameter
* Results page will re-render with new search parameters applied
* Summary will display '9873 matching transactions'

## Change settings

Tags: results

* Type "Rose Cottage" into the "Building name or number" field
* Clicking show results will route User to the search results page
* Clicking 'change search settings' will router User to search form
* Prefilled value "Rose Cottage" visible in the "Building name or number" field

## Download data

Tags: results

* Type "Rose Cottage" into the "Building name or number" field
* Clicking show results will route User to the search results page
* Clicking 'download data' will router User to the download page
* Clicking 'get selected results as CSV' will prompt a file download of type CSV
* Clicking 'get selected results as Turtle' will route User to generated TTL file
* Clicking 'view SPARQL query' will route User to SPARQL query view with pre-populated search values
* Clicking 'Back to results' will return you to the results page

## Share

Tags: results

* Clicking 'share view' will open a modal dialogue prompting a Twitter link
* The Users can close the modal dialogue by clicking the close cross

## Results summary number displayed

Tags: results

* Summary will display 'Showing 100 transactions'
* Clicking 'show a sample of at most 1000 results' will requery the search with new parameters
* Results page will re-render with new search parameters applied
* Summary will display 'Showing 1000 transactions'
* Clicking 'show all results' will requery the search with new parameters
* Results page will re-render with new search parameters applied
* Summary will display 'Current selection: show all results'

## Results list item

Tags: results

* A result item has a postal address as title
* A result item has a list of transaction History with at least one or more item
* Clicking the transaction history external link will route User to the Elda API populated with property transaction data
* A result item has a list of address values

## Results list query within

Tags: results

* Reset the form
* Type "Rose Cottage" into the "Building name or number" field
* Type "Devon" into the "County" field
* Clicking show results will route User to the search results page
* Summary will display 'from 460 matching transactions'
* Summary will display '45 properties'
* First Result item displays 'Rose Cottage, High Street, Sidmouth, EX10 0DU'
* Clicking the magnifiying glass icon adjacent to 'East Devon' will requery the search
* Search summary now displays 'district matches 'EAST DEVON'
* Summary will display '81 transactions'
* Summary will display '50 properties'
* First Result item displays 'Briar Rose Cottage, Lyme Regis, DT7 3RN'
220 changes: 220 additions & 0 deletions specs/ppd-search.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,220 @@
# Price Paid Data

Tags: PPD, price paid data

The price paid data search form

## Building search

Tags: Search

* Type "Rose Cottage" into the "Building name or number" field
* Clicking show results will route User to the search results page
* Summary will display '9873 matching transactions'
* Summary will display '62 properties'
* First result item address displays as 'Rose Cottage, North Road, Wells, BA5 1LA'
* Reset the form

## Street search

Tags: Search

* Type "Harbour Road" into the "Street" field
* Clicking show results will route User to the search results page
* Summary will display '2192 matching transactions'
* First result item address displays as '73 Harbour Road, Bradford, BD6 3RG'
* Reset the form

## Town search

Tags: Search

* Type "Plymouth" into the "Town or city" field
* Clicking show results will route User to the search results page
* Summary will display '10000 or more matching transactions'
* Summary will display '60 properties'
* First result item address displays as '25 Trinity Street, Plymouth, PL1 3FT'
* Reset the form

## District search

Tags: Search

* Type "City of Westminster" into the "District" field
* Clicking show results will route User to the search results page
* Summary will display '10000 or more matching transactions'
* Summary will display '68 properties'
* First result item address displays as 'Flat 93, Chiltern Court, Baker Street, London, NW1 5TA'
* Reset the form

## County search

Tags: Search

* Type "Devon" into the "County" field
* Clicking show results will route User to the search results page
* Summary will display 'from 10000 or more matching transactions'
* Summary will display '57 properties'
* First result item address displays as 'The Summerhouse, Lyme Regis, DT7 3XU'
* Reset the form

## Locality search

Tags: Search

* Type "Thurloxton" into the "Locality" field
* Clicking show results will route User to the search results page
* Summary will display '71 transactions'
* First result item address displays as 'Greenway Farm House, Taunton, TA2 8RF'
* Reset the form

## Postcode search

Tags: Search

* Type "PL6" into the "Postcode" field
* Clicking show results will route User to the search results page
* Summary will display '10000 or more matching transactions'
* Summary will display '61 properties'
* First result item address displays as '1 Moreton Avenue, Plymouth, PL6 5AZ'
* Reset the form

## Property type filter

Tags: Search

* Type "Rose Cottage" into the "Building name or number" field
* Deselect 'detached' and 'semi-detached' from the 'Property Type' checkbox list
* Clicking show results will route User to the search results page
* Summary will display '1658 matching transactions'
* First result item address displays as 'Rose Cottage, Wells Road, Bath, BA2 9AY'
* Reset the form

## New build filter

Tags: Search

* Type "Rose Cottage" into the "Building name or number" field
* Deselect 'not new-build' from the 'New build?' checkbox list
* Clicking show results will route User to the search results page
* Summary will display '150 matching transactions'
* First result item address displays as 'Rose Cottage, Fore Street, Warminster, BA12 0RQ'
* Reset the form

## Estate type filter

Tags: Search

* Type "Rose Cottage" into the "Building name or number" field
* Deselect 'leasehold' from the 'Estate Type' checkbox list
* Clicking show results will route User to the search results page
* Summary will display '9731 matching transactions'
* First result item address displays as 'Rose Cottage, North Road, Wells, BA5 1LA'
* Reset the form

## Transaction category filter

Tags: Search

* Type "Rose Cottage" into the "Building name or number" field
* Deselect 'standard' from the 'Transaction category' checkbox list
* Clicking show results will route User to the search results page
* Summary will display '239 matching transactions'
* First result item address displays as 'Rose Cottage, Gilson Road, Birmingham, B46 1LN'
* Reset the form

## Price range filter

Tags: Search

* Type "Rose Cottage" into the "Building name or number" field
* Input '0' to the 'Minimum price' field
* Input '200000' to the 'Maximum price' field
* Clicking show results will route User to the search results page
* Summary will display '4753 matching transactions'
* First result item address displays as 'Rose Cottage, Malt Mill Lane, Halesowen, B62 8JE'
* Reset the form

## Date range filter

Tags: Search

* Type "Rose Cottage" into the "Building name or number" field
* Select '22/11/2020' in the 'earliest' field
* Select '22/11/2021' in the 'latest' field
* Clicking show results will route User to the search results page
* Summary will display '273 matching transactions'
* First result item address displays as 'Rose Cottage, Malt Mill Lane, Halesowen, B62 8JE'
* Reset the form

## Small date range

Tags: Search

* Type "Rose Cottage" into the "Building name or number" field
* Select '19/11/2021' in the 'earliest' field
* Select '22/11/2021' in the 'latest' field
* Clicking show results will route User to the search results page
* Summary will display '0 transactions'
* Reset the form

## Invalid date range (earliest date occurs after latest date)

Tags: Search

* Type "Rose Cottage" into the "Building name or number" field
* Select '22/11/2021' in the 'earliest' field
* Select '22/11/2020' in the 'latest' field
* Clicking show results will route User to the search results page
* Summary will display '0 transactions'
* Reset the form

## Limit results to 1000

Tags: Search

* Type "Rose Cottage" into the "Building name or number" field
* Select 'at most 1000' from the 'How many results?' radio list
* Clicking show results will route User to the search results page
* Summary will display '9873 matching transactions'
* Summary will display '570 properties'
* First result item address displays as 'Rose Cottage, Lower Gustard Wood, St Albans, AL4 8RU'
* Reset the form

## No Limit results

Tags: Search

* Type "Rose Cottage" into the "Building name or number" field
* Select 'all' from the 'How many results?' radio list
* Clicking show results will route User to the search results page
* Summary will display '9873 matching transactions'
* Summary will display '5887 properties'
* A warning is visible with the phrase 'We have limited this page to 5000 results'
* First result item address displays as 'Rose Cottage, Lower Gustard Wood, St Albans, AL4 8RU'
* Reset the form

## Large queries

Tags: Search

* Type "Birmingham" into the "Town or city" field
* Select 'all' from the 'How many results?' radio list
Copy link
Contributor

@ijdickinson ijdickinson Nov 23, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 This is exactly the kind of query where we'd like to have eyes-on the memory usage of the app as it's running

* Clicking show results will route User to the search results page after '1m 40s'
* Summary will display 'Found 388822 transactions'
* Summary will display 'for 227036 properties'
* A warning is visible with the phrase 'We have limited this page to 5000 results'
* First result item address displays as 'Apartment 2109, 10 Holloway Circus Queensway, Birmingham, B1 1BA'
* Reset the form

## Help

* Clicking 'Help' button will open a modal dialogue window with Help text
* The User can link to troubleshooting guidance from here
* The User can close the modal dialogue by clicking the cross icon

## Reset form

* Type "Rose Cottage" into the "Building name or number" field
* Type "Thurloxton" into the "Locality" field
* Clicking 'reset the form' will remove all previously entered input values
Loading