Skip to content

Fail on javascript errors

mstrelan requested to merge mstrelan/drupal-test-traits:js-error into 2.x

Attempt to fix #87 (closed)

This is based on \Drupal\FunctionalJavascriptTests\WebDriverTestBase::failOnJavaScriptErrors in core. The primary difference is we're enabling the dependency in a preCondition rather than via the $modules property.

Ideally core would provide failOnJavaScriptErrors in a trait so we wouldn't need to duplicate this.

Edited by mstrelan

Merge request reports