Test programme
Updated 26 November 2026Download PDF
How to use this programme
This programme tests every section of PHAEMA in about 12 working days, using the demonstration data in two fictional districts. Each test below is a set of instructions for a person to follow in PHAEMA: an ID, steps, the expected result and a Result column to fill in. Tests marked (IT) need someone who can type commands on the computer that runs PHAEMA.
Where to test. Either use the public test site at demo.phaema.co.uk, or install a private copy for your council with the installation guide in the code repository (deploy/README.md). On the public site, ask for sign-ins with Request a test account (the PHAEMA project sets them up), and note that all data is reset every 48 hours: run each section within a day, record results as you go, and do not rely on records surviving overnight. Tests that need an Administrator account, or that change other people's work (sections U, Y and Z), are best run on a private copy.
Test data. Load it with python manage.py load_demo_data --reset (an IT task). It holds 73 properties, 47 agreements, 58 cases, 22 repair jobs, 59 certificate requirements, 35 valuations and two service charge schedules. All names, addresses, numbers and documents are invented.
| District | References | Good for testing |
|---|
| Exampleton | DM-E01, DM-S01 to DM-S11 | Riverside Industrial Estate, Market Square shops, Town Hall, Enterprise Centre (leased in, sub-let), a confidential property, surplus school site |
| Northfield | DM-N01 to DM-N12 | Business park, The Precinct shops, library and leisure centre (compliance), former bus depot (hazards, surplus), telecoms site, market hall (turnover rent), farm, Innovation Hub (leased in) |
Agreements are DL-0001 to DL-0200 (Exampleton) and DL-0501 to DL-0531 (Northfield). Dates are set relative to the day you load the data, so reviews, breaks and certificates always fall due at a realistic mix of times. Reload before each test cycle so everyone starts from the same position.
Projects. Three fictional projects: PRJ-2026-001 (a development at Northfield Business Park), PRJ-2026-002 (a confidential depot site acquisition) and PRJ-2026-003 (a disposal of two surplus sites). Section PJ uses them.
Demonstration people. Surveyors Alex Morgan, Priya Shah, Owen Jones, Lena Chen and Rob Baker are supervised by Sam Hughes (Head of Estates); Jo Patel is a legal contributor. They cannot sign in. Use them to test assignment, approvals and My work, viewed as an administrator.
Test accounts. In Manage data, create one account per role for each tester, with a password: an Administrator, two Surveyors (one supervising the other), a Contributor and a Viewer. Give one Surveyor some properties as managing surveyor. Put every account in all five access areas to start with; section Z narrows them. Give every account its own email address. Administrators are asked to set up two-step sign-in the first time they sign in (test A9), so have an authenticator app ready on a phone. Tests A15 to A18 need single sign-on set up by IT against a Microsoft 365 (or other) test tenant; without one, run A14 only. Never use real people's details.
Before you start: switch on every module in Manage data, Module settings (rent ledger, service charges, maintenance, compliance, asset valuation, space and costing, and space and costing: show costs). Some tests switch one off and back on.
Programme
Run the phases in order: later sections depend on the register, leases and cases working. Two testers can split each phase by section.
| Days | Phase | Tests |
|---|
| 1 | Set-up and smoke test: load data, create accounts, sign in as each role, check every menu item opens | A, B |
| 2–3 | The register: properties, map, titles, parties, agreements, lease events and reminders | C, D, E, F, IX, DL, IZ |
| 4–5 | Casework: cases, approvals, heads of terms and 1954 Act, standards checks, document library, projects, estate strategy | G, H, I, J, PJ, ST, VM |
| 6–7 | Finance: rent ledger, rents payable, service charges, credit control, interest and rent deposits | K, L, CC, DP |
| 8–9 | Buildings: maintenance, compliance and Golden Thread, asset valuation, space and costing | M, N, O, SP |
| 10 | Data in and out: reports, imports and exports, open data, API, change log, settings | P, Q, R, S |
| 11 | Cross-cutting: accessibility, security and permissions, browsers and devices, performance, access areas and cover | T, U, V, W, Z, SG |
| 12 | Hand over work (changes demo data, so run last and reset), retest fixed defects, run the automated suite, sign off | Y, X |
Start when: the demo data loads without errors, every tester has their accounts, and the automated test suite passes (python3 -m pytest).
Finish when: every test has a result; no Critical or High defects are open; Medium defects have an agreed fix date or are accepted; the automated suite passes on the final build.
Recording results
In each test's Result column write P (pass), F (fail, with a defect number), B (blocked by another defect) or N/A (module not in use), plus your initials and the date.
| Severity | Meaning | Example |
|---|
| Critical | Data lost or wrong, a security hole, or a whole section unusable | A Viewer can edit a lease; a rent charge is posted twice |
| High | A main task cannot be done, with no workaround | Cannot record a rent review outcome |
| Medium | A task works but wrongly or awkwardly, with a workaround | A report total is missing; a filter ignores one option |
| Low | Wording, layout or cosmetic | A typo; misaligned column |
For each defect record the test ID, the page address, what you did, what you expected, what happened, a screenshot, and your browser. Raise it as an issue on GitHub (phaema/phaema-app) with the label testing, or in the defect log at the end of this document.
Tests A–D: access, dashboard, register and map
A. Sign-in and roles
| ID | Test | Steps | Expected | Result |
|---|
| A1 | Sign in and out | Sign in with each test account; select Sign out | Dashboard opens; the header shows your name and role; sign out returns to the sign-in page | |
| A2 | Wrong password | Sign in with a wrong password | Clear error; no hint whether the username exists | |
| A3 | Viewer is read-only | As Viewer, open a property, an agreement and a case | No edit buttons or forms; posting a change by URL is refused | |
| A4 | Contributor | As Contributor, open a case | Can add notes, emails and documents; cannot move stages or decide | |
| A5 | Surveyor | As Surveyor, change a property you manage, then one you do not | First saves; second is refused | |
| A6 | Administrator | As Administrator, open Import, Manage data and Hand over work | All three open; other roles do not see these links | |
| A7 | Pages need sign-in | Signed out, open a property address and an uploaded file address | Sent to sign-in; files are never served | |
| A8 | Sign in with email | Sign in typing your email address in place of the username, then again in capital letters | Signs in both times; a wrong password gives the same error as A2 | |
| A9 | Two-step set-up | Sign in with the Administrator test account for the first time; set up two-step sign-in with an authenticator app; note the recovery codes; sign out and in again | Asked to set it up before anything else; the next sign-in asks for a 6-digit code after the password | |
| A10 | Two-step codes | Enter a wrong code five times; sign in again using a recovery code; try the same recovery code once more | Five wrong codes end the attempt; a recovery code works once only | |
| A11 | Forgotten password | On the sign-in page select Forgotten your password?; enter your email address; open the emailed link and choose a new password; open the link again. Needs email set up on the server | The email names your username; the new password is saved; you are not signed in until you sign in yourself, with your code if you use two-step sign-in; the second use says the link has expired | |
| A12 | Forgotten password, no account | Enter an address that has no sign-in, then the username of an account that is not Active | The same Check your email page each time; no email is sent | |
| A13 | Change password | Select Change password in the menu: enter a wrong current password, then the right one with a new password of 12 or more characters | First refused; second saved; the new password signs you in | |
| A14 | Single sign-on is off unless set up | On a site with no single sign-on settings on the server, open the sign-in page. As an Administrator, tick Sign in with the council's own accounts in Module settings and open the sign-in page again | No Sign in with Microsoft button either time; signing in with a password works as before | |
| A15 | Sign in with a council account | Needs single sign-on set up by IT (docs/single-sign-on.md); skip A15 to A18 if it is not. Give a test account the email address of a Microsoft account. Select Sign in with Microsoft and sign in there | You arrive signed in as that test account, with no PHAEMA two-step code asked for; in Manage data, Users, the person shows a Council sign-in box; the change log records the link | |
| A16 | Council account with no PHAEMA account | Select Sign in with Microsoft and sign in with a Microsoft account whose email address is on no PHAEMA account | Returned to the sign-in page with a message that there is no PHAEMA account for that address; not signed in; no account created | |
| A17 | Who can still use a PHAEMA password | After A15, sign out and try that person's PHAEMA password. Try the password of a Surveyor who has never used the button, and of an Administrator who has. Then set Who can still sign in with a PHAEMA password to Anyone and try the first person again | First refused; the unlinked Surveyor and the Administrator sign in; after the change the first person's password works | |
| A18 | Roles from council groups | In Manage data, Sign-in group mappings, add a mapping giving the Surveyors role and the Finance access area to a Microsoft group the A15 person is in. Sign in with Microsoft. Then have IT remove the person from the group and sign in again | After the first sign-in the person is a Surveyor in Finance; after the second both are gone; a role set by hand that no mapping names is unchanged; the change log shows each change | |
| A19 | Outside user | As Administrator, Manage data, Users: open the Viewer test account; under Staff details tick Outside user, enter an organisation and leave Access ends blank; save. Filter the users list to outside users | Access ends has been filled in six months from today; the list shows the person with their organisation and end date | |
| A20 | Outside user's access ends | Set that account's Access ends to yesterday and try to sign in with it. Then set it to today, sign in, and in another browser set it back to yesterday; click any link in the first browser | Sign-in is refused; with today's date it works; after the change the person is signed out at the next click and shown a page saying their access has ended | |
| A21 | Access ending soon | Set Access ends to ten days from today and sign in as that account. Then extend it by a year | A notice at the top of every page gives the end date; after the extension the notice is gone | |
B. Dashboard, My work and page settings
| ID | Test | Steps | Expected | Result |
|---|
| B1 | Landing tab | Sign in as Surveyor, then as Viewer | Surveyor lands on My work; Viewer on Whole estate | |
| B2 | Remember tab | As Surveyor choose Whole estate, sign out and in | Whole estate opens | |
| B3 | Whole estate figures | Check property count, vacant units, rent roll and lease event counts against the Properties and Events lists | Figures agree; each number links to the matching filtered list | |
| B4 | My work content | As Administrator, Show the work of Lena Chen | Needs attention, Coming up (90 days), open cases, properties (Northfield Business Park and others), repairs, compliance and arrears panels | |
| B5 | Viewing others | As a Surveyor, add ?view=mine&person= with another surveyor's number | Refused unless you supervise them | |
| B6 | Hide and show panels | Hide two panels, reload; use Hide all and Show all | Hidden panels stay hidden after reload; buttons toggle all | |
| B7 | Styles | Switch Style to Clear, then Compact, then Classic | Page changes look; choice kept across pages | |
| B8 | Themes and text size | Try Dark, High contrast and Largest text with the Clear style | All text readable; nothing overlaps or is cut off | |
| B9 | Panels without JavaScript | Turn JavaScript off and open the dashboard | Every panel is open and readable | |
| B10 | Tenancies at will | Whole estate: select the highlighted tenancies at will in place figure | Opens the agreements list showing only live tenancies at will (DL-0040 is one); the number listed matches the figure | |
| B11 | Expiries by 1954 Act status | Under Lease events, compare the lease expiries row with the Contracted in and Contracted out rows beneath it; select each number | The rows beneath add up to the lease expiries row; each number opens the matching events | |
| B12 | Time is of the essence | Under Lease events, select the links in the red Time is of the essence notice | Lists the open rent reviews where time is of the essence, including DL-0001; the counts match the notice | |
| B13 | Documents to review | Under Lease events, select the numbers on the Lease documents to review row | Opens Documents to review with the overdue or coming review dates; each document links to its agreement | |
C. Properties
| ID | Test | Steps | Expected | Result |
|---|
| C1 | List and filters | Properties: filter by type Unit, occupation Vacant, surveyor, and search "Precinct" | Results match every filter; counts shown | |
| C2 | Hierarchy | Open DM-N01 Northfield Business Park | Shows its two blocks and ten units; breadcrumbs work both ways | |
| C3 | Floor areas | Open DM-E01-B01 | Area breakdown adds up the units; measurement basis shown | |
| C4 | Photos | Open DM-N01-U04 and click each thumbnail | Main photo and caption change; works by keyboard | |
| C5 | Site hazards | Open DM-N06 Former bus depot | Hazard warning shown at the top | |
| C6 | Add and edit | As Administrator add a property under DM-N02, then edit it | Saved; appears in the list and in the change log | |
| C7 | Confidential site | Find DM-S09 | Marked excluded from open data | |
| C8 | Portfolios | As Administrator, Manage data, Portfolios: add one; choose it on a property in Edit this property; filter the register by it; try to delete it | The property shows the portfolio; the filter and the Portfolio column work; a portfolio with properties in it cannot be deleted | |
| C9 | Estate strategy and purpose review | Edit a property: enter an Estate strategy section and a Holding purpose review date in the past; filter the register to purpose reviews that are overdue | Both are shown on the property; the property appears under the overdue filter | |
| C10 | Site and buildings | Open DM-N01 Northfield Business Park, then its Hangar block (DM-N01-B01), then a unit with nothing recorded | The estate shows location, site area 8.36 ha (83,600 m²), 96 parking spaces and services; the block shows steel portal frame, 1 storey, roof, windows and solar panels 150 kWp; the unit says nothing is recorded yet | |
| C11 | Record site and building details | As a Surveyor, edit a property you manage: enter 2500 in Site area (m²), choose a construction, roof type and covering, set electricity to Three-phase, and enter a solar capacity with Solar panels left blank. Save, then set Solar panels to Yes and save again | First save refused with a message about solar panels; second saved; the page shows 0.25 ha (2,500 m²) and the details; the change is in History | |
| C12 | Floor plans | In Edit this property, under Floor plans, add a PDF plan and an AutoCAD drawing (.dwg), each with a title. Try to add a Word file. As a Surveyor, open the edit page of a property you do not manage | Both plans listed on the property page with their type; the PDF opens in PHAEMA's reader and the drawing downloads; the Word file is refused; the other property cannot be changed | |
| C13 | Property report | On DM-N01 select Property report. Read it, select Print, then Download as Word | Sections for the property, location, description (each block in turn), floor areas with the parts, floor plans, title, tenancies and other agreements with their terms, and cases in hand; ended agreements and closed cases are left out; Not yet recorded lists Floor plans; the Word file opens with the same content | |
| C14 | Initial valuation report | Open the case Valuation of Northfield Business Park at 31 March 2027 and select Initial valuation report. Then open a consent case | The report is headed Initial valuation report with the case reference; that case is not in Cases in hand but the park's other open cases are; the consent case has no such link | |
| C15 | Add several floor plans and photos by dragging | As a Surveyor, open a property you manage and open Add floor plans or photos. Drag two PDF plans onto the Floor plans box and select Add the plans. Drag three photos (JPEG or PNG) onto the Photos box and select Add the photos | The plans are listed under Floor plans, titled with their file names; the photos appear in the gallery, captioned with their file names; both are recorded in the change log | |
| C16 | List of uses | As Administrator, Manage data, Property uses: add Bandstand, matched to the standard's term Park. In Edit this property choose it for a property and type a use description. Untick In use on another entry. Try to delete a use that has properties | The property page shows the use with the description after it; the retired use is no longer offered on other properties; a use with properties in it cannot be deleted | |
| C17 | Designations, acquisition, year built and condition | Open DM-N03 Northfield Library and read Designations. In Edit this property set Acquired on; set Built to "c. 1936, extended 1988" and clear Year built; choose Overall condition C with a survey date; save. Then try a survey date in the future, and a survey date with no condition | The page shows Listed building: Grade II and Conservation area: Yes; Acquired shows under Tenure; Year built has been filled in as 1936; Overall condition shows under Site and buildings with the survey date; both wrong entries are refused with a message | |
| C18 | Vacancy | Open a vacant unit such as DM-E01-U03. In Edit this property change Vacancy status to Under offer and set Available until earlier than Available from. Correct it and save. Then change Occupation status to Let to a third party and save | The page shows a tag beside Vacant (green Available, then yellow Under offer) with the vacant since and available dates; the wrong date is refused; once let, the vacancy details are gone from the page and from the edit form | |
| C19 | Planned disposal | Open DM-N06 Former Northfield bus depot and read Planned disposal. In Edit this property change the method to Community asset transfer and save. Then enter Disposed of on and a disposal price and save | Planned disposal lists the reason, method, expected date and expected value; after completion the page shows Disposed of with the date, price and method, and the Planned disposal row is gone | |
| C20 | Running costs and rates | As a Surveyor, in Edit this property on a property you manage, under Running costs and rates add a line for the year starting 2023 with a running cost only. Try a second line for the same year. Try a line with a year and no figures | The page lists the years newest first, written as 2023-24; a second line for the same year is refused; a line with no figures is refused | |
| C21 | Government Property Data Standard export | As a Surveyor open Reports, then Government Property Data Standard export. Read How complete the records are and open the list of fields not exported. Download the workbook and open it. Then sign in as a Viewer and look for the link in Reports | The page gives the number of records in each sheet, a share recorded for each field, and says it is a mapping and not a certificate of compliance; the workbook has six sheets (About, Properties, Contracts, Vacant spaces, FM assets, Fields not exported); headings carry reference numbers, such as Listed Building [2.2.0004]; the row for DM-N03 shows Yes: Grade II; Contracts holds only agreements where the council is tenant; no tenant's name appears; the Viewer has no link and is refused the page | |
D. Map and titles
| ID | Test | Steps | Expected | Result |
|---|
| D1 | Map loads | Open Map; zoom to Exampleton, then Northfield | Boundaries shown for both districts; legend matches colours | |
| D2 | Select on map | Click a boundary | Property name and link shown | |
| D3 | Draw from parcels | On DM-S06 join the two registered parcels into one boundary | Boundary saved; site area recalculated | |
| D4 | Titles | Open title ZZ100014 (DM-N06) and the unregistered title for DM-N05 | Title class (qualified, unregistered), deeds location and linked properties shown | |
| D5 | Title documents | Open the official copy on ZZ100001 | PDF opens; only signed-in users can open it | |
Tests E–J: agreements and casework
E. Parties and agreements
| ID | Test | Steps | Expected | Result |
|---|
| E1 | Parties | Open Northfield Group plc | Shows it guarantees DL-0503; contact details and finance reference shown | |
| E2 | Agreement types | Open DL-0505 (lease), DL-0523 (licence), DL-0525 (farm business tenancy), DL-0522 (telecoms) | Each shows the right type, term, rent and frequency | |
| E3 | Leased in | Open DL-0530 and DL-0100 | Shown as held by the council; rent counted as paid, not received | |
| E4 | Rent schedule | Open DL-0034 | First-year concession then full rent; current rent correct for today | |
| E5 | Breaks | Open DL-0502 and DL-0519 | Break date, who can break, notice period and last notice date shown | |
| E6 | Holding over | Open DL-0507 | Status Holding over; appears in the holding-over report | |
| E7 | New agreement | As Surveyor create a lease of DM-N01-U04 with a 5-year review and a break | Saved; review, break and expiry events created and assigned to the managing surveyor | |
| E8 | Deposit | Open DL-0502 | Deposit amount, where it is held and who gets the interest shown | |
| E9 | Agreement flags | Agreements: filter by each flag in turn (time is of the essence, rent demands on hold, arrears passed to debt collectors or legal, has its own billing contact) | DL-0001 (essence, billing contact), DL-0031 (on hold) and DL-0024 (arrears passed on) appear under the right flags, and each is tagged on its own page | |
| E10 | Billing contact | Open DL-0001; then on an agreement with no billing contact select Edit this agreement and add only a billing email | DL-0001 shows its own billing contact; the other shows the tenant's main contact with your email in place of theirs | |
| E11 | Document review date | On an agreement add a document with a date for review in the past | Listed on the agreement with its review date marked overdue; appears in Documents to review (B13) | |
| E12 | Tenant's insurance certificate | Open DL-0021; then an agreement where the tenant insures and no certificate is held, and select Start a case to get the tenant's insurance certificate | DL-0021 shows the certificate held; the other shows a warning; the new case is linked to the agreement and has its tasks | |
| E13 | Add several documents to an agreement by dragging | As a Surveyor, open an agreement on a property you manage. Under Documents, drag two PDFs onto Add documents, choose Deed of variation as the type, and select File them. Try again with a Word file. Sign in as a Viewer and open the same agreement | Both PDFs are listed under Documents as deeds of variation, named after their files; the Word file is refused with a reason; the Viewer sees the documents but no Add documents box | |
| E14 | Read a lease in PHAEMA's PDF reader | Open an agreement that has a PDF under Documents and select the document. Move to the next page, type a page number, zoom in, select Fit width, then Rotate. Select a small page in the strip at the side, then select Pages to hide the strip and open the document again. Type a word that is in the lease into Find in this document and press Enter, then use the arrows. Select Download, then Print. Select the Back link. Repeat on a phone. Lastly, add a scanned PDF and a password-protected PDF and open each | The lease opens inside PHAEMA on its own page, named as it is on the agreement, with a link back to the agreement. Pages, zoom, fit and rotate work. The strip shows every page, outlines the current one and goes to the page selected; once hidden it stays hidden the next time; on a phone it starts hidden. Find highlights every match, says how many there are and moves between them. Download saves a copy with a recognisable name; Print opens the browser's own PDF reader in a new tab. Back returns to the agreement. On a phone the controls wrap and the document fills the width. The scan displays but Find reports Not found; the protected PDF shows a message and a download link | |
| E15 | Options and rent-free periods | Open DL-0502 and Edit this agreement. Under Options add an option to renew, exercisable by the tenant, must be exercised by a date eight months away, with terms. Set Rent-free until to a date three months away; save. Open Events | The agreement page lists the option with its dates and terms and shows the rent-free date; Events has an Option deadline and a Rent-free period ends event on those dates, assigned to the managing surveyor | |
F. Lease events and reminders
| ID | Test | Steps | Expected | Result |
|---|
| F1 | Events list | Events: filter by type, overdue, next 6 months, assigned to me | Correct events; overdue in red | |
| F2 | Record a review | Settle an open rent review at a new rent | Event done; rent schedule gains the new rent from the review date | |
| F3 | Lapsed breaks | Find a break date in the past | Shown as lapsed, never overdue | |
| F4 | Reminders (IT) | Run python manage.py send_reminders | Emails list each surveyor's due events at the configured lead times | |
| F5 | Calendar feed | Subscribe to your calendar link in a calendar app | Your events appear with correct dates | |
| F6 | Estimated rental value | Open the rent review on DL-0001 and the lease expiry on DL-0004; change the estimated rental value on one; then open a break event | The estimated rental value is shown against the current rent and your change is saved; a break event has no estimated rental value box | |
| F7 | Time of the essence on events | Edit an agreement and tick Time is of the essence in the rent review section; open Events filtered to rent reviews where time is of the essence; open My work for its surveyor | Its open rent review is listed and tagged, and marked on My work; the dashboard count (B12) rises by one | |
G. Cases and approvals
| ID | Test | Steps | Expected | Result |
|---|
| G1 | Case list | Cases: filter by stage, owner, past target, waiting for approval | Correct cases; RAG tags match target dates | |
| G2 | New consent case | Open a consent to assign on DL-0511; acknowledge; mark the application complete | Target date set from the application date (28 days); tasks created | |
| G3 | Tasks | Tick tasks done; add your own task with a due date | Saved with who and when; overdue tasks show on My work | |
| G4 | Correspondence | Log a letter; file an email (.eml) with an attachment | Both in the timeline; attachment stored on the case | |
| G5 | Confidential notes | Add a confidential note; view as Contributor | Contributor sees a count of hidden notes, not the text | |
| G6 | Approval gate | Try to move a consent case to Decision | Replaced by Ask for approval | |
| G7 | Ask, return and approve | Ask for approval; as supervisor Return without comments, then with; ask again; Approve | Returning needs comments; emails sent each way; history kept on the case | |
| G8 | No self-approval | As the requester, post an approval | Refused | |
| G9 | Reassign | As Administrator send a waiting approval to someone else | New approver sees it on My work | |
| G10 | Decide and close | Record Granted with conditions, then close | Conditions need written reasons; case closes | |
| G11 | Fee | Raise a case fee | Charge created on the rent ledger, linked to the case | |
| G12 | Event cases | Open the case for an upcoming rent review | Linked to the lease event; closes when the event outcome is recorded | |
| G13 | Site visit sheet for a site with several buildings | Open the case Valuation of Northfield Business Park at 31 March 2027 and select Site visit sheet | Four parts: The case, Before you visit (the HGV hazard on the roads and verges, the asbestos warning, the occupiers with contact names and phone numbers), The property, and On site. On site has a list for the visit as a whole, then a list each for the Hangar block and the Workshop block showing steel portal frame, the roof and the services beside the items | |
| G14 | Site visit sheet for a consent, and a case with no property | Open a consent case on an agreement and select Site visit sheet. Then add a General enquiry case with no property or agreement and open it | The consent sheet names the tenant with their contact details and the agreement, has one checklist (no list per building) with items about the proposal, and has no Location, Title or Floor areas sections. The case with no property has no Site visit sheet link | |
| G15 | Sheet on a phone, printed and in Word | Open the G13 sheet on a phone. On a computer select Print and look at the preview, then Download as Word | On the phone everything is in one column with no sideways scrolling. The print has no menus or buttons, boxed tables and empty boxes to write in. The Word file opens with the same content and tick boxes | |
| G16 | File several documents and emails by dragging | On a computer, open a case you own. Drag two PDFs and a saved email (.eml or .msg) from a folder onto the File documents and emails box, leave Emails were as Received, and select File them. Then drag a file of a type PHAEMA does not accept (such as a .zip) with another PDF and file them. Lastly, in Add a document, drag one PDF onto Choose file | The box shows 3 files chosen, then the message Filed on this case: 2 documents and 1 email. The documents are named after their files; the email appears with its sender, date and subject. The second time the PDF is filed and the other file is listed as not filed. The single chooser shows the dropped file's name | |
H. Heads of terms and the 1954 Act
| ID | Test | Steps | Expected | Result |
|---|
| H1 | Heads of terms | Open the Studio 2 new letting case (Northfield); fill all 16 items | Counter rises to 16 of 16; current lease terms shown as hints for renewals | |
| H2 | Unrepresented tenant | Mark the tenant unrepresented without a Code date | Decision blocked until the RICS Code date is given | |
| H3 | Section 25 notice | On the Unit 7 renewal case check the notice dates | Court deadline and counter-notice dates calculated; ground (f) opposition shown | |
| H4 | Section 26 request | On Brookside Joinery's renewal case change the date served | Deadlines recalculate; warnings for impossible dates | |
I. Standards checks on cases
| ID | Test | Steps | Expected | Result |
|---|
| I1 | Conflict of interest | Try to ask for approval before confirming conflicts; then declare one with details | Blocked first; declaration saved and shown to the approver | |
| I2 | Dilapidations | Open the Unit 4 dilapidations case; enter a settlement | Schedule £68,500, response £31,000; gap to the schedule shown | |
| I3 | MEES warning | Open a new letting case for DM-N01-U04 (EPC G) and DM-N12-U02 (no EPC) | Warning about the rating, and about the missing EPC | |
| I4 | Before you visit | Open a case, job and valuation on DM-N04 Leisure Centre | Panel lists the pool plant room hazard, asbestos information and open actions | |
J. Document library
| ID | Test | Steps | Expected | Result |
|---|
| J1 | Browse | Documents: browse by category | All templates listed with their legal source | |
| J2 | Fill from a case | From a consent case create a consent approval letter | Tenant, premises, lease date and case reference filled in; gaps highlighted | |
| J3 | Export to Word | Download the letter as Word | Opens in Word with letterhead, page numbers; unfilled items highlighted yellow | |
| J4 | Prescribed forms | Create a section 25 notice | Particulars only, with a warning to use the prescribed form | |
| J5 | Add a template | As Administrator add a new template with merge fields | Available to surveyors; fields fill correctly | |
| J6 | Template language limits | As Administrator, edit a copy of a template: add {% debug %}, then {{ tenant_name|pprint }}, then {% now "Y" %}, saving after each; then {{ tenant_name|upper }} | The first three are refused with a message when saving; the last saves and the letter shows the tenant's name in capitals | |
Tests K–O: income and buildings
K. Rent ledger
| ID | Test | Steps | Expected | Result |
|---|
| K1 | Rent account | Open DL-0506 Northfield Joinery Workshop | Monthly charges, receipts and running balance; last two months unpaid | |
| K2 | Arrears | Rents, Arrears | DL-0506, DL-0512, DL-0518 and Exampleton's DL-0016 and DL-0024 listed, aged into 1–30, 31–60, 61–90 and 90+ days | |
| K3 | Part payment | Open DL-0514 Northfield Bakery | Latest charge part paid (about 40%) | |
| K4 | Demand run | Issue the next quarter's demands; issue it again | Charges created once only, with VAT where chargeable | |
| K5 | Credit note | Credit £100 on a charge, then try without a reason | Credit created with a reason; refused without one | |
| K6 | Receipts import | Import a CSV of receipts with one bad reference | Good rows matched to invoices; bad row reported, nothing half-loaded | |
| K7 | Finance export | Export charges to finance; export again | File has new charges only; exported charges are locked | |
| K8 | Module off | Switch the rent ledger off; reopen Rents | Section says it is switched off; menu link gone | |
| K9 | Demands on hold | Start a demand run for a period that includes DL-0031 | The preview names DL-0031 as on hold; no rent or service charge is raised for it | |
| K10 | Take a hold off | In Edit this agreement untick Rent demands on hold on DL-0031; run the same dates again | DL-0031 is charged once; no other agreement is charged twice | |
| K11 | Arrears passed on | Rents, Arrears: filter to arrears passed to debt collectors, then to those not passed on; download the list | DL-0024 is tagged with the date and reference; each filter shows the right agreements; the download has the same rows and the referral columns | |
| K12 | Billing contact on demands | Open the rent account and a statement for DL-0001; export its charges to finance | The account and statement show the billing contact; the export uses the billing address and ends with Billing contact and Billing email columns | |
| K13 | Email demands without Notify | As an administrator tick Email demands and add a payment link; open a demand run, choose Email these demands to tenants, open the example, then Record the emails; choose it again | Warning that Notify is not set up; the example lists the charges, total and Pay now link; one email per agreement with an address is recorded, not sent; agreements without an address are listed; the second time nothing new is recorded | |
| K14 | Email demands through Notify | With a Notify test key and template set, email a new demand run; give one agreement a wrong address first | Good emails show Sent to GOV.UK Notify; the refused one shows Not sent and can be tried again; Settings, Emails to tenants lists them all and cannot change or delete them | |
| K15 | Who can email demands | As a Viewer in Finance, open the email page for a demand run; untick Email demands and open it as an administrator | Refused both times; the demand run page no longer offers to email | |
| TP1 | Tenant portal off | With Tenant portal unticked in the settings, open /tenant/ | Page not found | |
| TP2 | Sign in with a code | Tick Tenant portal; on a test site with PHAEMA_PORTAL_SHOW_CODES, sign in at /tenant/ as mark@portal.example; then try nobody@example.com | The code page shows the code; signing in shows DL-0506 only, with the welcome. The unknown address gets the same code page and no code works | |
| TP3 | Wrong codes | Ask for a code, enter a wrong one five times, then the right one | Refused each time, including the right code after five wrong tries | |
| TP4 | What a tenant sees | As mark@portal.example open DL-0506; change the address bar to another agreement's or document's number | Balance, overdue by age, next credit control step, demands with Pay now, statement, key dates, shared documents only. Other agreements and unshared documents: page not found | |
| TP5 | Accounts and sharing | As a surveyor add a portal account in Manage data; share a document on the agreement; untick Active on the account while the tenant is signed in | Invitation recorded in Emails to tenants; the document appears in the portal; the tenant is signed out at the next click | |
| TP6 | Contact change | As the tenant ask to change the contact for demands; as the managing surveyor open the dashboard item and accept it | Nothing changes until accepted; then the agreement's billing contact shows the new details; the change log shows Tenant portal with the tenant's name | |
| TP7 | Facilities only | Give an account Facilities but not Finance and sign in | Key dates and shared documents only; no amounts, demands or contact change | |
| TP8 | Tenant reports a repair | With maintenance on, sign in as mark@portal.example, open DL-0506, Report a repair with a photo and tick the risk box | Reference shown; the agreement page lists it as waiting to be looked at; the managing surveyor's dashboard shows it, marked as a possible risk | |
| TP9 | Triage to a job | As the surveyor open Maintenance, Repair reports, open it, raise a job with a reply | Job created with who pays from the repairing terms and a target date; the job links to the report and photo; the tenant sees Job raised, the target, who pays and the reply | |
| TP10 | Other triage decisions | Mark one report as the tenant's to repair without a reply, then with one; link another to an open job | Refused without a reply; then the tenant sees the reply and Tenant's responsibility; the other shows Already reported with the job's target | |
| SP15 | Department reports a repair | As a property liaison open a building and Report a repair; as a read-only head of service open the same building | Report appears in the triage queue from the department; both see it on the building page; the read-only person has no Report a repair button | |
| TP11 | Tenant makes a request | As mark@portal.example open DL-0506, Make a request, choose Licence for alterations, attach a PDF and send | The form shows the guidance and documents to attach; a case opens, received Tenant portal, owned by the managing surveyor, with the request filed as correspondence and the PDF; the agreement page lists it with its stage and target date | |
| TP12 | What the tenant sees of a case | As the surveyor add a document and a note to the case, then share the document; record a decision with conditions | The tenant sees the document only once shared, never the note; then the decision with its conditions. Cases not made in the portal (such as arrears) never appear | |
| SP16 | Department space request | As a property liaison open a building and Make a request (Space request from a department); as a read-only head of service open the building | A space request case opens for the managing surveyor; both see it on the building page; the read-only person cannot make a request | |
| TP13 | Service charges in the portal | With service charges on, record budget issued to tenants on a year; sign in as a tenant with facilities rights; then reconcile the year and record year-end statements issued | Nothing shown before the budget is issued; then the budget statement; after reconciliation the year-end statement with the same balance as the staff statement (not zero) | |
| TP14 | Query a line | From the budget or statement, choose a line and ask a question | A Service charge query or dispute case opens for the managing surveyor, received through the tenant portal; the tenant sees it under Requests | |
| TP15 | Tenant certificate | Mark a gas safety requirement as the tenant's; as the tenant send a certificate; as the managing surveyor check it | The tenant sees it under Certificates you provide, then In date; the dashboard shows Certificate from a tenant to check; Mark as checked records who and when. A future date is refused | |
| TP16 | Certificate reminders | Run the daily tasks with a tenant's certificate missing; run them again; let it come within 30 days of running out | One reminder email per facilities account, recorded in Emails to tenants, with a link to send it; no repeat within 30 days; a new reminder when it is about to run out | |
| TP17 | Messages | Arrange cover for the managing surveyor; as the tenant send a message; as the person covering open the dashboard item and reply | Both surveyor and cover are emailed (without the text) and see Message from a tenant; after the reply the item goes, the tenant is emailed and sees 1 new reply and the answer | |
| TP18 | Insurance certificate | On an agreement where the tenant insures, send a certificate with a past end date, then a future one | The past date is refused; the certificate is filed with the agreement's documents as sent by the tenant, with the end date for review; the portal shows its date | |
| TP19 | Deposit and payment plan | Record deposit entries and a payment plan on an agreement; sign in with finance rights, then facilities only | Finance sees the deposit held and movements, and the plan with progress and instalments; facilities only sees neither | |
L. Service charges
| ID | Test | Steps | Expected | Result |
|---|
| L1 | Schedules | Service charges: open both schedules | Riverside (6 leases) and Northfield Business Park (8 leases); empty units borne by the council | |
| L2 | Apportionment | Open the Northfield apportionment matrix | Shares by floor area add to 100%; DL-0509 cap applied, excess borne by the council | |
| L3 | Budget and demands | Approve next year's budget; issue the budget | Quarterly on-account demands appear on each tenant's rent account | |
| L4 | Spending | Add a cost; import spending with Category and Tenants agreed columns | Costs appear against headings; budget v actual updates | |
| L5 | Improvements and BSA defects | Save a recoverable improvement without tenants' agreement; mark a cost as a Building Safety Act defect | First refused; defect forced to not recoverable | |
| L6 | Late issue | Record statements as issued after the four-month deadline, without and with a reason | Reason required; printed on the statement with an apology | |
| L7 | Year end | Reconcile last year and open a tenant statement | Balancing charge or credit per tenant; certified-by shown | |
| L8 | Deadlines (IT) | Run the weekly deadline email | Administrators get budgets and statements due in 60 days | |
M. Maintenance
| ID | Test | Steps | Expected | Result |
|---|
| M1 | Report a repair | Report a job on DM-N05 Community Hall | Target date set from priority; responsibility suggested from the lease | |
| M2 | Emergency job | Open the pool hall ceiling job at DM-N04 | Emergency, ordered, target today | |
| M3 | Works order approval | Open the roof lantern job (DM-N09, £14,800), waiting for Sam Hughes; as Administrator approve it, then issue the order | Order held until approved | |
| M4 | Works order | Issue an order and download it | Order names the contractor, property, job, priority and target date | |
| M5 | Complete and recharge | Complete the graffiti job on DM-N01-U06 and raise the recharge | Recharge invoice on the tenant's account | |
| M6 | Tenant's repair | Open the shop front glass job at DM-N02-U06 | Responsibility Tenant, with the lease reason | |
| M7 | Planned maintenance | Planned: filter overdue and statutory | Leisure centre water temperatures and library emergency lighting overdue; jobs raised automatically when due | |
| M8 | Components | Components: filter by building and surveyor; condition D | Library flat roof (D) listed with replacement cost | |
| M9 | Contractors | Open Clearview Glazing Northfield | Insurance expiring within 30 days flagged | |
N. Compliance and the Golden Thread
| ID | Test | Steps | Expected | Result |
|---|
| N1 | Overview | Compliance: filter to DM-N04, then to Owen Jones | Leisure centre: TM44 missing, emergency lighting expired, actions open on the FRA and EICR. Library (DM-N03): FRA expired, EICR unsatisfactory | |
| N2 | Record a certificate | Upload a new emergency lighting certificate for DM-N04 | Status turns Valid; expiry calculated from the inspection date | |
| N3 | Remedial actions | Open the DM-N04 fire risk assessment | One action open (escape route), one done; mark it done | |
| N4 | EPC below E | Report EPC rated F or G | DM-N01-U04 (G), DM-N02-U07 (F) and DM-E01-U03 (F) listed | |
| N5 | Golden Thread tier | Open DM-N03 building safety | Tier B, height, responsible person and who confirmed it | |
| N6 | Building documents | Upload a new version of the DM-N03 asbestos register | Old version kept as superseded; Before you visit links the new one | |
O. Asset valuation
| ID | Test | Steps | Expected | Result |
|---|
| O1 | Programme | Asset valuation: this year's programme | Every classified asset due this year listed, with assignee | |
| O2 | Assign | Assign DM-N09 to the external valuer, and DM-N03 to Lena Chen | Assignee emailed; appears on their My work | |
| O3 | Record and accept | Enter a fair value with land and buildings that do not add up; correct; accept as Administrator | Refused until they add up and the fair value level is set; accepted ones are locked | |
| O4 | Indexation | Open DM-N04 (valued 2022) | Indexed value to the year end shown with the factor | |
| O5 | Audit query | Answer the open audit query on the market hall, report it, then close | Statuses move to reported and closed; auditor's due date shown | |
| O6 | Year-end schedule | Download the schedule for finance | Every asset, value, fair value level and indexed value | |
Tests P–S: data in and out, administration
P. Reports
| ID | Test | Steps | Expected | Result |
|---|
| P1 | Ready-made reports | Run every ready-made report once | Each runs without error; module reports appear only when the module is on | |
| P2 | Check figures | Run Rent roll, Lease expiries in 12 months, Certificates expired; compare with the records | Rows and totals agree with the source records | |
| P3 | Build a report | New report on Leases: pick columns, number their order, filter rent at least £15,000 and expiry in the next 2 years, sort, show totals | Correct rows, column order and totals | |
| P4 | Blank filter | Properties report: UPRN is blank | Properties without a UPRN only | |
| P5 | Download | Download P3 as Excel and CSV | Same rows as the screen; every row, not just the first page | |
| P6 | Share and copy | Share P3; as another Surveyor copy and change it | Colleague can run and copy, not edit the original | |
| P7 | Filters on list pages | On components, compliance and planned maintenance, filter by building DM-N01 and by surveyor | Only records on that building, or that surveyor's properties | |
| P8 | Lease documents report | New report on Lease documents: filter to a review date before today; download it | Lists the overdue documents from B13 with their agreement, type and review date | |
| P9 | New columns | In reports on Properties and on Leases add Portfolio, Estate strategy section, Holding purpose review date, Time is of the essence, Rent demands on hold and Estimated rental value | Each column is offered and is filled where the record has a value (for example DL-0001 and DL-0031) | |
| P10 | Site and building columns | Build a property report with the columns Construction, Roof type, Roof covering, Electricity and Solar capacity kWp; filter Roof type to Flat; download to Excel | DM-N03 Northfield Library is listed with concrete frame and mastic asphalt; the business park blocks are not; the download has the same rows and columns | |
Q. Imports and exports
| ID | Test | Steps | Expected | Result |
|---|
| Q1 | Templates | Import: download each template | Spreadsheet with headings, guidance and an example row | |
| Q2 | Property import | Import five new properties including Site hazards; then the same file with one change | First adds five; second updates one; nothing duplicated | |
| Q3 | Validation | Import a file with a missing reference, a bad date and an unknown surveyor | Every problem listed by row; nothing imported until fixed | |
| Q4 | Leases and parties | Import parties, leases and breaks in one workbook | Records linked; events created | |
| Q5 | Valuer's figures | Import returned valuation figures for two assets | Values recorded as received | |
| Q6 | Components | Import a component list for DM-N03 | Components appear with lifecycle dates | |
R. Open data and API
| ID | Test | Steps | Expected | Result |
|---|
| R1 | Transparency Code list | Download the land and assets file as CSV, JSON and GeoJSON | Northfield and Exampleton assets with UPRN and grid reference; DM-S09 left out | |
| R2 | Available property | Download available property | Vacant lettable units only, such as DM-N01-U04 and DM-N02-U03 | |
| R3 | API | Open API docs; call the properties endpoint signed in, then signed out | Data returned when signed in; refused when not | |
S. Change log, settings and administration
| ID | Test | Steps | Expected | Result |
|---|
| S1 | Change log | Edit a lease rent; open Changes | Who, when, before and after values shown; filter by person works | |
| S2 | Supervisors | Set a supervisor on a user record | Their approval requests go to that supervisor | |
| S3 | Branding | Change the organisation name and brand colour | Header updates for everyone | |
| S4 | Modules | Switch maintenance off and on | Menu, dashboard panels and reports follow the setting; no data lost | |
| S5 | Case types | Change which stages need approval for one case type | New cases follow the new setting | |
| S6 | Help pages | On a property, a case and the dashboard, select Help with this page; search Help for "hand over" | The matching help page opens with screenshots; search finds Users and roles | |
| S7 | Training courses | Help, Training courses; open the System administrator course and complete the Users module | Steps show highlighted screenshots, including Hand over work; the exercise answer (Sam Hughes) and the quiz are marked correctly; progress is kept after reloading | |
| S8 | Two-step rule | In Manage data set two-step sign-in to required for everyone; sign in as a Viewer; set it back | The Viewer is asked to set up two-step sign-in before doing anything else | |
| S9 | Test account requests | On a public test site only: signed out, select Request a test account and send the form; as Administrator open Manage data, Test account requests and choose Approve as surveyor | The person is emailed their username and a one-time link; after choosing a password they sign in as a Surveyor | |
| S10 | Change a site visit sheet | As an Administrator, in Manage data, Case types, open Encroachment or trespass. Untick every part of the property information except Key facts. Add a checklist item: heading Fence, item Height of fence, answer Number or measurement. Add another: heading Fence, item Material, answer One of a list, list Timber, Wire, Hedge. Save, then open the sheet of the case Timber stored on the estate road verge. Sign in as a Surveyor and open the same sheet | The sheet shows only the key facts of the property; the new items appear under Fence with a blank to write in and three tick boxes; Before you visit is still there. The Administrator sees Change this sheet for all cases of this type; the Surveyor does not. The change is in the change log | |
Tests PJ: projects
Run these on days 4–5 with casework. The demo data has three projects: PRJ-2026-001 Northfield Business Park phase 2 (a development led by Lena Chen), PRJ-2026-002 Depot site acquisition, Mill Lane (confidential, led by Rob Baker, with Jo Patel and Sam Hughes on the team) and PRJ-2026-003 disposal of surplus land at Oak Street and Lower Farm. Reload the demo data afterwards: PJ7 and PJ12 change it.
| ID | Test | Steps | Expected | Result |
|---|
| PJ1 | Start a project | As a Surveyor, Projects, Start a project; choose Acquisition, give a proposed site and title number | Created with the next PRJ reference, in Idea, confidential, with starter tasks | |
| PJ2 | Who can start | As a Viewer, type /projects/new/ | Refused | |
| PJ3 | Confidential | As a Surveyor not on PRJ-2026-002's team, open Projects, a DM-N01 property page and Reports, Projects; type its address | It appears nowhere; the address shows page not found | |
| PJ4 | Access log | As an Administrator, open PRJ-2026-002 | Who has opened it lists each opening, including yours | |
| PJ5 | Gateways | On your PJ1 project, record gateway 1 Approved, then gateway 2 Deferred, then Rejected | Moves to Business case; stays there; then Stopped with the reason | |
| PJ6 | Milestone status | On PRJ-2026-001, set a milestone's target to yesterday | The project shows red, Milestone missed | |
| PJ7 | Budget | On PRJ-2026-001, enter figures for a year with forecast above approved | Totals by financial year and "over budget" shown | |
| PJ8 | Who sees the budget | Give a Surveyor test account only Estates, then only Finance; open PRJ-2026-001 | Budget hidden with Estates only; shown and editable with Finance | |
| PJ9 | Spending import | As a finance officer, Import, Project spending, with a row for PRJ-2026-001 and a made-up budget line | The made-up line is rejected by name; a correct row updates the actual figure | |
| PJ10 | Risks and linked work | Add a risk with likelihood 4 and impact 5; link an open case by reference | Score 20, High, listed first; the case page shows Part of project | |
| PJ11 | Proposed site | On your PJ1 project, Draw the proposed site with one known INSPIRE ID and one made-up ID | The made-up ID is named and nothing changes; with known IDs only, the boundary shows on the map | |
| PJ12 | Completion checklist | Open PRJ-2026-003; follow Record the disposal for DM-S06 and save a completion date and price | Checklist ticks that step itself; DM-S06 shows Disposed of and is gone from the open data download | |
| PJ13 | Prefilled forms | Open PRJ-2026-002's checklist and select Add the property and Add the title | The forms open with the site address and title number filled in; nothing is saved until you save | |
| PJ14 | Hand over | Hand over work for Rob Baker | Projects he leads, his team places, project tasks and risks are listed and can go to another Surveyor | |
| PJ15 | My work and phone | Add a Surveyor test account to PRJ-2026-001's team and give it a milestone, then open My work as that account; then a project page at phone width | My projects and project milestones appear; the project page fits without sideways scrolling | |
Tests SP: space and costing
Run these on days 8–9 with the buildings tests. DM-S30 Exampleton Civic Centre is an invented building shared by four departments, the library and an NHS clinic; Northfield Library has public use figures. Both have two years of costs.
| ID | Test | Steps | Expected | Result |
|---|
| SP1 | Module switch | As Administrator untick Space and costing in Module settings. Look under Buildings, open DM-S30's property page and type /space/. Tick it again | No Space and occupiers link, no Occupiers section on the property page, and the address is not found; all return when ticked again | |
| SP2 | Stacking plan | Open Buildings, Space and occupiers, then DM-S30 Exampleton Civic Centre | Three floors, top first; six occupiers as coloured blocks sized by area; the NHS clinic striped with an Outside tag; shared space grey; 100 m² vacant on the second floor hatched; the occupiers table gives area, shared space, people, capacity, use and m² a person | |
| SP3 | Add a room and an occupier | As the Surveyor who manages DM-S30 (or an Administrator), add a room on the first floor of 50 m² with capacity 6. Add an occupier in it with 40 m². Then try 60 m² | The room and the occupation appear on the stacking plan and in the table, and you return to the building page; 60 m² is refused as more than the room | |
| SP4 | Shares over 100% | Add a third occupier to the second-floor open-plan office with a 50% share | The building page warns that the shares in that space add up to more than 100% | |
| SP5 | Headcount and earlier dates | Record headcount for Housing Services at DM-S30 for today. Then add ?on= with a date before 1 October 2025 to the address | Housing Services' people, use and m² a person change; on the earlier date the NHS clinic is not there | |
| SP6 | Who sees costs | Give a Surveyor test account only the Estates area and open DM-S30's space page and /space/costs/. Then add the Finance area and open them again | With Estates only, no costs section and Costs by occupier is refused; with Finance, costs for the year are shown with each occupier's share | |
| SP7 | How costs are shared | As a finance officer, on DM-S30 choose Change how costs are shared: By headcount, then Fixed percentages with 70% for one occupier only, then By floor area held | Each method changes the shares and is named beside the table; fixed shares warn which occupiers have none and leave 30% not shared out; by area, vacant space is its own line staying with the corporate landlord | |
| SP8 | Costs by occupier and the workbook | Open Costs by occupier for last year and select Download for finance | Totals by occupier across both buildings with £ a m² and £ a person and the cost of vacant space; the workbook has By occupier, By building, Costs and sources and About sheets | |
| SP9 | Occupiers on the property page | Open the DM-S30 property page as the Estates-only Surveyor, then as a finance officer | An Occupiers table with each occupier's area and people and a link to the space page; the cost column and the year's total appear only for the finance officer | |
| SP10 | Occupation in the property report | Open Property report on DM-S30 as each of the two accounts in SP9, then Download as Word | An Occupation section with the floor-by-floor table and an empty Checked on site column, and the per-occupier table; Occupation costs appears only for the finance officer; the Word file has the same sections | |
| SP11 | Occupation on the site visit sheet | As Administrator, in Manage data, Case types, Asset valuation, tick Occupiers floor by floor, headcount and use of space under Property information on the site visit sheet. Open the site visit sheet of the valuation case on DM-S30 | The sheet prints the Occupation section with the Checked on site column | |
| SP12 | Department liaison sees only their buildings | As an administrator, make a test account with no role and choose it as property liaison for Housing Services in Manage data, Occupiers. Sign in as it; try the Properties, Leases and Space addresses | Lands on Your buildings showing DM-S30 Exampleton Civic Centre; the stacking plan names every occupier but the table shows Housing Services only; the other addresses are refused | |
| SP13 | Liaison records headcount; surveyor checks it | As the liaison, open the Civic Centre and record 95 people as at today. Sign in as the building's managing surveyor and open the dashboard item | The figure shows at once with Waiting to be checked; the surveyor sees Headcount from a department to check, the earlier figure beside it, and Mark as checked clears it; the change log names the liaison | |
| SP14 | Read-only person and ending access | Add another no-role account under Can see, read only; sign in as it. Then remove both people from the occupier and sign in again | The read-only person sees the buildings but no form to record figures; once removed, both get You do not have access | |
Tests ST: estate strategy
Run these on days 4–5 with casework. DM-S04 Mill Lane depot has an asset strategy decided six years ago, so its review is overdue, and an Asset Challenge in progress; DM-E01 Riverside Industrial Estate is on Retain as is and its units follow it; Northfield Library is graded C. The demonstration estate strategy runs 2026 to 2031 with four objectives; the head of estates (demo.head) leads this year's health check, part answered, and last year's is finished.
| ID | Test | Steps | Expected | Result |
|---|
| ST1 | Sub-categories | As Administrator, Manage data, Holding purpose sub-categories: add Community: Village halls. In Edit this property on DM-S05 choose it; then try Operational: Depots on the same community property | Village halls is offered and saved; a sub-category of another purpose is refused with a message | |
| ST2 | Parts follow the whole | Open a unit on DM-E01, for example DM-E01-U03, and read Strategy | Asset strategy Retain as is, "follows DM-E01 Riverside Industrial Estate", with who decided and the minute reference | |
| ST3 | Record a strategy already decided | As the Surveyor who manages DM-N06 (or an Administrator), Record an asset strategy already decided: Dispose now, decided last month by Cabinet, minute CAB/26/12, with a reason. Then try a decision date next week | Saved: the page shows Dispose now, the reason and Cabinet, CAB/26/12; Strategy review is set five years after the decision; Earlier decisions lists the previous one; Start a disposal project is offered; the future date is refused | |
| ST4 | Start what follows | On DM-N06 select Start a disposal project and save the form | The form names the project after the property and says it will be added; the new project lists DM-N06 as to dispose of | |
| ST5 | Asset Challenge, proposal and approval | Open the Asset Challenge on DM-S04. Change the proposed asset strategy to Release space and save. Confirm no conflict, then ask for approval with a recommendation; as the supervisor, approve it | The panel shows the strategy now (Retain as is) and the proposal; the approval works as for other cases | |
| ST6 | Asset Challenge, decision | Record the decision Approved, with no reasons; then with reasons, the strategy Release space, decided by Asset Management Board, a meeting date and minute AMB/26/4 | Without reasons it is refused; then DM-S04's page shows Release space with the board, date and minute and a link to the case; the review is no longer overdue | |
| ST7 | Refused challenge | Start an Asset Challenge on DM-N03, approve it to the decision stage, then record the decision Refused | The library's asset strategy is unchanged | |
| ST8 | Suitability | On DM-N04 Record suitability C with notes; then again with a future date | Grade C shows with the date and notes; Earlier decisions and grades lists B; the future date is refused | |
| ST9 | Reviews on My work | As the Surveyor who manages DM-S04 (before ST6), open My work | Strategy review for DM-S04 is under Needs attention now | |
| ST10 | Estate strategy page | Reports, Estate strategy. Select each figure: reviews overdue, Asset Challenges in progress, a strategy, a sub-category and grade C | Counts match the demo data; each link opens the property list filtered to those properties | |
| ST11 | Import | Download the property import template; fill a row for an existing property with Purpose sub-category, Asset strategy, decided on, reason and Suitability grade; import it twice | First import adds the decision (marked imported) and the grade; the second changes nothing | |
| ST12 | Reports and the property report | In the report builder add Asset strategy, Asset strategy follows and Suitability grade to a property report; open Property report on DM-E01-U03 | The columns are filled, including the inherited strategy; the property report lists the asset strategy, strategy review and suitability | |
| ST13 | Estate strategy page | As an administrator open Reports, Estate strategy | The demonstration strategy 2026 to 2031 shows as adopted, approved by Cabinet with the minute reference, with four objectives, each with owner, target, status and actions done | |
| ST14 | Suggested status | Open objective 1; compare PHAEMA's suggested status with the reported status | Where they differ the page says so and gives the reasons (for example a late project or overdue action) | |
| ST15 | Reporting progress | As the objective's owner, choose a status and write a progress note; then try as a surveyor who is not the owner | The owner's status and note are saved with the date; the other surveyor cannot change them | |
| ST16 | Action plan links | On an objective add a project by its PRJ reference, a case by its CAS reference and a stand-alone action with a target date; remove one | Each appears in the action plan with its own state; the removed one goes; confidential projects are not offered to people who cannot see them | |
| ST17 | Board report | On the Estate strategy page select Board report, then download it as Word | The report lists each objective's status, progress note, actions and exceptions; the Word file opens | |
| ST18 | Pipeline | Open Reports, Property events pipeline | Key figures by section for overdue, five financial years and no date; council as landlord and as tenant in separate sections; lapsed breaks are not listed | |
| ST19 | Pipeline filters and downloads | Choose a portfolio; download Excel and Word | Only that portfolio's events show; the Excel file has a key figures sheet and a sheet per section | |
| ST20 | Pipeline and projects | As a viewer, open the pipeline | Confidential acquisitions are not listed and project budgets show no value | |
| ST21 | Starting the health check | As an administrator open Estate strategy, Annual health check; choose the lead and start the year's check | The check starts with every question in use, unanswered; the lead sees it on My work | |
| ST22 | Answering | As the lead answer the Strategy heading (yes, partly, no), with notes and an evidence link, and save; try the same as another surveyor | Answers are saved with who and when, last year's answer and Better, Worse or Same show beside each; the other surveyor cannot answer but can add a note | |
| ST23 | Improvement action | On a no or partly answer, add an improvement action under an objective | The action appears in that objective's action plan and is linked from the answer | |
| ST24 | Finishing and the report | Write a summary, finish the check, open the report and download it as Word; as an administrator reopen it | The report shows the counts, the comparison with last year, the gaps and every answer; the finished check cannot be changed until reopened | |
Tests SV: site visits
Run these on day 4 with casework, on a phone where the test says so. The alterations case at DM-E01-U04 has a finished demonstration visit with two differences from the property record still to decide; its owner is demo.amorgan, who also manages the unit.
| ID | Test | Steps | Expected | Result |
|---|
| SV1 | Starting a visit | As the case owner open the alterations case at DM-E01-U04; select Start a site visit. Try as a surveyor who neither owns the case nor manages the property | A visit opens with the checklist and the recorded values; the other surveyor cannot start one | |
| SV2 | Saving by section | On a phone, answer one section and select Save this section; change an answer in another section without saving and reload | The saved section keeps its answers with the time; the unsaved change is lost; other sections are untouched | |
| SV3 | Answer kinds | Give a yes or no, a choice, a number and a written answer; try to submit an answer not on a list | Valid answers are kept; an answer outside the list is not saved | |
| SV4 | Photos | Take a photo with the phone camera about one item, ticking Also add to the property's photos; try a file that is not an image | The photo is saved smaller with no location data, linked to the item and also on the property; the bad file is refused with a message | |
| SV5 | Sites with buildings | Start a visit for a case on a site with several buildings | There is a section for the visit as a whole and one for each building | |
| SV6 | Finishing | Fill in the details and finish the visit | A note is added to the case; the record is in the case documents as Word; the visit can no longer be changed | |
| SV7 | Differences | Open the finished demonstration visit's record on DM-E01-U04 | Differences from the record are listed with Update the record and Leave as it was | |
| SV8 | Update the record | As the property's managing surveyor select Update the record on one difference and save; try as a surveyor who does not manage it | The property is updated and the change log shows who; the difference shows Record updated; the other surveyor sees To decide by the managing surveyor | |
| SV9 | Check-measure | On a visit with a floor areas item, enter measured areas and update the record | The form offers GIA, NIA, GEA, standard and source, with Measured survey and the visit date filled in; with Floor areas: show first set to IPMS it offers IPMS 1, 2 and 3 and their details instead | |
| SV10 | Reports, My work and hand-over | Check My work, the Site visits report and the Cases report's Last site visit column; hand over a leaver's work | Unfinished visits and differences to decide appear on My work; the report lists visits; unfinished visits move to the new person | |
Tests FA: floor areas and IPMS
Run these as an administrator on a site with the demonstration data. DM-S30 Exampleton Civic Centre (invented) holds both GIA and NIA and an IPMS survey.
| ID | Test | Steps | Expected | Result |
|---|
| FA1 | Both sets shown | Open DM-S30 | Areas show GIA, NIA (Code of Measuring Practice) first, then IPMS 1, IPMS 2 and IPMS 3.2, each group with its basis line; the IPMS notes are shown | |
| FA2 | Recording IPMS figures | In Edit this property, under Floor areas to IPMS: All Buildings, enter IPMS 2 and IPMS 3 (3.1), the date, source, who measured, method and Checked on site Yes with how; save | The property page shows the figures labelled IPMS 2 and IPMS 3.1 with the basis line naming the source, surveyor, method, check and date | |
| FA3 | Show first setting | In Module settings set Floor areas: show first to IPMS: All Buildings; reopen DM-S30 and its property report | IPMS figures are listed first on the page and in the report; set it back and the Code figures lead again | |
| FA4 | Fall-back | With the setting on IPMS, open a property that has only GIA and NIA | Its GIA and NIA are shown and used; nothing is blank | |
| FA5 | Space costs and data standard | With the setting on IPMS, give a building with no floors recorded in the space module an IPMS 3 figure and open its space costs; download the data standard export | The building's whole area is its IPMS 3 figure (floors, where recorded, still come first); the export's floor area is IPMS 2, labelled "IPMS 2 (IPMS: All Buildings)" | |
| FA6 | Measured to choices | In Edit this property open Measured to | Only RICS Code of Measuring Practice, 6th edition and Other are offered | |
| FA7 | Import | Import a property file with IPMS 2 m2, IPMS 3 m2, IPMS 3 measured (IPMS 3.2) and IPMS checked on site (Yes); then a row with Measured to set to IPMS: All Buildings | The first row is accepted with the IPMS figures; the second is refused with a message pointing to the IPMS columns | |
| FA8 | Service charges unchanged | Apportion a service charge on a building with both sets | Shares are still worked out on NIA | |
Tests OC: scanned documents (OCR)
Run these on a server installed from the current Docker image, as a surveyor. The demonstration counterpart lease on DL-0001 is a scan of three pages.
| ID | Test | Steps | Expected | Result |
|---|
| OC1 | Demo scan read | Load the demo data, wait five minutes, open DL-0001 and its scanned counterpart | A note above the document says its text was recognised automatically; Find for "quarter days" finds a match on page 2 | |
| OC2 | New scan | Add a scanned PDF to a case (a real scan if you have one); open it at once, then again after five minutes | First the note says the text has not been recognised yet; then Find works on it | |
| OC3 | Original kept | On a read scan select Download, then the link to download the searchable copy | Download gives the original scan unchanged; the link gives the searchable copy | |
| OC4 | Typed PDFs | Open a typed PDF (a demonstration lease) | No scan note; Find works as before | |
| OC5 | Manage data | As an administrator open Manage data, Scanned documents; select a document and Read the selected documents again | Status, pages and characters are listed; the document is read again within five minutes | |
| OC6 | Switched off | In Module settings untick Recognise text in scanned PDFs, add a scan | Nothing is queued; the document opens without a scan note | |
| OC7 | Confidential project | Add a scan to a confidential project and wait five minutes | Find works for the team; the searchable copy cannot be opened by someone outside the project | |
Tests RP: rents payable and the Finance menu
| ID | Test | Steps | Expected | Result |
|---|
| RP1 | Finance menu | Open the Finance menu as an administrator | Rents receivable, Arrears, Rents payable, Service charges and Asset valuation; Buildings no longer has Asset valuation | |
| RP2 | Agreements listed | Select Finance, Rents payable | Only current agreements held by the council (DL-0100, DL-0530 in the demo), with rent, frequency, next payment, next 12 months, review, break and expiry | |
| RP3 | Rent schedule and rent free | Give an agreement held by the council a rent-free date in three months and a stepped rent in six; reopen | No payments before the rent-free date ends; payments after the step use the new rent; month totals agree with the agreement totals | |
| RP4 | Excel | Select Download as Excel | A workbook with a Rents payable sheet and a By month sheet, totals matching the page | |
| RP5 | IFRS 16 data pack: who can download | Open Rents payable as a surveyor without the Finance role, then as demo.finance | The surveyor sees no IFRS 16 data pack panel and is refused the download address; demo.finance sees the panel with this year and the two before | |
| RP6 | IFRS 16 data pack: the workbook | As demo.finance, download the pack for this year | Sheets Leases, Payments, Changes in the year and Notes; DL-0100 marked Nominal and asking for a current value; DL-0530 with its payments to the lease end; yellow Discount rate and Right-of-use asset value columns empty | |
| RP7 | IFRS 16 lease end and changes | In Manage data, set DL-0530's Lease end for IFRS 16 to its break date and its treatment to Short-term; download the pack again | Leases shows the new lease end ("IFRS 16 lease end set on the agreement"), fewer payments and the new treatment; Changes in the year lists both changes with the old and new values; the lease page shows the IFRS 16 row | |
Tests PC: cases in a project
| ID | Test | Steps | Expected | Result |
|---|
| PC1 | Cases listed | Open the Hangar block redevelopment project | Cases in this project lists the surrender, wayleave and lettings cases, oldest first, with type, property, stage and owner | |
| PC2 | Start a case | Select Start a case for this project and open it | The form says the case will be part of the project; the new case shows Part of project and appears in the list | |
| PC3 | Add an existing case | Under Add an existing case pick an open case on the project's property; then enter another case's reference copied from its page (with the /property ending) | Both are added | |
| PC4 | One project at a time | Try to add a case that is already in another project | Refused with a message to take it out there first | |
| PC5 | Take out | Select Take out on a case | It leaves the list; the case itself is unchanged | |
| PC6 | Who can change it | As a surveyor who is not in the project team, open /cases/new/?project= with the project's number | Refused | |
Tests IX: index-linked reviews
| ID | Test | Steps | Expected | Result |
|---|
| IX1 | Index figures | Open Finance, Index figures | CPI, CPIH and RPI are listed with their latest figures and ONS series IDs | |
| IX2 | Fetch from the ONS | As an administrator, select Fetch from the ONS website now for CPI | Figures are added (or a message says the server cannot reach the ONS and to upload the CSV) | |
| IX3 | Upload | Download a series CSV from the ONS website and upload it | The message says how many figures were added and corrected | |
| IX4 | Index terms | On a CPI-linked agreement, enter the index, a base month 3 years before the next review, 3 months before the review, cap 4%, collar 1% | The agreement page shows the index terms under Rent review | |
| IX5 | The working | Open the agreement's rent review event | Index-linked rent shows both figures, the change, the rent at the index, cap and collar rents and the new rent, filled into the outcome form | |
| IX6 | Recording | Record the outcome | The rent schedule shows an Index-linked increase; the base month moves to the figure used | |
| IX7 | Missing figure | Set the next review so that its figure is not yet published | The event says the figure is not held and may not be published yet | |
| IX8 | Permissions | As a surveyor, try to upload figures | Refused | |
Tests DL: dealings
| ID | Test | Steps | Expected | Result |
|---|
| DL1 | From a consent case | Start a Consent to assign case on an agreement | The agreement's Dealings lists an Assignment, Applied for, linked to the case | |
| DL2 | Decision | Record the decision as Approved with conditions | The dealing shows Consent given with the date | |
| DL3 | Details | Under Add or change dealings, enter the assignee, a new guarantor and tick the AGA | Shown on the agreement page | |
| DL4 | Arrears warning | With rent owed on the account, open the agreement | A warning says to settle the arrears before recording the assignment | |
| DL5 | Completion | Enter a date and select Record the assignment | The assignee is the tenant, the new guarantor replaces the old; Who has held this agreement lists both | |
| DL6 | Former tenant | Open the former tenant's party page | The agreement is listed as Former tenant (guarantor under an AGA); the agreement shows Former tenant still liable | |
| DL7 | Second assignment | Record a further assignment without an AGA | The first former tenant is no longer shown as liable | |
| DL8 | Lease chain | Set Headlease on an underlease | Each agreement links to the other | |
| DL9 | Permissions | As a viewer, try to record a completion | Refused | |
Tests CC: credit control, payment plans and interest
| ID | Test | Steps | Expected | Result |
|---|
| CC1 | The list | Open Rents receivable, Credit control | Accounts with overdue rent and their next step, oldest debt first; the stages are listed | |
| CC2 | Letter stage | Select Create the letter on a reminder, then Letter sent | The arrears reminder opens filled in; the account moves on to Final notice when 21 days are reached | |
| CC3 | Case stage | For an account 35 days overdue, select Open the case | A Rent arrears recovery case opens for the managing surveyor and is linked in the account's history | |
| CC4 | Overnight | Leave a case stage due and run the daily tasks | The case is opened by itself | |
| CC5 | Not chased | Put demands on hold, or pass the debt to legal | The account leaves the list | |
| CC6 | Stages | As an administrator, change the reminder to 10 days in Manage data, Credit control stages | The list follows the new timing | |
| CC7 | Payment plan | On an account in arrears, set up 3 monthly instalments | The plan and instalments show on the account; the account leaves the credit control list | |
| CC8 | Broken plan | Let an instalment pass by more than 7 days unpaid | The plan shows Broken and the account returns to the list, flagged | |
| CC9 | Interest terms | Enter interest at a fixed 8% after 14 days on an agreement with a late charge | The account shows each late charge, its days and interest, and the total | |
| CC10 | Charge interest | As a finance user, select Charge interest | An interest charge is raised to that date; the next calculation starts the day after | |
| CC11 | Base rate | Set a lease to base rate plus 4% with no base rates held | The account explains that base rates are needed; add them in Manage data and the interest appears | |
Tests DP: rent deposit
| ID | Test | Steps | Expected | Result |
|---|
| DP1 | Account | Select Start a rent deposit account and record £3,000 received | The agreement shows the deposit account with £3,000 held | |
| DP2 | Drawdown | Record a £1,000 drawdown with a note | The balance is £2,000 and a warning says it is below the deposit required | |
| DP3 | Interest | Record interest added, then interest paid to the tenant | The balance rises and falls back | |
Tests VM: void marketing
| ID | Test | Steps | Expected | Result |
|---|
| VM1 | Case type | Start a Marketing a vacant property case on a vacant unit | The case has the marketing tasks and a Marketing and agents section | |
| VM2 | Instruct | Instruct a new agent on a sole agency ending in 10 days, at 10% plus VAT, asking £14,500 a year | The instruction is listed with its fee and asking rent; a warning says the instruction ends soon | |
| VM3 | In-house | Record an instruction marketed by the council itself | Accepted without an agent | |
| VM4 | Letters | Create Instruction to a letting agent and Marketing particulars | Both fill in the agent, basis, fee, asking rent, address, floor areas (m² and sq ft) and date available | |
| VM5 | End | Select End instruction as Let or sold | The instruction shows Let or sold with the date | |
Tests IZ: retail zoning (ITZA)
| ID | Test | Steps | Expected | Result |
|---|
| IZ1 | Rectangle | On a shop unit, select Work out the ITZA; enter 6 m wide and 22 m deep at 6.1 m zones; Calculate | Zone A 36.60, B 36.60 at A/2, C 36.60 at A/4, remainder 22.20 at A/8: 66.83 m² ITZA | |
| IZ2 | Other areas | Add first floor sales of 60 m² at A/8 and storage of 30 m² at A/10 | 7.50 and 3.00 m² are added to the total | |
| IZ3 | Trial rate | Enter a Zone A rate of £250 | The rent at that rate is shown, with the rate per sq ft | |
| IZ4 | Save | Select Calculate and save to the property | The property's Areas show the ITZA in m² and sq ft, the zone depth and the date; the workings come back when the calculator is opened again | |
| IZ5 | Zone A rent | Let the unit on one current agreement | The property and agreement pages show the rent per m² Zone A and per sq ft | |
| IZ6 | Permissions | As a viewer, calculate and then try to save | The calculation shows; saving is refused | |
Tests SG: sign-in limits and sessions
| ID | Test | Steps | Expected | Result |
|---|
| SG1 | Wrong passwords | Enter a wrong password 10 times for one account, then the right one | Sign-in is paused, with a message to try again in 15 minutes or reset the password | |
| SG2 | API | Use the API with a wrong password repeatedly | Refused once the limit is reached, even with the right password | |
| SG3 | Idle | Leave a signed-in browser for more than 2 hours, then select a link | You are asked to sign in again | |
| SG4 | Secret key | On a test server, remove SECRET_KEY from .env and restart | PHAEMA does not start, and the log says why | |
Tests CY: Welsh (Cymraeg)
Run these as an administrator, then as a surveyor. The Welsh is a draft: record anything that reads wrongly in the defect log for the translator, as well as anything that breaks.
| ID | Test | Steps | Expected | Result |
|---|
| CY1 | Off by default | With Offer Welsh (Cymraeg) unticked, set the browser's language to Welsh and open the dashboard | The page is in English; there is no English | Cymraeg choice | |
| CY2 | Switching on | In Manage data, Module settings, Language, tick Offer Welsh (Cymraeg); open any page | English | Cymraeg appears at the top; the page stays in English | |
| CY3 | Choosing Cymraeg | Select Cymraeg; open the dashboard, a lease, a case, Rents and Manage data | Menus, headings, labels, messages and buttons are in Welsh; names and notes people typed are unchanged; the layout still fits, on a phone too | |
| CY4 | Remembered and per person | Close the browser and reopen PHAEMA; sign in as another user on another computer | The first browser is still in Welsh; the other is in English until that person chooses Cymraeg | |
| CY5 | Back to English | Select English | Every page is in English again | |
Tests T–Z: cross-cutting checks
Run these on a sample of pages: the dashboard, a property, an agreement, a case, a job, a report and an import.
T. Accessibility (WCAG 2.2 AA)
| ID | Test | Steps | Expected | Result |
|---|
| T1 | Keyboard only | Use Tab, Shift+Tab, Enter and Space only | Every link, button, menu and panel reachable; yellow focus always visible; Escape closes header menus | |
| T2 | Screen reader | NVDA (Windows) or VoiceOver (Mac): read a case and the dashboard | Headings in order; panel buttons say expanded or collapsed; tables read with headers | |
| T3 | Zoom and reflow | Zoom to 400% at 1280px wide | No sideways scrolling except wide tables, which scroll on their own | |
| T4 | Colour | High contrast theme; and a colour-blindness simulator on the Clear style | Nothing relies on colour alone; tags and panels carry words | |
| T5 | Forms and errors | Submit a lease form with errors | Error summary at the top links to each field | |
| T6 | Automated check | Run axe DevTools or WAVE on the sample pages, at desktop width and at phone width (390px) | No serious or critical issues, including target size | |
| T7 | Scrolling tables by keyboard | At phone width open Properties; Tab to the property table and use the arrow keys | The table box takes focus with a yellow outline and scrolls sideways; a screen reader announces it by the table's heading | |
U. Security and permissions
| ID | Test | Steps | Expected | Result |
|---|
| U1 | Role boundaries | Repeat A3 to A6 by typing edit and action addresses directly | Every forbidden action refused (403), not just hidden | |
| U2 | Files | Copy a document link; open it in a private window | Sign-in required | |
| U3 | Uploads | Upload an .exe renamed .pdf, and a file over the upload size limit | Both refused with a clear message | |
| U4 | Confidential data | As Contributor open a case with confidential notes; check DM-S09 in open data | Notes hidden; DM-S09 never published | |
| U5 | Session | Leave a session idle beyond the timeout; sign out and press Back | Asked to sign in again | |
| U6 | Passwords | Set a short or common password | Refused | |
| U7 | Behind HTTPS (IT) | On the hosted test server (HTTPS proxy, BEHIND_HTTPS_PROXY=True, SECURE_COOKIES=True, https:// PHAEMA_BASE_URL): sign in, save a property, sign out | All work; no "Forbidden (403) CSRF" message; the browser shows the session cookie as Secure | |
| U8 | Plain HTTP refused (IT) | On the same server open the http:// address | Redirected to https:// by the proxy; the app port 8000 cannot be reached from outside | |
| U9 | API and two-step sign-in | With PHAEMA_API_PASSWORD_SIGN_IN off (the default), call the API with any username and password; then switch it on and use an account that has two-step sign-in | Refused | |
| U10 | Reset link limits | Ask for a password reset for the same account six times within an hour | No more than three emails arrive; the sixth request shows a Too many requests message | |
| U11 | Browser protections (IT) | Open the dashboard, a property map and a PDF in the viewer with the browser's developer tools open (Network and Console) | Each page has a Content-Security-Policy and a Permissions-Policy header; the console shows no "Refused to load" or "Content Security Policy" errors; the map, the PDF viewer and the Hide/Show panels all work | |
| U12 | Change log locked (IT) | In the database (docker compose exec db psql -U phaema phaema), run DELETE FROM core_auditentry WHERE id = (SELECT max(id) FROM core_auditentry); then delete a test user who made changes, in Manage data | The DELETE is refused with "The PHAEMA audit trail cannot be changed or deleted"; the user is deleted and their changes stay in the change log without a name | |
| U13 | API tokens (IT) | As an administrator, in Manage data, API tokens, make a read-only token for a Viewer account limited to Properties, ending next month. Copy the key. Reload the page. Then: curl -H "Authorization: Bearer <key>" <address>/api/properties/ ; the same for /api/leases/ ; a PATCH to one property. Cancel the token and repeat the first call | The key is shown once and not again after reloading. Properties are returned; leases and the change are refused with a clear message; Last used is filled in. After cancelling, the call is refused at once; the token stays listed as Cancelled and the change log shows it was made and cancelled | |
| U14 | Files need the record's module | As an administrator, open a valuation report, a compliance certificate and a maintenance job document, and copy each file's address. Sign in as a Surveyor with no access areas and paste each address; then open a property plan's address | The three module files show Page not found; the property plan opens | |
| U15 | No property loops through the API (IT) | With a read-and-change API token, PATCH DM-N01 with parent set to DM-N01, then to DM-N01-B01 (one of its own parts) | Both refused (400) with "A property cannot be part of itself"; DM-N01's page is unchanged | |
| U16 | Bulk changes in the change log | Take a case out of a project; record an asset strategy for a property; then open Changes | The case shows Project changed to nothing, and the property shows its new strategy review date, each with your name | |
V. Browsers and devices
| ID | Test | Steps | Expected | Result |
|---|
| V1 | Desktop browsers | Run B, C2, G7 and K1 in Edge, Chrome, Firefox and Safari | Same behaviour in each | |
| V2 | Phone | On a phone open My work, Whole estate, Properties, a property, the map and Hand over work | The page never scrolls sideways; wide tables scroll inside their own box; menu and setting links are easy to tap | |
| V3 | Print | Print a case, a property and a tenant statement | Clean print without menus; hidden panels printed | |
| ID | Test | Steps | Expected | Result |
|---|
| W1 | Page speed | Time the dashboard, property list, map and a large report | Each under 3 seconds on the hosting server | |
| W2 | Large download | Download the change log and rent schedule to Excel | Completes; every row included | |
| W3 | Several users | Five testers use the system at once for 15 minutes | No errors or noticeable slowdown | |
X. Regression and sign-off
| ID | Test | Steps | Expected | Result |
|---|
| X1 | Retest | Rerun every test that failed, after its fix | Passes | |
| X2 | Automated suite (IT) | Run python3 -m pytest on the final build | All tests pass | |
| X3 | Fresh install (IT) | Install from the installation guide (week 8) on a clean server; load the demo data | Works first time following the guide only | |
Y. Hand over work
Run these last: they move the demonstration surveyors' work, which earlier tests rely on. Sign in as an Administrator. Lena Chen, Rob Baker and Sam Hughes are demonstration users; you need no password for them. When finished, reset the demo data (Y9).
| ID | Test | Steps | Expected | Result |
|---|
| Y1 | Who can use it | As Surveyor and as Viewer, look for Hand over work in the menu, then type /people/hand-over/ | Not in their menu; the address is refused (403) | |
| Y2 | What a person holds | Hand over work; from Lena Chen; Show their work | 19 properties, 19 open cases, 96 case tasks, 24 lease events, 3 maintenance jobs; a note that she is also an internal valuer | |
| Y3 | Part of a patch | From Lena Chen, give it to Rob Baker, only work on DM-N01-B01 Hangar block; Show their work, then Hand over work | Counts first show 6 properties, 5 cases, 29 tasks, 10 lease events, 1 job; staff row says not moved; after, those move to Rob and Lena keeps 13 properties | |
| Y4 | Different people per kind | From Lena Chen: properties to Rob Baker, open cases to Sam Hughes, tasks left with Lena | A moved case shows Sam as owner; its tasks still show Lena; her properties show Rob as managing surveyor | |
| Y5 | Approvals and staff | From Sam Hughes, everything to your own account | 2 case approvals, 2 works orders and 5 staff move; you are emailed about each case approval (or it appears in the log); the five surveyors' user records show you as supervisor | |
| Y6 | A leaver | From Lena Chen, give it to Rob Baker, tick Also stop signing in; Hand over work | Success message lists what moved; every count for Lena is now 0; her user record is no longer Active | |
| Y7 | Change log | Changes, filtered by your name | Each moved property, case, task, event and job is listed, with the old and new person | |
| Y8 | Who can receive | From any surveyor, open each Give to list | Viewers never appear; the Contributor (Jo Patel) appears only for open cases they contribute to | |
| Y9 | Reset (IT) | ./phaema.sh demo-data --reset | Lena Chen's counts are back to those in Y2 | |
Z. Access areas and cover
Run these on day 11 with the other cross-cutting tests. Use the demonstration staff: Lena Chen and Rob Baker (Estates, Maintenance and compliance, Valuation), Sam Hughes (their supervisor), Dana Okafor (finance officer: Surveyor role, Finance area) and Jo Patel (Legal). Sign in as an Administrator to change areas; the others have no password, so test what they see by giving your own test accounts the same areas.
| ID | Test | Steps | Expected | Result |
|---|
| Z1 | Standard areas | Manage data, Access areas | Estates, Finance, Maintenance and compliance, Valuation and Legal, with the modules shown | |
| Z2 | Module refused | Give a Surveyor test account only Legal; open the menu, then type /maintenance/jobs/ and /rents/ | Buildings menu gone and Finance shows only Rents payable; both addresses show "You do not have access" | |
| Z3 | Module opened | Add that account to Maintenance and compliance | Maintenance and compliance open; rents still refused | |
| Z4 | Own patch | Give the account Estates and make it managing surveyor of DM-N01; open Rents, Arrears and a DM-N01 lease, then a lease elsewhere | Rents says "Showing rent for your patch"; arrears list only DM-N01 leases; the other lease has no rent panel and its account address is refused | |
| Z5 | Whole chain | Make your account the supervisor of Sam Hughes; open Rents | Lena Chen's and Rob Baker's tenants now appear | |
| Z6 | Cover | As Sam's supervisor, select Arrange cover for absence on My work and look at Who is away. Then, as Administrator, arrange cover for Lena Chen by another test account from today until tomorrow, and later select End now | Only people in your chain are offered to supervisors; the covering account sees Lena's arrears; End now removes it | |
| Z7 | Finance officer | Give a Surveyor account only Finance; open Rents, Raise rent, Finance exports, Import | All open; Import shows only receipts and service charge spending; Compliance refused | |
| Z8 | Finance viewer | Give a Viewer account Finance | Can see arrears and accounts; Raise rent and Import refused | |
| Z9 | Reports and change log | As the Z2 account, open Reports and Changes; try /reports/new/?dataset=charges | No rent, maintenance or compliance reports; no changes to charges or jobs listed; the address is refused | |
| Z10 | Approvals and hand-over | Remove Maintenance from a supervisor, then ask them to approve a large works order; open Hand over work for a surveyor | The order is refused with a message naming the supervisor; maintenance jobs can only go to people with Maintenance | |
| Z11 | Change log | Changes, filtered by your name | Area changes and cover appear with who, when and what | |
Defect log and sign-off
Log each failure here or as a GitHub issue labelled testing, newest first.
| No. | Test | Severity | What happened | Raised by, date | Fixed in | Retested |
|---|
| 1 | | | | | | |
| 2 | | | | | | |
| 3 | | | | | | |
| Sign-off | Name | Date | Decision |
|---|
| Test lead | | | |
| Head of Estates | | | |
| IT / hosting | | | |