mink Questions

2

Solved

I'm using mink/behat to test my website. I need certain features be executed before others. Is there a way to specify an order of execution? For example: There are 3 features: Administration, Logi...
Mantoman asked 25/6, 2013 at 13:48

2

Solved

I have test that click on link and then new browser window open and in new browser window I need to check some elements are present. How to switch to new Browser window that was opened using BEHAT/...
Vaucluse asked 2/9, 2015 at 8:32

3

I want to learn BDD using behat in a laravel project but I come accross dependencies problems with composer (this may be a very basic question but I have very little experience in composer so that ...
Silicosis asked 2/1, 2016 at 19:2

1

I'm trying to emulate drag and drop UI behaviour in a behat test. So far with no success, despite mink allegedly supporting that interaction. Weirdly enough it was hard for me to find any relevant...
Neurilemma asked 20/3, 2017 at 8:7

4

Solved

I am new to Behat. I am currently using the Mink Extension and the Selenium2 driver and I would like to know how to specify that the test should hover over an element as part of the Scenario. For ...
Avilla asked 28/8, 2013 at 23:19

6

Solved

There are couple of filters on the page and I would like to verify the default filter values. I'm not able to get the selectors working. Can someone help. Here is the code snippet: <div class=...
Thereinafter asked 3/4, 2014 at 13:18

4

Writing test for an iFrame generated when a button is clicked. The iFrame name and id are similar but generated dynamically. I have used "switchToiFrame" successfully before. <div class="bbbb-f...
Willable asked 8/5, 2013 at 16:36

2

I followed this blog as an example and read the ParallerRunner info. When I call bin/behat command, one browser window opens and runs all the tests successfully with the setting below. symfony/beh...
Jussive asked 15/10, 2014 at 13:29

3

Solved

I'm trying to install behat and mink with symfony 2.4 using composer but I can't seem to get my composer.json file to an resolve to an installable set of packages. I installed symfony2 using the c...
Dibbuk asked 2/1, 2014 at 16:33

4

Solved

There is this new Export functionality developed on this application and I'm trying to test it using Behat/Mink. The issue here is when I click on the export link, the data on the page gets export...
Debris asked 24/7, 2014 at 9:42

2

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...
Faretheewell asked 27/5, 2016 at 11:55

1

I am supposed to test a login at a server, not under my control, which is HTTPS, using Mink and Zombie driver in PHP. The problem is that I mostly get status code 0 whenever I visit the login page,...
Sklar asked 27/5, 2016 at 10:13

1

I'm trying out Mink (PHP) on Ubuntu 14.04; I basically did the following: $ apt-show-versions nodejs nodejs:amd64/trusty 0.10.45-1nodesource1~trusty1 uptodate $ npm -v 2.15.1 $ sudo npm install -g...
Aintab asked 25/5, 2016 at 12:8

3

Solved

I am using Behat and Mink with the Selenium2 driver, and I'm trying to type directly into a form field (simulating raw keyboard input), instead of using the fillField() function. This is what I'm ...
Quasi asked 27/6, 2013 at 2:58

1

I was just wondering if you could point out where the problem is here, if it's Behat, the CSS selector, or the Sahi Driver. We have just upgraded to Behat 3 and are using Sahi Driver (most recent ...
Starve asked 26/11, 2014 at 16:16

2

I am using Behat to test an third-party webshop. I have a item in the shoppingcart that i want to delete. A confirmation pop-up shows that asks me if i really want to do it. The structure of this d...
Archaeornis asked 11/11, 2015 at 11:24

1

Solved

I'm builing a REST API in Symfony and I'd like to test it with Behat (using Mink and the behat extension for symfony2). There's no problem for the GET methods, I just "mock" some database objects, ...
Hertz asked 26/10, 2015 at 20:34

1

Solved

i'm trying to use mink with Behat on Zend framework 1 but when i run Behat command i get this error "Mink instance has not been set on Mink context class. Have you enabled the Mink Extension? (Runt...
Tybi asked 16/7, 2015 at 5:56

4

Solved

I am using Behat for testing, with the ZombieJS driver, and everything is working very well so far, but there is one thing that bothers me, I can't seem to figure out how to get Behat to simulate a...
Baltazar asked 13/11, 2012 at 17:46

4

Solved

I would like to know if it's possible to set the base_url via the command line. Example bin/behat --base_url=http://google.fr I would like to avoid creating a new profile and passing it via the...
Miscarriage asked 6/11, 2013 at 14:49

3

Solved

I get this error when trying to run my behat tests from the command line. The full output of the error looks like this: $ behat Feature: View a list of current custom tariffs In order to provid...
Telescopium asked 31/1, 2013 at 16:2

2

I've been following this guide (and installed everything through composer): http://docs.behat.org/cookbook/behat_and_mink.html and am attempting to get Behat + Mink working but everytime I try and ...
Occupancy asked 6/6, 2012 at 16:43

1

Solved

I installed Behat, Mink and a few other related packages. Here is my composer.json file: "require":{ //... "behat/behat": "~3.0.6", "behat/symfony2-extension": "dev-master", "behat/mink": "de...
Shortcut asked 31/7, 2014 at 0:45

2

Solved

I have a test suite which has 20 feaure files and 100% MySQL CRUD operations are being carried out. It takes about 5 minutes to finish. If I did the test manually it would take about 7 minutes max....
Homeward asked 16/10, 2014 at 16:15

3

Solved

I have been looking around SO and Google, but I couldn't really get a definitive answer. PHPUnit is a framework for unittesting, like JUnit. I use it, also in combination with the Selenium-extensi...
Lucier asked 12/2, 2013 at 8:17

© 2022 - 2024 — McMap. All rights reserved.