Commit Graph

74 Commits

Author SHA1 Message Date
João Costa Silva
f51585330a Step attachFileToField has wrong examples 2022-08-02 12:36:30 +02:00
Ruud Kamphuis
7c7f059b1e PHP 8.1 > Always pass string to rtrim
Fixes the following deprecation:
rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in vendor/friends-of-behat/mink-extension/src/Behat/MinkExtension/Context/RawMinkContext.php line 144
2021-12-23 11:11:26 +01:00
miya0001
160d4b7709 fix incorrect help for printLastResponse() 2016-11-17 15:52:49 +09:00
Christophe Coevoet
3e70d0e49c Merge pull request #244 from roukmoute/fix_checkbox
Fix checkbox
2016-06-27 10:24:26 +02:00
Christophe Coevoet
53f8bd8e4f Merge pull request #208 from VincentCATILLON/raw-mink-context-ternary-condition
saveScreenshot function refactoring.
2016-06-17 09:24:00 +02:00
Mathias Strasser
7c3f289a19 Add same snippets for all checkbox definitions 2016-05-13 09:25:50 +02:00
Mathias Strasser
c511860d7b Replace in with id 2016-05-12 12:10:48 +02:00
Mathias STRASSER
ab0c956c40 Fix examples in relation to checkboxes 2016-05-12 10:17:25 +02:00
Sajjad Hossain
2b0bdece03 removed incorrect usage of Given, removed excess comment breaks, fixed order of methods (done in error), removed some instances of AND 2015-06-09 13:14:48 -04:00
Sajjad Hossain
f07c3e96e4 added addtional documents, added examples to all step definitions for additional clarity when running 'behat -di' or 'behat -dl' 2015-06-01 15:08:04 -04:00
Sajjad Hossain
1d12b01eeb added addtional documents, added examples to all step definitions for additional clarity when running 'behat -di' or 'behat -dl' 2015-06-01 12:39:30 -04:00
Vincent CATILLON
779c19486b saveScreenshot function refactoring. 2015-04-29 17:15:23 +02:00
Sajjad Hossain
981c7f6650 another pull request, containing same step definition via 'vendor/bin/behat -di' 2015-04-05 22:48:44 -04:00
Sajjad Hossain
353349551e added example snippets in MinkExtenstion to be used with 'vendor/bin/behat -di' as definitions 2015-04-05 22:32:16 -04:00
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