Test results
Generated by npm run verify (tests/run-all.mjs) on 2026-09-24. Node v24.11.1, headless Chrome/Edge driven over the DevTools protocol, Windows 11.
| Suite | Result |
|---|---|
| Unit tests (pricing, dates, validation, simulated backend rules) | 25/25 passed |
| End-to-end journeys in a real browser | 18/18 passed, 0 console errors |
| Automated accessibility (axe-core 4.10, WCAG 2.0–2.2 A/AA + best practice) | 32 views, 0 violations |
| URL preservation and SEO checks | 11/11 passed, 213 legacy URLs |
The journeys the brief asked to verify
| Requirement | Journey (e2e) | Result |
|---|---|---|
| Choosing a unit without knowing the required size | Kokoapuri: asiakas ei tiedä kokoa → suositus perusteluineen → varaus | Pass |
| Booking when the preferred size is unavailable | Haluttu koko varattu → rehelliset vaihtoehdot → valinta | Pass |
| Understanding total cost and contract duration | Varaus alusta loppuun: virheet, muokkaus ilman tietojen katoamista, maksu, vahvistus ja päivitys | Pass |
| Editing choices without losing progress | Varaus alusta loppuun: virheet, muokkaus ilman tietojen katoamista, maksu, vahvistus ja päivitys | Pass |
| Recovering from a declined payment | Maksu hylätään → tiedot säilyvät → uusi yritys onnistuu yhdellä varauksella | Pass |
| Customer cancels payment | Asiakas peruu maksun → palaa tarkistukseen | Pass |
| Payment awaiting confirmation | Maksu jää käsittelyyn → ei uutta maksukehotetta → pankki vahvistaa | Pass |
| Interrupted return from the payment provider | Paluu maksupalvelusta katkeaa → sivusto tarkistaa tilan ennen kuin ehdottaa mitään | Pass |
| Availability changing before confirmation | Saatavuus muuttuu ennen maksua → ei maksua, sama koko toisesta varastosta vain luvalla | Pass |
| Payment succeeding after a hold expired | Maksu vahvistuu pidon päätyttyä ja varasto on mennyt → täsmäytys ilman hiljaista vaihtoa | Pass |
| Hold expiry explained gently, details kept | Pito päättyy, varasto yhä vapaa → uusitaan lempeästi, tiedot tallessa | Pass |
| Refreshing confirmation without creating another booking | Varaus alusta loppuun: virheet, muokkaus ilman tietojen katoamista, maksu, vahvistus ja päivitys | Pass |
| No duplicate payment on repeated clicks | Kaksoisklikkaus maksupainikkeella luo vain yhden maksun | Pass |
| Finding move-in instructions | Varaus alusta loppuun: virheet, muokkaus ilman tietojen katoamista, maksu, vahvistus ja päivitys | Pass |
| Understanding how to end a rental | Oma varasto: kirjautuminen, laskut, koon vaihto ja irtisanominen ilman kiertoteitä | Pass |
| Keyboard operation (calendar, skip link, focus) | Näppäimistö: kalenteri avautuu, nuolet liikkuvat, Enter valitsee, Esc sulkee | Pass |
| Form errors (summary, inline, aria-invalid, specific messages) | Varaus alusta loppuun: virheet, muokkaus ilman tietojen katoamista, maksu, vahvistus ja päivitys | Pass |
| Zoom and reflow: 320 px, 200 % zoom, 200 % text | Uudelleenrivitys 320 px ja 200 % tekstikoko ilman vaakavieritystä | Pass |
| Business customer: business ID check and VAT | Yritysasiakas: Y-tunnuksen tarkistus ja alv-erittely | Pass |
| Direct visits and refreshes of flow URLs | Suora käynti ja päivitys: kesken olevat vaiheet ja tuntemattomat varaukset | Pass |
End-to-end journeys in detail
Pass: Kokoapuri: asiakas ei tiedä kokoa → suositus perusteluineen → varaus
- Tyhjä va tau → virheyhteenveto: Va taa vielä näihin ky ymyk iin
- Suo itu : Suo ittelemme: 4,5 m² vara toa
Pass: Haluttu koko varattu → rehelliset vaihtoehdot → valinta
- Valittu vaihtoehto: 3 m²
Pieni vara to
Pass: Varaus alusta loppuun: virheet, muokkaus ilman tietojen katoamista, maksu, vahvistus ja päivitys
- Sähköpo tivirhe:
Sähköpo tio oittee ta puuttuu @-merkki. Kirjoita e e imerkik i muodo a nimi@e imerkki.fi.
- Määräaikainen 6 vk: mak ettava 134,40 € näkyy tarki tuk e a
- Vahvi tu HV-26142; mak u ja kulkuoikeu näytetään erik een
- Päivity (F5) ei luonut uutta varau ta
Pass: Maksu hylätään → tiedot säilyvät → uusi yritys onnistuu yhdellä varauksella
- Sinua ei ole veloitettu. Mak upalvelu ei hyväk ynyt mak ua. Syy voi olla e imerkik i kortin kate tai pankin hylkäy . Kaikki kirjoittama i tiedot ovat talle a.
- 1 hylätty + 1 onni tunut mak u, 1 varau
Pass: Asiakas peruu maksun → palaa tarkistukseen
Pass: Maksu jää käsittelyyn → ei uutta maksukehotetta → pankki vahvistaa
- Ka alle palaaminen ohjaa tila ivulle, ei uutta mak ua
Pass: Paluu maksupalvelusta katkeaa → sivusto tarkistaa tilan ennen kuin ehdottaa mitään
- Mak u i on vahvi tettu
Pass: Saatavuus muuttuu ennen maksua → ei maksua, sama koko toisesta varastosta vain luvalla
- Vara to 118, katuta o ehti mennä toi elle
- Vara to 118 → 209 a iakkaan valinna ta
Pass: Maksu vahvistuu pidon päätyttyä ja varasto on mennyt → täsmäytys ilman hiljaista vaihtoa
- Vaihtoehdot: toinen amankokoinen vara to tai täy i palautu
Pass: Pito päättyy, varasto yhä vapaa → uusitaan lempeästi, tiedot tallessa
- Varauk en pito ehti päättyä, mutta vara to 118, katuta o oli yhä vapaana. Pidämme en inulle taa klo 22.44 a ti. Tieto i ovat talle a.
Pass: Yritysasiakas: Y-tunnuksen tarkistus ja alv-erittely
- Väärä Y-tunnu :
Y-tunnuk en tarki tu numero ei tä mää. Tarki ta numerot.
Pass: Suora käynti ja päivitys: kesken olevat vaiheet ja tuntemattomat varaukset
- Vaihe 3 ilman tietoja → vaihe 1 ja elity ; tuntematon varau /mak u → elkeä ohje
Pass: Kaksoisklikkaus maksupainikkeella luo vain yhden maksun
Pass: Oma varasto: kirjautuminen, laskut, koon vaihto ja irtisanominen ilman kiertoteitä
- 9 la kujak oa (mak etut + euraava)
- Näin vuokra päättyy | Sopimu päättyy | tor tai 1.10.2026 | Kulkuoikeu päättyy | tor tai 1.10.2026 klo 23.59 | | Käytäntö vahvi tettava | Olet mak anut
- Irti anominen ja en peruminen onni tuivat yhdellä vahvi tuk ella
Pass: Näppäimistö: kalenteri avautuu, nuolet liikkuvat, Enter valitsee, Esc sulkee
- Valittu 25.9.2026; foku pala i painikkee een
- Virheelli et päivät elitetään: 31.2. ja mennyt päivä
Pass: Näppäimistö: ohituslinkki ja näkyvä fokus
- Ohitu linkki toimii, foku reunu olid 3px
Pass: Luettelo: saatavuus aloituspäivän mukaan ja yrityshinnat
- 1,5 m² vapaana 29.9.2026 alkaen
Pass: Uudelleenrivitys 320 px ja 200 % tekstikoko ilman vaakavieritystä
- 320 px (va taa 400 % zoomia 1280 px:n näytöllä): 8 ivua tarki tettu
- 640 px (va taa 200 % zoomia): 8 ivua tarki tettu
- 200 % tek tikoko 1280 px leveydellä tarki tettu
Unit tests
- Pass: availability follows the fictional inventory and the start date
- Pass: a hold blocks the unit for other customers until it expires
- Pass: prices are recalculated on the server and a tampered total is refused
- Pass: the same idempotency key never creates a second payment session
- Pass: only a verified provider notification confirms payment; duplicates are ignored
- Pass: a forged or tampered notification is rejected and changes nothing
- Pass: after a paid session, a new payment attempt is refused (no double charge)
- Pass: a pending payment blocks new attempts until the bank answers
- Pass: starting a new attempt supersedes an open session so it cannot be paid later
- Pass: an expired hold is renewed if the unit is still free
- Pass: if the held unit was taken, payment is not started and alternatives are offered
- Pass: payment confirmed after the hold expired and the unit was taken: no silent substitution
- Pass: refund path for an unresolvable late payment
- Pass: notice: earliest end date is today + 7 days, and notice can be cancelled
- Pass: verified weekly prices (24.9.2026) and the 1.255 business ratio
- Pass: money uses Finnish formatting
- Pass: open-ended rental: first four weeks now, then 4 × weekly every four weeks
- Pass: fixed-term rental: whole period now, ends on the last day, no recurring payments
- Pass: extras: lock is a purchase with VAT, key fob is a refundable deposit
- Pass: business prices include 25.5 % VAT
- Pass: end-of-rental settlement refunds unused days or charges extra days pro rata
- Pass: billing position counts four-week periods from the start date
- Pass: Finnish date parsing accepts what people type
- Pass: start date window: today … today + 14
- Pass: validation messages
Automated accessibility scan
Every public page type plus each booking state: size-helper result, all checkout steps including the error state, the calendar dialog, the provider page, the failed and pending payment pages, the confirmation and the Oma varasto views.
| View | Violations | Needs manual review (axe "incomplete") |
|---|---|---|
| Etusivu | 0 | – |
| Varastot ja hinnat | 0 | – |
| Varastot kotitalouksille | 0 | – |
| Varastot yrityksille | 0 | – |
| Valitse säilytystila | 0 | color-contrast |
| Näin vuokraus toimii | 0 | – |
| Kotitaloudet | 0 | – |
| Yritykset | 0 | – |
| Turvallisuus | 0 | – |
| Yhteystiedot | 0 | color-contrast |
| Sopimusehdot | 0 | – |
| Tietosuojaseloste | 0 | – |
| Tarvikkeet | 0 | – |
| Tuotesivu | 0 | – |
| Ostoskori | 0 | – |
| 404 | 0 | – |
| Demon tiedot | 0 | – |
| Kokoapurin tulos | 0 | color-contrast |
| Vaihe 1: varasto ja aloitus | 0 | color-contrast |
| Kalenteri-ikkuna | 0 | color-contrast |
| Vaihe 1: koko ei vapaana | 0 | color-contrast |
| Vaihe 2: virheilmoitukset näkyvissä | 0 | color-contrast |
| Vaihe 3: tarkistus ja maksu | 0 | color-contrast |
| Simuloitu maksupalvelu | 0 | – |
| Maksu ei onnistunut | 0 | color-contrast |
| Maksu odottaa vahvistusta | 0 | color-contrast |
| Vahvistus | 0 | color-contrast |
| Oma varasto: kirjautuminen | 0 | – |
| Oma varasto: yleiskatsaus | 0 | – |
| Oma varasto: vuokrasopimuksen päättäminen | 0 | – |
| Oma varasto: koon vaihto | 0 | color-contrast |
| Oma varasto: laskut | 0 | – |
"Incomplete" colour-contrast items were checked by hand. They are SVG diagram labels (iron #22262A on white, 15.2:1; white numbers on iron markers, 15.2:1), the size thumbnails (axe cannot measure text next to an image), and a textarea partly outside the viewport during the scan. None is a contrast problem.
URL verification
- Pass: All 213 known legacy URLs behave as expected (status, target, canonical, robots, refresh)
- Pass: All 35 URLs in the live sitemap answer 200
- Pass: The new sitemap lists exactly the indexable canonical pages – 35 in sitemap, 35 expected
- Pass: Sitemap pages: 200, self-canonical, indexable, one h1, meta description and lang="fi"
- Pass: Only /yhteystiedot-2/ leaves the sitemap (still answers 200, canonical /yhteystiedot/) – /yhteystiedot-2/
- Pass: Checkout, payment, confirmation, cart, Oma varasto and demo pages: noindex (meta + X-Robots-Tag), no canonical, not in sitemap
- Pass: Internal links (85 distinct targets) answer 200 directly, with no redirects
- Pass: Active redirects (1 path + 184 query rules): one hop, target 200
- Pass: Proposed redirects (130) work once approved: one hop, none to the homepage
- Pass: An unknown URL returns status 404 with noindex and a helpful page
- Pass: All canonicals use https://itsepalveluvarasto.fi/…/ (no www, no http)
Full inventory and details: URL report and docs/url-inventory.csv.
Manual review
- Screenshots of every page type and flow state at 1280 px, 375 px and 320 px, reviewed by eye (
tests/screenshots.mjs,tests/shoot.mjs). Fixes made from that review: compact catalogue rows, prices never wrapping mid-amount, 16 px minimum for secondary text, grammar of size and floor names, and scaled floor plans. - After the visual redesign, the homepage was reviewed again at 1280, 375 and 320 px and with forced colours emulated. The catalogue, size guide, checkout, Oma varasto, instructions, households and contact pages were reviewed at 1280 px, and the catalogue and checkout also at 320 px.
- Fixes from the redesign review:
- the 320 px header now fits on one row;
- the numbered steps run vertically on phones;
- the calendar dialog fits seven columns at 320 px (a fault that predated the redesign);
- icons stay visible with forced colours;
- the footer button text is now dark on orange, after axe flagged it.
- Contrast of every colour pair in the palette computed (
test-results/contrast.txt). - Contrast pairs used: iron text on white 15.2:1; iron on orange 5.25:1; secondary text 7.4:1 on white and 6.6:1 on mist; field borders 4.2:1 (3:1 needed); success, error, warning and info text 5.7–7.2:1 on their tints.
- Finnish copy was checked for compound words, commas, number and date formats (1 234,56 €; 1.10.2026; klo 9–17) and plain language.
Not verified
- Real assistive technology: no testing with NVDA, JAWS, VoiceOver or TalkBack. Headless Chrome only checks the markup and focus behaviour.
- Other browsers and devices: only headless Chromium on Windows. Safari (iOS/macOS), Firefox and real phones and tablets are untested. The
<dialog>element and:has()need Safari 15.4+. - Browser text-size settings: 200 % text was emulated by enlarging the root font size, not by the browser setting. Page zoom was emulated with viewport width and device scale.
- Windows high-contrast (forced colours): checked only with Chrome's forced-colors emulation on the homepage and checkout. That check found and fixed invisible text in the selected choice cards and an invisible logo. Real Windows contrast themes were not tried.
- People: no usability testing with older or less confident users. See the plan.
- Production behaviour: payments, webhooks, holds, SMS, email, access provisioning and sign-in are simulated in the browser. The rules are unit-tested, but no real integration exists.
- Business facts are as published on 24.9.2026. The conflicts in the audit are unresolved, and the owner has not confirmed anything.
- Host and protocol redirects, Cloudflare and HTTPS can only be verified on the production host.
