PHPackages                             irs/behat-uimap-extension - 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. irs/behat-uimap-extension

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

irs/behat-uimap-extension
=========================

Behat's extension allows to use Magento TAF uimap files in features.

v2.0.6(7y ago)01033[1 issues](https://github.com/irs/behat-uimap-extension/issues)MITPHPPHP &gt;=7CI failing

Since Jan 27Pushed 5y ago1 watchersCompare

[ Source](https://github.com/irs/behat-uimap-extension)[ Packagist](https://packagist.org/packages/irs/behat-uimap-extension)[ RSS](/packages/irs-behat-uimap-extension/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (5)Versions (9)Used By (0)

Behat UI map extension
======================

[](#behat-ui-map-extension)

[![Build Status](https://camo.githubusercontent.com/a2fd04809f763a2a26f999f93ebdb29f19ea5dfdc26e444643e4d869752c03bc/68747470733a2f2f7472617669732d63692e6f72672f6972732f62656861742d75696d61702d657874656e73696f6e2e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/irs/behat-uimap-extension)

This extension allows to use UI map files of \[Magento test automation framework\] () in Behat's features.

Installation
============

[](#installation)

To install extension with Composer you need to run:

```
composer require irs/behat-uimap-extension

```

and add following into `behat.yml:`

```
default:
  extensions:
    Irs\BehatUimapExtension\Extension:
      uimaps:
        "admin/": features\uimaps\admin
        "/": features\uimaps\frontend

```

Keys from `uimap` node define URL prefixes for UI map files from corresponding directories.

Usage
-----

[](#usage)

To use "language" from UI map files you need to use `Irs\BehatUimapExtension\Context\UimapContext` trait in your features' context. The trait expects that `Behat\Mink\Mink` and Mink's parameter will be set with `setMink()`and `setMinkParameters()` methods; you can do it either with dependency injection or with marking that feature context that uses the trait implments `Behat\MinkExtension\Context\MinkAwareContext.`

`UimapContext` trait contains definitions for following steps:

```
Then /^the (?i)url(?-i) should match (?P"([^"]|\\")*")$/
Then /^the response status code should be (?P\d+)$/
Then /^the response status code should not be (?P\d+)$/
Then /^(?:|I )should see "(?P(?:[^"]|\\")*)"$/
Then /^(?:|I )should not see "(?P(?:[^"]|\\")*)"$/
Then /^(?:|I )should see text matching (?P"(?:[^"]|\\")*")$/
Then /^(?:|I )should not see text matching (?P"(?:[^"]|\\")*")$/
Then /^the response should contain "(?P(?:[^"]|\\")*)"$/
Then /^the response should not contain "(?P(?:[^"]|\\")*)"$/
Then /^(?:|I )should see "(?P(?:[^"]|\\")*)" in the "(?P[^"]*)" element$/
hen /^(?:|I )should not see "(?P(?:[^"]|\\")*)" in the "(?P[^"]*)" element$/
Then /^the "(?P[^"]*)" element should contain "(?P(?:[^"]|\\")*)"$/
Then /^the "(?P[^"]*)" element should not contain "(?P(?:[^"]|\\")*)"$/
Then /^(?:|I )should see an? "(?P[^"]*)" element$/
Then /^(?:|I )should not see an? "(?P[^"]*)" element$/
Then /^print last response$/
Then /^show last response$/
When /^(?:|I )attach the file "(?P[^"]*)" to "(?P(?:[^"]|\\")*)" in fieldset "(?P(?:[^"]|\\")*)"$/
When /^(?:|I )attach the file "(?P[^"]*)" to "(?P(?:[^"]|\\")*)" in fieldset "(?P(?:[^"]|\\")*)" of tab "(?P(?:[^"]|\\")*)"$/
When /^(?:|I )attach the file "(?P[^"]*)" to "(?P(?:[^"]|\\")*)" in fieldset "(?P(?:[^"]|\\")*)" of tab "(?P(?:[^"]|\\")*)" with following parameters:$/
When /^(?:|I )attach the file "(?P[^"]*)" to "(?P(?:[^"]|\\")*)" in fieldset "(?P(?:[^"]|\\")*)" with following parameters:$/
When /^(?:|I )attach the file "(?P[^"]*)" to "(?P(?:[^"]|\\")*)" with following parameters:$/
When /^(?:|I )follow "(?P(?:[^"]|\\")*)" in fieldset "(?P(?:[^"]|\\")*)"$/
When /^(?:|I )follow "(?P(?:[^"]|\\")*)" in fieldset "(?P(?:[^"]|\\")*)" of tab "(?P(?:[^"]|\\")*)"$/
When /^(?:|I )follow "(?P(?:[^"]|\\")*)" in fieldset "(?P(?:[^"]|\\")*)" of tab "(?P(?:[^"]|\\")*)" with following parameters:$/
When /^(?:|I )follow "(?P(?:[^"]|\\")*)" in fieldset "(?P(?:[^"]|\\")*)" with following parameters:$/
When /^(?:|I )follow "(?P(?:[^"]|\\")*)" with following parameters:$/
When /^(?:|I )check "(?P(?:[^"]|\\")*)" in fieldset "(?P(?:[^"]|\\")*)"$/
When /^(?:|I )check "(?P(?:[^"]|\\")*)" in fieldset "(?P(?:[^"]|\\")*)" of tab "(?P(?:[^"]|\\")*)"$/
When /^(?:|I )check "(?P(?:[^"]|\\")*)" in fieldset "(?P(?:[^"]|\\")*)" of tab "(?P(?:[^"]|\\")*)" with following parameters:$/
When /^(?:|I )check "(?P(?:[^"]|\\")*)" in fieldset "(?P(?:[^"]|\\")*)" with following parameters:$/
When /^(?:|I )check "(?P(?:[^"]|\\")*)" with following parameters:$/
When /^(?:|I )uncheck "(?P(?:[^"]|\\")*)" in fieldset "(?P(?:[^"]|\\")*)"$/
When /^(?:|I )uncheck "(?P(?:[^"]|\\")*)" in fieldset "(?P(?:[^"]|\\")*)" of tab "(?P(?:[^"]|\\")*)"$/
When /^(?:|I )uncheck "(?P(?:[^"]|\\")*)" in fieldset "(?P(?:[^"]|\\")*)" of tab "(?P(?:[^"]|\\")*)" with following parameters:$/
When /^(?:|I )uncheck "(?P(?:[^"]|\\")*)" in fieldset "(?P(?:[^"]|\\")*)" with following parameters:$/
When /^(?:|I )uncheck "(?P(?:[^"]|\\")*)" with following parameters:$/
When /^(?:|I )select "(?P(?:[^"]|\\")*)" from "(?P(?:[^"]|\\")*)" in fieldset "(?P(?:[^"]|\\")*)"$/
When /^(?:|I )select "(?P(?:[^"]|\\")*)" from "(?P(?:[^"]|\\")*)" in fieldset "(?P(?:[^"]|\\")*)" of tab "(?P(?:[^"]|\\")*)"$/
When /^(?:|I )select "(?P(?:[^"]|\\")*)" from "(?P(?:[^"]|\\")*)" in fieldset "(?P(?:[^"]|\\")*)" of tab "(?P(?:[^"]|\\")*)" with following parameters:$/
When /^(?:|I )select "(?P(?:[^"]|\\")*)" from "(?P(?:[^"]|\\")*)" in fieldset "(?P(?:[^"]|\\")*)" with following parameters:$/
When /^(?:|I )fill in the following:$/
When /^(?:|I )select "(?P(?:[^"]|\\")*)" from "(?P(?:[^"]|\\")*)" with following parameters:$/
When /^(?:|I )switch to tab "([^"]*)"$/
When /^(?:|I )switch to tab "([^"]*)" with following parameters:$/
When /^(?:|I )additionally select "(?P(?:[^"]|\\")*)" from "(?P(?:[^"]|\\")*)" in fieldset "(?P(?:[^"]|\\")*)"$/
When /^(?:|I )additionally select "(?P(?:[^"]|\\")*)" from "(?P(?:[^"]|\\")*)" in fieldset "(?P(?:[^"]|\\")*)" of tab "(?P(?:[^"]|\\")*)"$/
When /^(?:|I )additionally select "(?P(?:[^"]|\\")*)" from "(?P(?:[^"]|\\")*)" in fieldset "(?P(?:[^"]|\\")*)" of tab "(?P(?:[^"]|\\")*)" with following parameters:$/
When /^(?:|I )additionally select "(?P(?:[^"]|\\")*)" from "(?P(?:[^"]|\\")*)" in fieldset "(?P(?:[^"]|\\")*)" with following parameters:$/
When /^(?:|I )additionally select "(?P(?:[^"]|\\")*)" from "(?P(?:[^"]|\\")*)" with following parameters:$/
When /^(?:|I )wait for (\d+) milliseconds?$/
When /^(?:|I )wait for (\d+) seconds?$/
When /^(?:|I )wait for AJAX$/
When /^(?:|I )wait for AJAX up to (\d+) milliseconds?$/
When /^(?:|I )wait for AJAX up to (\d+) seconds?$/
When /^(?:|I )press "(?P(?:[^"]|\\")*)" in fieldset "(?P(?:[^"]|\\")*)"$/
When /^(?:|I )press "(?P(?:[^"]|\\")*)" in fieldset "(?P(?:[^"]|\\")*)" of tab "(?P(?:[^"]|\\")*)"$/
When /^(?:|I )press "(?P(?:[^"]|\\")*)" in fieldset "(?P(?:[^"]|\\")*)" of tab "(?P(?:[^"]|\\")*)" with following parameters:$/
When /^(?:|I )press "(?P(?:[^"]|\\")*)" in fieldset "(?P(?:[^"]|\\")*)" with following parameters:$/
When /^(?:|I )press "(?P(?:[^"]|\\")*)" with following parameters:$/
When /^(?:|I )fill in "(?P(?:[^"]|\\")*)" with "(?P(?:[^"]|\\")*)" in fieldset "(?P(?:[^"]|\\")*)"$/
When /^(?:|I )fill in "(?P(?:[^"]|\\")*)" for "(?P(?:[^"]|\\")*)" in fieldset "(?P(?:[^"]|\\")*)"$/
When /^(?:|I )fill in "(?P(?:[^"]|\\")*)" with "(?P(?:[^"]|\\")*)" in fieldset "(?P(?:[^"]|\\")*)" of tab "(?P(?:[^"]|\\")*)"$/
When /^(?:|I )fill in "(?P(?:[^"]|\\")*)" for "(?P(?:[^"]|\\")*)" in fieldset "(?P(?:[^"]|\\")*)" of tab "(?P(?:[^"]|\\")*)"$/
When /^(?:|I )fill in "(?P(?:[^"]|\\")*)" with "(?P(?:[^"]|\\")*)" in fieldset "(?P(?:[^"]|\\")*)" of tab "(?P(?:[^"]|\\")*)" with following parameters:$/
When /^(?:|I )fill in "(?P(?:[^"]|\\")*)" for "(?P(?:[^"]|\\")*)" in fieldset "(?P(?:[^"]|\\")*)" of tab "(?P(?:[^"]|\\")*)" with following parameters:$/
When /^(?:|I )fill in "(?P(?:[^"]|\\")*)" with "(?P(?:[^"]|\\")*)" in fieldset "(?P(?:[^"]|\\")*)" with following parameters:$/
When /^(?:|I )fill in "(?P(?:[^"]|\\")*)" for "(?P(?:[^"]|\\")*)" in fieldset "(?P(?:[^"]|\\")*)" with following parameters:$/
When /^(?:|I )fill in "(?P(?:[^"]|\\")*)" with "(?P(?:[^"]|\\")*)" with following parameters:$/
When /^(?:|I )fill in "(?P(?:[^"]|\\")*)" for "(?P(?:[^"]|\\")*)" with following parameters:$/
When /^(?:|I )fill in the following into fieldset "(?P(?:[^"]|\\")*)":$/
When /^(?:|I )fill in the following into fieldset "(?P(?:[^"]|\\")*)" of tab "(?P(?:[^"]|\\")*)":$/
Given /^(?:|I )am on "(?P[^"]+)"$/
Given /^(?:|I )am on "(?P[^"]+)" with next parameters:$/
When /^(?:|I )go to "(?P[^"]+)" with next parameters:$/
When /^(?:|I )believe I am on "(?P[^"]+)"$/

```

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity68

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 ~301 days

Recently: every ~9 days

Total

7

Last Release

2727d ago

Major Versions

v1.0.0 → v2.0.02018-02-22

v1.1.0 → v2.0.22018-12-03

PHP version history (3 changes)v1.0.0PHP &gt;=5.4.0

v2.0.0PHP &gt;=5.5.0

v1.1.0PHP &gt;=7

### Community

Maintainers

![](https://www.gravatar.com/avatar/a2ec8559d47c4108ceebbe9d794401e2d7685dadea0c0bbf15fa4f249ca5470a?d=identicon)[irs](/maintainers/irs)

---

Top Contributors

[![irs](https://avatars.githubusercontent.com/u/1466346?v=4)](https://github.com/irs "irs (7 commits)")

---

Tags

magentoBehatTAFuimap

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/irs-behat-uimap-extension/health.svg)

```
[![Health](https://phpackages.com/badges/irs-behat-uimap-extension/health.svg)](https://phpackages.com/packages/irs-behat-uimap-extension)
```

###  Alternatives

[drupal/drupal-extension

Drupal extension for Behat

21115.5M166](/packages/drupal-drupal-extension)[drevops/behat-steps

Collection of steps for Behat

27409.9k4](/packages/drevops-behat-steps)[sensiolabs/behat-page-object-extension

Page object extension for Behat

1166.6M28](/packages/sensiolabs-behat-page-object-extension)[imbo/behat-api-extension

API extension for Behat

1092.6M9](/packages/imbo-behat-api-extension)[devinci/devinci-behat-extension

Provides extra behat goodies.

17596.9k](/packages/devinci-devinci-behat-extension)[polishsymfonycommunity/symfony2-mocker-extension

Behat extension for mocking services defined in the Symfony2 dependency injection container.

26253.5k4](/packages/polishsymfonycommunity-symfony2-mocker-extension)

PHPackages © 2026

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