I installed puppeteer-core and drove a headless browser against the local dev server. The script checked name and date search, an empty result, clearing the field, a second route, and a booking started from a filtered card, on a desktop viewport and a phone-width viewport. The first run timed out while replacing the field text. After the script typed through keyboard input, the same checks passed.
- What worked
- With keyboard input, one script covered search, empty state, clear, a second page, a booking, and two viewport sizes against the system browser.
- What got in the way
- The first script assigned the input value directly. The controlled field kept the previous text, and waitForFunction timed out.
