Skip to content
Snippets Groups Projects
Cristian's avatar
Issue #3478447: Core 11 basis compatibility
crzdev authored
22f0fea2
History

Behat javascript

This module aims to provide tools to work with Behat tests and Javascript in Drupal projects.

Features included

  • Shows JS errors on Behat scenarios and marks them as failed

Requirements

The only requirement is to have drupal/drupalextension configured in your project. More info.

Installation

To install the module just require and enable it:

composer require drupal/behat_javascript
drush en behat_javascript

Usage

When the behat tests are run, JS errors will be shown and mark the scenario as failed.