Commit Graph

60 Commits

Author SHA1 Message Date
dantleech
541b1462de Throw exception if mink has not been set in context 2014-12-02 15:45:15 +01:00
everzet
06a4cb5661 Introduce RawMinkContext::visitPath() helper method 2014-09-23 11:59:27 +01:00
Christophe Coevoet
a8d05cd478 Merge branch '1.3' into 2.0
Conflicts:
	src/Behat/MinkExtension/Context/MinkDictionary.php
2014-04-27 14:04:32 +02:00
Christophe Coevoet
0642b680b6 Fixed the regex of the step matching url to avoid breaking formatters
The inner group needs to be non-capturing. Fixes #99
2014-04-27 13:55:27 +02:00
Christophe Coevoet
5fd83a8d15 Added support of optional full paths for uploads in the trait
This was implemented in the MinkContext in f4b9700 but the trait was not
in sync.
2014-04-27 13:47:49 +02:00
Christophe Coevoet
5a60ac1190 Removed the MinkDictionary
Providing this trait required duplicating all step definitions, thus
making the maintenance harder. The possibility to use several contexts in
the same suite in Behat 3 is cleaner than using this trait. Thus, the
special logic used to detect this trait was clearly a hack.
Closes #120
2014-01-18 11:05:52 +01:00
Christophe Coevoet
4a398672ee Fixed the steps printing some output 2014-01-11 00:58:21 +01:00
Christophe Coevoet
8f5332371a Updated the code for latest changes done in Behat 2014-01-05 00:48:09 +01:00
Christophe Coevoet
d79dc1ae71 Refactored the extension for Behat 3.0 2014-01-04 14:59:18 +01:00
Christophe Coevoet
24012515e5 Moved the license header to the top of the file 2014-01-04 11:53:25 +01:00
Robert Schönthal
4779f3d233 removed unused use 2014-01-02 16:37:57 +01:00
Robert Schönthal
18ec75d611 made compatible with behat 3rc1 2014-01-02 16:32:32 +01:00
Klein Florian
2ebc88634b make it compatible with behat v3 2013-10-29 14:04:29 +01:00
Anthon Pang
c911eef019 for consistency, fix these step arguments too 2013-03-21 20:40:33 -04:00
Konstantin Kudryashov
07014c6c81 Merge pull request #69 from ICANS/master
Better access to mink configuration parameters
2013-03-12 02:30:49 -07:00
Sebastian
ffaa38a784 * updated traits based on the changes to mink context parameter settings 2013-03-11 17:06:28 +00:00
Konstantin Kudryashov
5cc3976f28 Merge pull request #70 from jeremyFreeAgent/feature/printCurrentUrl
Added 'Then print current URL'
2013-03-09 04:32:33 -08:00
Konstantin Kudryashov
523f2e7034 Merge pull request #57 from kssundar/master
Few more possible regular expressions to check checkbox is checked
2013-03-09 04:32:12 -08:00
Konstantin Kudryashov
bee3cca810 Merge pull request #56 from classmarkets/master
Support PyStringNode for fillField
2013-03-09 04:31:16 -08:00
Jérémy Romey
52a23ed1f2 Added 'Then print current URL' 2013-03-07 12:08:49 +01:00
Peter Schultz
583c7e8d0a Merge branch 'master' of git://github.com/Behat/MinkExtension 2013-03-04 18:48:25 +01:00
Sebastian
22c41bff9e * added method to get all parameters from the mink configuration
* added method for setting a single parameter (this is useful for
  instance if you want to change the base_url context specific)
2013-03-03 19:15:29 +00:00
Sanpi
cd499a71b5 Add homepage assertion 2013-02-18 13:59:08 +01:00
Adrien Brault
169f970fff Fix RawMinkContext::saveScreenshot not working 2013-01-03 18:33:16 +01:00
Adrien Brault
e368950d82 Fix RawMinkContext::getSession return type 2013-01-03 16:39:08 +01:00
kssundar
b6df191933 by kssundar: Updated regular expression to remove 2 verbs and updated trait to be in sync with minkcontext. 2012-12-13 16:42:54 +05:30
ksbalajisundar
de37a1a1de by kssundar: Added few more possible regular expression to check whether a checkbox is checked. 2012-12-11 12:52:50 +05:30
Peter Schultz
bec083feb2 Support PyStringNode for fillField in Dictionary 2012-12-06 00:16:37 +01:00
Peter Schultz
06908e9e6d Support PyStringNode for fillField 2012-12-06 00:08:15 +01:00
Goutte
e587c3271e Updating translation files 2012-12-04 20:06:02 +01:00
Goutte
be2a10eda8 Added optional 'the' to iAmOnHomepage step 2012-12-04 17:20:34 +01:00
Konstantin Kudryashov
0f92203531 Move generic functions to RawMinkContext [2/2] 2012-10-24 17:59:32 +03:00
Konstantin Kudryashov
7968dbc286 Move generic functions to RawMinkContext [1/2] 2012-10-24 17:57:39 +03:00
Konstantin Kudryashov
0314376612 Merge pull request #44 from metaltoad/getScreenshotFeature
Implements saveScreenshot helper method in MinkContext
2012-10-16 02:40:16 -07:00
Sebastien Armand
5041313307 Mink can now check that an element does not contain the given HTML 2012-10-15 19:54:25 +08:00
Tony Rasmussen
be9240abe0 getScreenshot is now in Session, not Driver 2012-10-07 10:55:25 -07:00
Tony Rasmussen
da2e4ca85f Lowercase boolean 2012-10-07 06:47:51 -07:00
Tony Rasmussen
5e854cd042 Implements saveScreenshot helper method in MinkContext 2012-10-06 20:24:32 -07:00
Konstantin Kudryashov
5ed575335e Merge pull request #21 from michalochman/allow-relative-files-path
Allow relative paths in files_path
2012-09-18 03:05:05 -07:00
everzet
9e2c34cbd0 added support for automatic show on failures 2012-09-10 20:20:10 +02:00
Michał Ochman
814b4a8df0 Allow relative paths in files_path 2012-08-07 09:47:17 +02:00
Roger Llopart Pla
4de12635e2 Fixed a rename which was done only partially in the MinkDictionary trait. 2012-07-24 17:34:25 +02:00
Konstantin Kudryashov
f96606ddb1 fixed priorities for initializer event listeners
prepare sessions before hooks, but teardown them after
2012-07-05 10:59:06 +03:00
everzet
6c292e7f02 added homepage definition shortcut 2012-06-19 18:36:45 +02:00
Michel Salib
542c11698e Fixing use of MinkDictionary 2012-06-18 17:29:54 +03:00
e-weimann
018e3d6152 A Scenario Outline was not configuring default Mink session before each scenario, added beforeOutline eventName to SubscribedEvents. 2012-06-11 16:38:39 +03:00
Romulo De Lazzari
98e4dacd7a changed from $text to $pattern 2012-06-08 18:26:18 +01:00
everzet
5ff38df4b9 added missing last argument (fixes #7) 2012-06-05 13:48:51 +02:00
Konstantin Kudryashov
f4b9700355 allow optional full path usage even if files_path option set 2012-06-03 20:17:20 +03:00
everzet
7ead2a0e08 Fixed PSR2 style guides compliance 2012-06-02 22:10:00 +02:00