Skip to content
Snippets Groups Projects
Forked from project / behat_javascript
1 commit behind the upstream repository.
Bryan Toapanta's avatar
Issue #3414059: Fix code - Passing null to paramete
Bryan Toapanta authored
5066b148
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.