Commit Graph

395 Commits

Author SHA1 Message Date
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
Konstantin Kudryashov
b376c01e95 Merge pull request #137 from stof/saucelabs_capabilities
Refactored the handling of Selenium2 capabilities
2014-04-27 11:02:37 +01:00
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
Konstantin Kudryashov
ec9469ce20 Merge pull request #136 from stof/default_session_per_suite
Added the possibility to define the default session per suite
2014-04-26 21:17:15 +01:00
Christophe Coevoet
888ab86a72 Added the possibility to define the default session per suite 2014-04-26 20:23:19 +02:00
Christophe Coevoet
1003fb7f79 Updated the composer.json to deal with use stable packages 2014-04-26 19:49:40 +02:00
Christophe Coevoet
abf7032c06 Merge pull request #134 from rtretyakov/patch-1
Add "the-checkbox-should-not-be-checked"
2014-04-03 11:59:48 +02:00
R. Tretyakov
a267114156 Add "the-checkbox-should-not-be-checked"
Add "the-checkbox-should-not-be-checked" because without it, the string is displayed in english. And fix "the-checkbox-is-unchecked" translation.
2014-04-03 02:29:12 -07:00
Christophe Coevoet
be955bceda Merge pull request #128 from stof/simplify_build_matrix
Simplified the travis build matrix
2014-03-12 09:37:40 +01:00
Christophe Coevoet
8a2e12023b Simplified the travis build matrix
Given that the extension does not rely on lots of Symfony code by itself,
the testing against multiple Symfony version is not done for all PHP
versions anymore:

- Symfony 2.2.* is not tested anymore (it is an EOL version)
- builds are using the dependencies resolved by Composer (latest stable
  components, so 2.4.* at this time)
- extra jobs are added in the matrix to test the extension with Symfony
  2.3.* and 2.5.*@dev on a single PHP version

This means that the matrix goes from 17 jobs to 7, making it much faster
(we can only have 5 concurrent jobs for the whole github organization).
2014-03-12 03:33:43 +01:00
Christophe Coevoet
8b5f2a3fbd Updated the composer requirements 2014-03-12 03:09:59 +01:00
Christophe Coevoet
faaa8cc7fe Updated the listeners to use the new event classes 2014-03-12 03:09:00 +01:00
Christophe Coevoet
f74ba60ff3 Enabled strict mode when running Behat 2014-03-12 03:07:45 +01:00
Christophe Coevoet
db978198a3 Added testing on HHVM and PHP 5.6 2014-03-12 03:07:14 +01:00
Christophe Coevoet
e494a5df31 Merge branch '1.3' into 2.0 2014-01-31 00:07:24 +01:00
Christophe Coevoet
a6c0b09153 Merge branch 'french_translation' into 1.3 (PR #124)
This PR was submittedn to the 2.0 branch but merged into the 1.3 branch
instead.
Closes #124
2014-01-31 00:06:00 +01:00
Christophe Sicard
7b89767de7 Fix french typo j'attache le fichier 2014-01-31 00:04:44 +01:00
Christophe Coevoet
7d12a290c1 Merge branch '1.3' into 2.0
Conflicts:
	doc/index.rst
2014-01-25 01:27:30 +01:00
Christophe Coevoet
bade18bc89 Merge branch 'fr_trans' into 1.3 (PR #123)
This PR was submitted to the 2.0 branch but merged into the 1.3 branch
instead.
Closes #123
2014-01-25 01:24:29 +01:00
Nimothenicefish
e968ca24a4 Update the fr translation - add step for verify the element should not contain 2014-01-25 01:23:50 +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
b039391be5 Fixed url of the Travis badge 2014-01-20 01:37:45 +01: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
794ea867ea Removed unused use statements 2014-01-11 01:04:54 +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
0c90fe0c7a Updated the config for the removal of the context setting in Behat 2014-01-09 21:55:52 +01:00
Konstantin Kudryashov
cbe218c1fe Merge pull request #117 from stof/behat_3
Refactored the extension for Behat 3.0-RC
2014-01-04 16:06:44 -08: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
3059bc525c Added specs for the classes 2014-01-04 17:14:35 +01:00
Christophe Coevoet
e261a5bfe3 Updated the doc 2014-01-04 16:16:11 +01:00
Christophe Coevoet
ca0657d047 Fixed the requirement Behat version in the doc 2014-01-04 15:59:03 +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
Christophe Coevoet
9b68107edc Merge pull request #116 from digitalkaoz/2.0_behat_3_fixes
made compatible with behat 3rc1
2014-01-03 13:27:54 -08:00
Robert Schönthal
84ec704026 fixed behat constraint 2014-01-02 16:50:47 +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