[2.x] Add support for Behat tests

Created on 14 January 2017, almost 8 years ago
Updated 25 October 2023, about 1 year ago

If projects want to use Behat for validating their user behavior then they run into trouble when Email Registration is enabled because the Behat Drupal Extension will try to log in by filling in the username instead of the e-mail address.

There is a PR in the works for Behat Drupal Extension that will make it possible to customize the way the user authenticates in the site (ref. #339: Create an AuthenticationManager service).

We can override this service with our own version and provide seamless integration between Email Registration and Drupal Behat Extension.

Feature request
Status

Fixed

Version

2.0

Component

Code

Created by

🇧🇬Bulgaria pfrenssen Sofia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024