Giter Club home page Giter Club logo

behat-mink-browserstack's Introduction

Behat-Mink-BrowserStack

Behat + Mink tests on BrowserStack

Setup

  1. Clone this repo:

git clone https://github.com/browserstack/behat-mink-browserstack.git

  1. Install composer:

curl http://getcomposer.org/installer | php

  1. Install Behat, Mink, MinkExtension and their dependencies with composer:

php composer.phar install

Configuration

Add BrowserStack Username and Automate-key to behat.yml

Run Tests

Now to launch Behat, just run:

bin/behat

Further Reading

Happy Testing!

behat-mink-browserstack's People

Contributors

bstack-security-github avatar nidhimj22 avatar umangsardesai avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

behat-mink-browserstack's Issues

Multiple running

I used your behat.yml when I set up my behat, unfortunately, I can not figure out, how could I run parallel. Do you have any idea? Thx

Feature Context Problem

When I run the test, I can access to browserstack but it seems there is a problem with FeatureContext.

TRSEUISTMAC033:mink-browserstack trtopcmu$ ./bin/behat
Feature: Drupal.org search
In order to find modules on Drupal.org
As a Drupal user
I need to be able to use Drupal.org search

@javascript
Scenario: Searching for "behat" # features/search.feature:7
Given I go to "http://drupal.org" # FeatureContext::visit()
When I search for "behat" # FeatureContext::iSearchFor()
Form field with id|name|label|value|placeholder "Search Drupal.org" not found. (Behat\Mink\Exception\ElementNotFoundException)
Then I should see "Behat Drupal Extension" # FeatureContext::assertPageContainsText()

--- Failed scenarios:

features/search.feature:7

1 scenario (1 failed)
3 steps (1 passed, 1 failed, 1 skipped)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.