Commit Graph

26 Commits

Author SHA1 Message Date
Damian Mooyman
a7ae2497d4 API Allow "I select the * radio button" 2014-05-05 13:05:15 +12:00
madmatt
1a1d5bdead FIX: Invalid Exception throw results in CI failures 2014-04-15 23:56:03 +12:00
Sriram Venkatesh
2294ee92a2 Session in undefined 2014-04-09 13:06:35 +12:00
Ingo Schommer
2ec760cb1d Improved region support, added "see text in region" step 2014-04-09 10:31:41 +12:00
Ingo Schommer
8211d3f5fc More versatile "press button/link, confirming dialog" 2014-03-31 14:30:49 +13:00
Ingo Schommer
415a7d3c87 Allow fields and buttons to be disabled in behat steps 2014-03-26 13:35:41 +13:00
Sriram Venkatesh
2acd0889d4 Find Link in Region 2014-03-19 17:09:43 +13:00
Sam Minnee
5a7d25e530 FIX: Use executeScript() because we discard the return value.
evaluateScript() injects 'return ' into the executed script, which often breaks multi-line code.
executeScript() is better
2014-02-13 18:08:28 +13:00
Sriram Venkatesh
f7125a9eff Added a step for creating a breakpoint 2014-02-12 15:09:19 +13:00
Mateusz Uzdowski
77d5a3d2e9 NEW Add generic checks for fields being enabled/disabled. 2014-02-07 15:04:43 +13:00
Sean Harvey
084980ea27 Adding definition for selecting an input by the group's label.
Allows for a step like: `I select "Admins" from "Groups" input group`

Adding it to BasicContext as it seems useful to be used in
other places, not just the CMS admin interface. It could be used
frontend forms that use CheckboxSetField, or OptionsetField,
for example.

Thanks to @srizzling for writing the definition for this step!
2013-11-28 23:18:59 +13:00
Ingo Schommer
1c950f07de Relative date/time format support
Thanks to @srizzling for getting this started in
https://github.com/silverstripe/silverstripe-cms/pull/896
2013-11-15 14:05:28 +01:00
Ingo Schommer
3f13791404 Only delete files/folders if they exist on filesystem
This broke "add a folder" in manage-files.feature
2013-11-06 01:22:30 +01:00
Ingo Schommer
32c7cea104 Clean up files from assets/ after each scenario 2013-10-23 21:27:52 +02:00
Ingo Schommer
7bb06f0fea Fixed screenshot_path usage
Was referencing outdated $this->context settings
instead of parent context. Still a bit hacky to make
assumptions on parent context, but its difficult to pass
through arguments to subcontexts.
2013-10-09 14:29:42 +02:00
Ingo Schommer
89a72625d4 BasicContext->stepPageCantBeFound 2013-10-02 17:10:13 +02:00
Ingo Schommer
f18a54afbe stepIPressTheButtonConfirmingTheDialog 2013-08-16 13:32:13 +02:00
Ingo Schommer
5e879a88b8 Only match visible buttons in "I press button" step 2013-06-07 16:26:12 +02:00
Ingo Schommer
460ce55d22 Delay UI interactions after ajax to allow browser rendering
merge
2013-06-05 13:34:45 +02:00
Ingo Schommer
3a34c204c1 Generalized and fixed UploadField handling in behat 2013-04-09 11:32:43 +02:00
Ingo Schommer
90443b64f9 More forgiving syntax for "wait for x seconds" 2012-12-06 17:40:04 +01:00
Ingo Schommer
2dc613f488 Fixed usage of private var from Selenium driver
Changed in selenium master recently
2012-11-28 16:44:09 +01:00
Ingo Schommer
74e0d8cd83 Fixed coding conventions (no functional changes)
Both Symfony and SilverStripe conventions mandate
lower camel case for instance properties
2012-11-18 11:51:00 +01:00
Ingo Schommer
38a27d2a50 NEW Reduced boilerplate configuration
- Moved all extension-specific conf into its own configuration namespace
- Described configuration via PHP, and added default values
- Removed boilerplate config from README
- Made screenshot_path optional
- Configurable ajax_timeout settings

Note: The DI system plus the initializer+context combo requires insane amounts of code duplication,
will need to be looked at more closely (very little docs on that level of Behat extension available).
2012-11-14 00:29:40 +01:00
Ingo Schommer
66a07442cf Docs about commands and testing dependencies 2012-11-14 00:29:37 +01:00
Ingo Schommer
3ac7e83dae ENHANCEMENT Migrated generic contexts from temporary 'behat-tests' module
The CMS specific context classes will move to framework
2012-11-09 17:34:24 +01:00