Mink is an open source acceptance test framework for web applications, written in PHP 5.3.
Questions tagged [mink]
460 questions
0
votes
2 answers
0
votes
1 answer
Not allowing to click on more spaced string in behat+mink
Please find below HTML code. In this code there is more space for the agile/scrum text.
I tried by executing with space and without space
And I Press "Agile / Scrum"
And I Press " Agile / Scrum "
When I click " …

Suraj
- 297
- 3
- 18
0
votes
1 answer
How to access spaced string of value attribute in Behat?
I am not able to click on submit button. I have html as shown below.
``
I am using the iPress function as…
I am using the iPress function as…

Suraj
- 297
- 3
- 18
0
votes
2 answers
Behat\Laravel can't find submit
I'am trying to test my Laravel app by Behat.
There is a homepage with fields for name, email and "Register" button. I'm trying to press button in behat-test, but I have an error Fatal error: Call to a member function press() on null…

Olga
- 159
- 1
- 3
- 15
0
votes
1 answer
Getting started testing Javascript interactions with Drupal 7, Behat 3, Selenium2
I have been stuck on how to configure my Drupal 7 site to work with Behat to test Javascript interactions.
This is the setup I am starting with. If someone could help me modify my configuration to support testing Javascript I would greatly…
0
votes
2 answers
PHP Mink/Zombie - handling hanging processes after a fatal exception?
I'm using the PHP script with Mink+Zombie driver (install as on nodejs cannot find module 'zombie' with PHP mink) from here: PHP Mink/Zombie - page visit returns status code 0? ; re-posting for completeness:

sdbbs
- 4,270
- 5
- 32
- 87
0
votes
2 answers
Selecting form element without id in PHP Mink?
I'm experimenting with PHP Mink (installed as on nodejs cannot find module 'zombie' with PHP mink). I am trying to parse a webpage (which I have no control over), which has an element like this inside a form:

sdbbs
- 4,270
- 5
- 32
- 87
0
votes
2 answers
Mink/Goutte How to check checkbox without attribute in Goutte?
I apologize in advance but I am very beginner.
I try to check checkbox without id or name.
…

Grzegorz Górski
- 23
- 1
- 10
0
votes
1 answer
Not able to follow link | Behat/Mink
Am not able to click on links using Behat/Mink. There's a desired text in tags so maybe this could be the reason?
This is part of my *.feature file:
Scenario: Tryin' to make it freakin' workin' yo!
Given I am on "/home/"
And I follow…

Lubos Jerabek
- 813
- 4
- 18
0
votes
1 answer
Mink does not switch back sessions?
$driver = clone $this->mink->getSession()->getDriver();
$driver->reset();
$this->mink->registerSession('new', new Session($driver));
$this->mink->setDefaultSessionName('new');
// Do things.
// Switch back to the…

chx
- 11,270
- 7
- 55
- 129
0
votes
1 answer
How can i run a particular feature file across different browsers simultaneously with Behat?
Basically what i want to achieve/know is, is it possible to run my scenarios across different browsers simultaneously ??
I know it is possible to run test on different browsers by configuring the profiles in behat.yml
However what if i want want to…
0
votes
1 answer
behat 3 mink testing redirection
In symfony 3 controller file I have function:
/**
* @Route("/user/registration", name="post_registration")
* @Method("POST")
* @return mixed
*/
public function postRegistration()
{
$post =…

Dariux
- 3,953
- 9
- 43
- 69
0
votes
0 answers
phpunit outputting error: PHP Fatal error: Cannot redeclare view()
Running Laravel 5.1 inside a Vagrant machine on a Mac. When I try to run phpunit:
./vendor/bin/phpunit
I get the following error:
PHP Fatal error: Cannot redeclare view() (previously declared in …

Nick Du Bois
- 35
- 7
0
votes
1 answer
Why behat keeps request headers between different scenarios?
A header (Authorizathion) I set in the one scenario still exists when second scenario is ran.
I've looked through the documentation http://docs.behat.org/en/v3.0/ but I could find anything about my problem there.
Why is that ?

Thor Samsberg
- 2,219
- 5
- 22
- 30
0
votes
1 answer
"The selected node does not have a form ancestor"
I'm testing my PHP / bootstrap application with Behat + Mink. I'm currently trying to use variables to grab from a field with a Scenario Outline.
The website looks like this
My code looks like this
in feature file
Feature: Stock Portfolio
…

iceblender
- 59
- 5