chore: Check for no JS errors on the frontend in tests
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3514236. -->
Reported by: [murz](https://www.drupal.org/user/157092)
Related to !70
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>To prevent undetected JS errors, would be good to add a check in tests that they are missing.</p>
<p>We already have a Drupal module "js_testing_log_test" that writes all errors to the State during Nigtwatch tests, so seems we can read the collected data and fail the test if they are present.</p>
issue