PHPackages                             edmondscommerce/behat-magento-2-context - 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. edmondscommerce/behat-magento-2-context

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

edmondscommerce/behat-magento-2-context
=======================================

A Behat Context for Magento 2

1.0.1(9y ago)5451MITPHP

Since Jul 29Pushed 7y ago1 watchersCompare

[ Source](https://github.com/edmondscommerce/behat-magento-2-context)[ Packagist](https://packagist.org/packages/edmondscommerce/behat-magento-2-context)[ Docs](https://www.edmondscommerce.co.uk)[ RSS](/packages/edmondscommerce-behat-magento-2-context/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

Magento Two Context
===================

[](#magento-two-context)

By [Edmonds Commerce](https://www.edmondscommerce.co.uk)
--------------------------------------------------------

[](#by-edmonds-commerce)

Behat contexts to aid testing of Magento 2.x sites on both the frontend and admin via blackbox methods only

### Installation

[](#installation)

Install via composer

composer require edmondscommerce/behat-magento-2-context

### Include Contexts in Behat Configuration

[](#include-contexts-in-behat-configuration)

```
default:
    # ...
    suites:
        default:
        # ...
            contexts:
                - # ...
                - EdmondsCommerce\BehatMagentoTwoContext\ProductContext
                - EdmondsCommerce\BehatMagentoTwoContext\CheckoutContext
                - EdmondsCommerce\BehatMagentoTwoContext\AdminContext
            parameters:
                magentoSettings:
                    adminUri: admin/
                    userName: admin
                    password: password
                    simpleUri: fusion-backpack.html
                    bundleUri: pillow-and-throw-set.html
                    configurableUri: lafayette-convertible-dress.html
                    groupedUri: vase-set.html
                    successPageTitle: Success Page

```

The context assumes that for Admin panel is using the default theme and the front end theme is largely based on the luma theme.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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

Every ~11 days

Total

2

Last Release

3560d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7af407ceeb8622c9c164d386ef3e95cda4c94d141240348ac5703223bb499d0e?d=identicon)[edmondscommerce](/maintainers/edmondscommerce)

---

Top Contributors

[![edmondscommerce](https://avatars.githubusercontent.com/u/62842?v=4)](https://github.com/edmondscommerce "edmondscommerce (3 commits)")

---

Tags

testingBehatmagento 2

### Embed Badge

![Health badge](/badges/edmondscommerce-behat-magento-2-context/health.svg)

```
[![Health](https://phpackages.com/badges/edmondscommerce-behat-magento-2-context/health.svg)](https://phpackages.com/packages/edmondscommerce-behat-magento-2-context)
```

###  Alternatives

[imbo/behat-api-extension

API extension for Behat

1082.5M9](/packages/imbo-behat-api-extension)[tonicforhealth/behat-parallel-scenario

Behat parallel scenario

24354.7k](/packages/tonicforhealth-behat-parallel-scenario)[drush-ops/behat-drush-endpoint

Drush commandfile for use with drupal/drupal-driver.

132.8M16](/packages/drush-ops-behat-drush-endpoint)[vipsoft/code-coverage-extension

Behat code coverage collector

2186.5k2](/packages/vipsoft-code-coverage-extension)[jonathanjfshaw/phpunitbehat

Use Behat from within PHPUnit.

2143.8k1](/packages/jonathanjfshaw-phpunitbehat)

PHPackages © 2026

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