Commit Graph

178 Commits

Author SHA1 Message Date
Christophe Coevoet
6b02ddf274 Added some missing SauceLabs capabilities
Closes #126
2014-04-26 23:50:11 +02:00
Christophe Coevoet
82fb06bb57 Renamed the SauceLabsFactory for consistent casing 2014-04-26 23:50:08 +02:00
Christophe Coevoet
3b00c091e9 Added a factory configuring the Selenium2Driver for BrowserStack
Closes #103
Replaces #133
2014-04-26 23:50:00 +02:00
Christophe Coevoet
1843188aea Added a way to specify custom capabilities for Selenium2
This allows configuring capabilities which are specific to other drivers
or custom implementations.
Fixes #129
Fixes #125
Refs #135
2014-04-26 23:03:50 +02:00
Christophe Coevoet
c6efdf6940 Refactored the handling of Selenium2 capabilities
Saucelabs-specific capabilities are removed from the Selenium2Factory in
favor of the SaucelabsFactory.
The SaucelabsFactory now supports all normal capabilities (inherited from
the Selenium2Factory) and the list of Saucelabs-specific ones is
completed.
2014-04-26 22:52:05 +02:00
Christophe Coevoet
888ab86a72 Added the possibility to define the default session per suite 2014-04-26 20:23:19 +02:00
Christophe Coevoet
faaa8cc7fe Updated the listeners to use the new event classes 2014-03-12 03:09:00 +01:00
Christophe Coevoet
b1740f4c86 Merge pull request #122 from stof/remove_dictionary
Removed the MinkDictionary
2014-01-24 16:19:34 -08:00
Christophe Coevoet
c1336bee32 Cleaned the ZombieDriver configuration
The ZombieDriver expects a single argument when passing a ZombieServer,
and it ignores any subsequent argument. Thus, it never deals with a
Connection itself (the server does).
Closes #23
2014-01-18 11:13:51 +01: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
Konstantin Kudryashov
8021fc626b Merge pull request #121 from stof/driver_factory
Refactored the configuration of sessions
2014-01-14 01:01:56 -08:00
Christophe Coevoet
e569fd7bc1 Added a shortcut syntax for the configuration of sessions 2014-01-13 23:06:23 +01:00
Christophe Coevoet
4a398672ee Fixed the steps printing some output 2014-01-11 00:58:21 +01:00
Christophe Coevoet
58ca78aa59 Added some validation of the default session and javascript session 2014-01-11 00:27:14 +01:00
Christophe Coevoet
3ee16c4b87 Refactored the configuration of sessions
The configuration now makes sessions a first-class citizen instead of
being centered around drivers. This allows defining several session based
on the same driver type.
Instead of allowing other extensions to register their own sessions to add
new drivers, they can now register a DriverFactory in the MinkExtension
during the extension initialization to make a new driver type available.
2014-01-11 00:13:12 +01:00
Christophe Coevoet
589cd05897 Added the initialize method in the extension 2014-01-10 20:47:34 +01:00
Christophe Coevoet
8f5332371a Updated the code for latest changes done in Behat 2014-01-05 00:48:09 +01:00
Christophe Coevoet
2c521b68ad Fixed the support of the insulated tag at the feature level 2014-01-04 17:16:54 +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
74aa54a6f3 fixed indentation 2014-01-02 16:42:40 +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
Christophe Coevoet
265aee68b3 Fixed the configuration for Selenium2 capabilities
Some capabilities need to have a dash in their name to match the name
expected by Selenium2 (which uses a mix of camel cased and dashed names).
This fix makes the MinkExtension incompatible with Symfony 2.0 and 2.1 but
they already reached their end of maintenance anyway.
Closes #91
2013-09-23 18:44:37 +02:00
bahamut1221
e5238c8e51 Add possible option firefox binary
Possiblity to launch a specific firefox binary
2013-07-15 10:45:12 +02:00
everzet
b4522f19fe Use distinguishable tags for SauceLabs 2013-06-04 13:18:22 +01:00
everzet
e69a377f3c Autoenable travis integration 2013-06-04 00:34:28 +01:00
everzet
fe6c92e6dc Fix saucelabs integration 2013-06-03 11:05:51 +01:00
everzet
76a9c1f8fb Implement direct SauceLabs support 2013-06-03 10:39:43 +01:00
Paul Seiffert
9798f45820 Added zombie driver config parameters 2013-05-23 13:19:49 +02:00
Clément Herreman
a63ba2edf2 Allow ignoreZoomSetting in config 2013-04-22 16:10:01 +03:00
Christophe Coevoet
e94e6bfd2a Fixed the selenium2 parameter definition for capabilities
Closes #77
2013-04-17 14:40:55 +03:00
Konstantin Kudryashov
60df289f93 Merge pull request #76 from Shashikant86/master
Added some more Sauce Capabilities to Mink Extension
2013-04-15 14:25:42 -07:00
Shashikant86
d9caa76108 Added some sauce capabilities 2013-04-15 20:14:48 +01:00
cmwelsh
117ed3bdba Allow configuration of additional Sahi connection parameters
The values "browser" and "limit" can now be passed in from
behat.yml.
2013-04-08 11:02:48 -07: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
cf2212350d Merge pull request #71 from Shashikant86/master
Added 'selenium-version' capability to support different versions of selenium server
2013-03-09 04:33:00 -08: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
Konstantin Kudryashov
00d3cbfb60 Merge pull request #68 from sanpii/assert-homepage
Assert homepage
2013-03-09 04:30:42 -08:00
Shashikant
137ce54666 Added Selenium-Version Capabilities 2013-03-08 23:42:29 +00:00
Shashikant
3a6a59cbf8 Added Selenium-Version Capabilities 2013-03-08 23:27:39 +00: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