Closed gasman closed 2 years ago
The markup for form fields with errors has changed substantially in Wagtail 4, and now there's no straightforward way to assert "an error exists on field X" using a substring match on the HTML. Instead, check the form object directly.
The markup for form fields with errors has changed substantially in Wagtail 4, and now there's no straightforward way to assert "an error exists on field X" using a substring match on the HTML. Instead, check the form object directly.