The gutter replacement planner can show gutters and downpipes in a user brief while enquiries remain closed. A single screenshot of a greyed-out button tells you little about whether the disabled workflow still holds across keyboard navigation, alternative entry points and future template changes.
Assert structure before interacting
The Astro component renders an actual disabled fieldset for contact details. The site build also checks the generated page for a closed-flow marker and absence of a native form or API target. This covers HTML before client code runs. That matters because a CSS class is only visual and a disabled workflow should work the same way after a build.
const flow = page.locator('.project-flow'); await expect(flow).toHaveAttribute('data-enabled', 'false'); await expect(flow.locator('form')).toHaveCount(0); // After completing the planner questions and postcode: await expect(flow.getByLabel('Email address', { exact: true })).toBeDisabled(); await expect(flow.getByRole('button', { name: 'Enquiries opening soon' })).toBeDisabled(); Observe the network over the whole path
Attach a request listener before navigation. The existing service tests record non-GET requests during the journey and assert the list is empty in the test environment. The browser also checks that localStorage and sessionStorage have no entries under that configuration. These are separate checks. A request listener with a method filter cannot establish what a GET URL contains, and an empty storage assertion cannot tell you whether a disabled fieldset exists.
Keep the guarantees tied to what you observe. If the site later enables contact collection, test the enabled build under its own configuration, with a controlled endpoint. The disabled build retains its separate contract: a local summary, closed controls and no submission through the planner.
Run a second check with JavaScript disabled. The repo’s static-preview test checks that the first choice is disabled and the guide remains reachable. That makes the read-only fallback part of the release contract.
Perth Quotes gutter replacement planner is the live preview. Online enquiries are closed.


