PHPackages                             jungleran/drupal-behat-contexts - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. jungleran/drupal-behat-contexts

ActiveLibrary[Testing &amp; Quality](/categories/testing)

jungleran/drupal-behat-contexts
===============================

Additional behat contexts to be used with jhedstrom/drupalextension

v1.0.0(6y ago)02.4kMITPHP

Since Feb 6Pushed 6y agoCompare

[ Source](https://github.com/jungleran/drupal-behat-contexts)[ Packagist](https://packagist.org/packages/jungleran/drupal-behat-contexts)[ RSS](/packages/jungleran-drupal-behat-contexts/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (2)Used By (0)

README
======

[](#readme)

This project contains Behat contexts for Drupal.

### What is this repository for?

[](#what-is-this-repository-for)

This Repository is used to extend the default Behat contexts provided by [Drupal Behat Extension](https://github.com/jhedstrom/drupalextension).

### How do I get set up?

[](#how-do-i-get-set-up)

Require it through composer and add the required contexts to your `behat.yml` file.

#### Context specific configuration options

[](#context-specific-configuration-options)

Some contexts can be configured through the `behat.yml` file. These configuration options are documented below.

##### `\OrdinaDigitalServices\BrowserContext`

[](#ordinadigitalservicesbrowsercontext)

`BrowserContext` resizes the browser window to 1024x768 at the start of each scenario unless specified otherwise. This can be adjusted by adding some configuration in `behat.yml` like so (config file shortened for brevity):

```
default:
  suites:
    default:
      contexts:
        - ...
        - OrdinaDigitalServices\BrowserContext:
            resizeOnScenarioStart: false
            defaultWindowSize:
              width: 1920
              height: 1080

```

As you can see there are two options that can be set. A boolean `resizeOnScenarioStart` to disable the resizing altogether and an array `defaultWindowSize` to specify a different default width and/or height.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 95.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2283d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3cf4ebd9bedf6084a094cf15d5ca31a08683c6e7f15f0cc7acffc89e8fbea27e?d=identicon)[jungleran](/maintainers/jungleran)

---

Top Contributors

[![legolasbo](https://avatars.githubusercontent.com/u/8048544?v=4)](https://github.com/legolasbo "legolasbo (78 commits)")[![ranqiangjun](https://avatars.githubusercontent.com/u/5101533?v=4)](https://github.com/ranqiangjun "ranqiangjun (4 commits)")

---

Tags

drupalBehatextension

### Embed Badge

![Health badge](/badges/jungleran-drupal-behat-contexts/health.svg)

```
[![Health](https://phpackages.com/badges/jungleran-drupal-behat-contexts/health.svg)](https://phpackages.com/packages/jungleran-drupal-behat-contexts)
```

###  Alternatives

[acquia/drupal-spec-tool

A tool for specifying Drupal architecture details and generating automated tests for them

1532.6M3](/packages/acquia-drupal-spec-tool)[laracasts/behat-laravel-extension

Laravel extension for Behat

2611.3M12](/packages/laracasts-behat-laravel-extension)[nuvoleweb/drupal-behat

Drupal Behat extension.

33787.7k3](/packages/nuvoleweb-drupal-behat)[drupal/tqextension

Behat extension for testing Drupal sites

1134.4k](/packages/drupal-tqextension)[dmarynicz/behat-parallel-extension

Parallel extension for Behat

27544.3k](/packages/dmarynicz-behat-parallel-extension)[zalas/behat-no-extension

The ultimate Behat extension

31137.9k1](/packages/zalas-behat-no-extension)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
