Files

2.3 KiB

End-to-End Test Instructions

Feature: prerendering. HEAD 39dc456.

Purpose

The automated end-to-end suite is pnpm e2e (Chromium through Playwright, 12 files, 471 tests); its results and scenarios are in integration-test-instructions.md. This file covers what the suite cannot: browsers other than Chrome, and a person looking at the test site. Run it after the deploy-test job (done in run 598).

Environment

  • Target: https://test.andreaslop.nl (deployed from commit 79b1a66, run 598).
  • Browsers: Firefox, Safari, Chrome on Android (the missing ones), plus desktop Chrome or Edge for a quick look.

Test Steps

1. Menu without JavaScript (V-D4) - open, human task for the owner

Why: the menu works through :target links when JavaScript is off. Chrome keeps the scroll position when the menu opens (verified in the suite); other browsers may jump.

  1. Turn JavaScript off in the browser (Firefox: about:config, javascript.enabled false; Safari: Develop menu; Chrome on Android: Site settings).
  2. Open https://test.andreaslop.nl/ on a narrow screen (mobile width) and open the menu.
  3. Expected: the menu opens, the page does not jump to the top, the sub-links of "Soorten fotoshoots" are reachable, and the menu closes again.
  4. Repeat on /over-mij and /soorten-fotoshoots/newborn.
  5. Report the browser and what happened. Status in this stage: not done (needs a person).

2. Pages look right with JavaScript on

Open /, /over-mij, /portfolio, /soorten-fotoshoots, one shoot page and /contact. Expected: no empty gaps where photos load, no flash of the light logo when navigating to / after the page has loaded, the contact form appears (it is revealed by a moved script), the e-mail address appears in the contact details after load.

3. Pages are readable without JavaScript

With JavaScript off, every page above shows its text and photos; the contact form is not usable without JavaScript, which FR-PR-13 allows.

4. URLs (spot check; curl already done in run 598)

In a browser: /over-mij/ and /Over-Mij end up on /over-mij; /bestaat-niet shows the 404 page with the site layout.

Results in this stage

Steps 2 to 4 are covered by the automated suite and the main session's curl checks (see integration-test-instructions.md, scenario 7). Step 1 is the only open human check.