behat 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

I am trying to setup Behat 3.0. I want to change the path of where my features go. Currently, my behat.yml config looks like this: default: autoload: '': app/tests/acceptance Running behat --...
Animated asked 12/1, 2015 at 15:41

6

Solved

I'd like to be able to set the time for every instance of DateTime instantiated for the duration of a PHPUnit or Behat Test. I'm testing business logic relating to time. For example that a method...
Nuriel asked 31/10, 2011 at 10:44

3

Solved

I know the way to run only the tests tagged with a chosen @tag: @invite Feature: As User I want to invite a friend to join on MySocial @mytag Scenario: Exists a Facebook user Given I go to "/"...
Donyadoodad asked 24/2, 2014 at 9:12

2

I'm trying to test a Symfony3 web application with Behat/Mink and Selenium2Driver so that I can test Javascript functionallity too. The application runs in a docker container, so I added a new dock...
Gillispie asked 12/8, 2020 at 9:12

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

2

Solved

I've just started using Behat 3.0 with PhpStorm 8.0. Everything is working fine, except that for exceptions, there is no stack trace shown in PhpStorm. The test just fails with no feedback on wher...
Cubitiere asked 29/9, 2014 at 17:3

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

Solved

I have Behat test cases written like so: Feature: Checkout In order to buy products As a customer I need to be able to checkout items in the cart Background: Given step 1 And step 2 @Ready Sc...
Gristmill asked 8/8, 2019 at 9:41

2

Solved

I am writing tests via behat for my large Laravel 5 project. I have a testing copy of my MySQL database in MySQL and a seeder for that database that shares some of the seeders of other environment...
Multiply asked 14/8, 2015 at 21:17

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

Don't get me wrong. I think both projects are fantastic. But as both php and ruby developer I wonder if there are there any compelling reasons, besides possible language barrier, why would one cho...
Pentarchy asked 9/2, 2011 at 13:20

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

3

I'm trying to run a specific Behat scenario from the command line, here's what I'm doing: $ bin/behat features/features/baseline.feature:3 However this isn't picking up the scenario. If I run ...
Boding asked 24/3, 2016 at 4:31

4

As the title, my goal is to rollback any commit made during Behat functional tests. I checked this answer very similar, but it is from two years ago and it seems impossible to do. Maybe with Behat...
Kish asked 28/10, 2015 at 23:59

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 am trying to determine how I would add additional information to Behat's output (pretty, html, junit, etc) so I can have more contextual information for the test purposes. Specifically I have s...
Rademacher asked 18/11, 2013 at 17:6

6

I am trying to debug a feature in Behat 3 to see what is going on. Echo statements don't seem to work - I get no output. The step I'm trying to use currently looks like this: /** * @Then /^ec...
Chevy asked 20/8, 2014 at 9:49

2

I'm using Liip\FunctionalTestBundle for Unit testing, it works very well. AppCategoryControllerTest.php: class AppCategoryControllerTest extends BoEditoAuthWebTestCase { public function setUp() ...
Officer asked 8/12, 2015 at 14:55

2

Solved

Having hard time with Behat, cent find the way to debug (php/xdebug using breakpoints and steps). Does anybody have experience or maybe there is better way to do the same? Edited: "behat/mink": ...
Success asked 24/4, 2014 at 17:44

2

Solved

Is there anyone who has a decent working solution to integrate Netbeans 8.0 with behat, in terms of code highlighting and code-completion. I saw that there exists the Cetriolo plugin which is unfo...
Valeda asked 26/8, 2015 at 9:42

© 2022 - 2024 — McMap. All rights reserved.