Download the PHP package oskarstark/sonata-admin-behat-context without Composer

On this page you can find all versions of the php package oskarstark/sonata-admin-behat-context. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package sonata-admin-behat-context

SonataAdminBehatContext

Build Status

Installation

Usage

Enable the context in your behat.yml:

Available steps

Filters

Step Regex
I reset the filters /^(?:\|I )reset the filters$/
I filter the list /^(?:\|I )filter the list$/
I should see the filters /^(?:\|I )should see the filters$/
I should not see the filters /^(?:\|I )should not see the filters$/
I click filters /^(?:\|I )click filters$/
I select "Email" filter /^(?:\|I )select "([^"]*)" filter$/
I select filters:
|ID |
|Name|
/^(?:|I )select filters:$/
I should see "Firstname" filter /^(?:\|I )should see "([^"]*)" filter$/
I should see filters:
|ID |
|Name|
/^(?:|I )should see filters:$/
I filter "ID" with "1" /^(?:\|I )filter "([^"]*)" with "([^"]*)"$/

Checkboxes

Step Regex
I check checkbox in row "1" /^(?:\|I )check checkbox in row "([^"]*)"$/
I check All-Elements checkbox /^(?:\|I )check All-Elements checkbox$/

Flash-Messages

Step Regex
I should see "success" flash message with "Sucessfully updated entity!" /^(?:\|I )should see "([^"]*)" flash message with "(?P<text>(?:[^"]\|\\")*)"$/
I close flash message /^(?:\|I )close flash message$/

User & Authentication

Step Regex
I delete last created user /^(?:\|I )delete last created user$/
I am authenticated User /^I am an authenticated User$/
I have role "ROLE_SONATA_ADMIN" /^I have role "([^"]*)"$/
I am authenticated as User "[email protected]" /^I am authenticated as User "([^"]*)"$/
I logout User /^(?:\|I )logout User$/
I impersonate user "[email protected]" /^(?:\|I )impersonate user "([^"]*)"$/

Batch-Actions

Step Regex
I select "Delete" from batch actions /^(?:\|I )select "([^"]*)" from batch actions$/

List-Columns

Step Regex
I should see "ID, Firstname, Lastname" list columns /^(?:\|I )should see "([^"]*)" list columns$/
I should see list columns:
|ID|
|Firstname|
|Lastname|
/^(?:|I )should see list columns:$/
I should not see "Email, Password" list columns /^(?:\|I )should not see "([^"]*)" list columns$/
I should not see list columns:
|ID|
|Firstname|
|Lastname|
/^(?:|I )should not see list columns:$/
I should see "ID" list column /^(?:\|I )should see "([^"]*)" list column$/
I should not see "Password" list column /^(?:\|I )should not see "([^"]*)" list column$/
I should see "[email protected]" in row "1" on column "Email" /^(?:\|I )should see "(?P<value>[^"]*)" in row "(?P<row>[^"]*)" on column "(?P<column>[^"]*)"$/
I should see "[email protected]" in row "1" on column "Email" (use data-row: "mail") /^(?:\|I )should see "(?P<value>[^"]*)" in row "(?P<row>[^"]*)" on column "(?P<column>[^"]*)" \(use data-name: "(?P<dataName>[^"]*)"\)$/
the row "1" should contain "[email protected]" on column "Email" /^(?:\|the )row "(?P<row>[^"]*)" should contain "(?P<value>[^"]*)" on column "(?P<column>[^"]*)"$/
the row "1" should contain "[email protected]" on column "Email" (use data-row: "mail") /^(?:\|the )row "(?P<row>[^"]*)" should contain "(?P<value>[^"]*)" on column "(?P<column>[^"]*)" \(use data-name: "(?P<dataName>[^"]*)"\)$/
I should see nothing in row "1" on column "Email" /^(?:\|I )should see nothing in row "(?P<row>[^"]*)" on column "(?P<column>[^"]*)"$/
I should see nothing in row "1" on column "Email" (use data-row: "mail") /^(?:\|I )should see nothing in row "(?P<row>[^"]*)" on column "(?P<column>[^"]*)" \(use data-name: "(?P<dataName>[^"]*)"\)$/
the row "1" should contain nothing on column "Email" /^(?:\|the )row "(?P<row>[^"]*)" should contain nothing on column "(?P<column>[^"]*)"$/
the row "1" should contain nothing on column "Email" (use data-row: "mail") /^(?:\|the )row "(?P<row>[^"]*)" should contain nothing on column "(?P<column>[^"]*)" \(use data-name: "(?P<dataName>[^"]*)"\)$/
the value in row "1" on column "Email" should end with "@gmail.com" /^(?:\|the )value in row "(?P<row>[^"]*)" on column "(?P<column>[^"]*)" should end with "(?P<end>[^"]*)"$/
the value in row "1" on column "Email" should end with "@gmail.com" (use data-row: "mail") /^(?:\|the )value in row "(?P<row>[^"]*)" on column "(?P<column>[^"]*)" should end with "(?P<end>[^"]*)" \(use data-name: "(?P<dataName>[^"]*)"\)$/

Form fields

Step Regex
the field "Firstname" should be empty /^the "(?P<field>(?:[^"]\|\\")*)" field should be empty$/
the "Firstname" field should be empty /^the field "(?P<field>(?:[^"]\|\\")*)" should be empty$/
the field "Password" should not be empty /^the "(?P<field>(?:[^"]\|\\")*)" field should not be empty$/
the "Password" field should not be empty /^the field "(?P<field>(?:[^"]\|\\")*)" should not be empty$/

All versions of sonata-admin-behat-context with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1
behat/behat Version ^3.0
behat/mink-extension Version ^2.3
friends-of-behat/symfony-extension Version ^2.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package oskarstark/sonata-admin-behat-context contains the following files

Loading the files please wait ...