Commit Graph

85 Commits

Author SHA1 Message Date
Ingo Schommer 22330d02cb Env var support, documented xdebug usage 2013-12-18 14:58:44 +01:00
Sriram Venkatesh fb0aa8d132 Added new doc for running test in chrome 2013-12-18 15:33:09 +13:00
Ingo Schommer 45e8d6da8d Webservices+Phockito+TestSession 2013-12-05 23:27:51 +01:00
Ingo Schommer 0a9505e8b2 Merge pull request #15 from halkyon/select_radio
Adding definition for selecting an input by the group's label.
2013-11-28 15:24:43 -08: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
Sean Harvey 8da0dbaea5 stepIWillSeeALogInMessage now allows for other form message types.
Not just "bad", but others like "good", "required", and "warning".
2013-11-28 22:54:00 +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 1cd15f5429 Added tutorial link 2013-10-22 11:20:45 +02:00
Sean Harvey e94d6e35f6 Merge pull request #9 from halkyon/readme_fixes
Use quotes around composer require argument for some shells.
2013-10-20 13:37:30 -07:00
Ingo Schommer 5ca904ae12 Initializer and custom namespace support 2013-10-18 17:47:33 +02:00
Sean Harvey a1a2f7711d Use quotes around composer require argument for some shells.
* is a reserved character in some shells and will cause an error
if you don't put quotes around the argument.
2013-10-17 14:25:52 +13:00
Ingo Schommer 6b1b4d3d94 Fixed markdown formatting 2013-10-17 00:43:20 +02:00
Sean Harvey aff363242a Merge pull request #8 from stojg/master
DOC Use the latest version of selenium standalone server
2013-10-10 13:32:51 -07: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
Stig Lindqvist e9144767a5 DOC Use the latest version of selenium standalone server
This will fix a bug when the Firefox version is 23 or 24. See original bug report on https://code.google.com/p/selenium/issues/detail?id=6051
2013-10-03 12:57:18 +13:00
Stig Lindqvist b0ede964c4 Update README to use the downloaded selenium jar 2013-10-03 11:44:45 +13:00
Ingo Schommer 2832b95fa4 Updated Selenium dependency download, otherwise it breaks in latest Firefox 2013-06-19 11:41:09 +02:00
Ingo Schommer 88de98e03d Improved docs 2013-06-07 16:26:12 +02:00
Ingo Schommer f18ec15dac More accurate readme on fixtures 2013-06-05 15:44:30 +02:00
Ingo Schommer 41fc8ac982 Cheatsheet for readme 2013-06-05 15:36:34 +02:00
Ingo Schommer aab86a6b08 More verbose fixture step definitions
Too many clashes with other steps otherwise,
e.g. with 'And the preview contains "You can fill"'
2013-06-05 14:17:28 +02:00
Ingo Schommer 30ece1347f NEW FixtureContext (#2) 2013-06-05 13:34:42 +02:00
Ingo Schommer 8d3184b1fa Instructions for running installer 2013-05-09 17:07:28 +02:00
Ingo Schommer bc455762f5 Removed docs on selenium in background, doesn't actually work
Also removed quick start docs, they make less sense if you
can't just copypaste them (due to having selenium in a separate session).
We could use 'screen', but that's yet another dependency to explain.
2013-05-09 16:40:05 +02:00
Ingo Schommer e98233db65 NEW Auto-detect base_url from FILE_TO_URL_MAPPING
Removed framework_host since its no longer necessary due to the changed execution logic.
Unfortunately had to subclass the existing Mink Extension class since we can't influence
its config persistence from our own extensions (with a completely separate ContainerBuilder).

Also restructured README to be more focused on execution rather
than diving into deep config concerns early on.
2013-05-09 16:26:24 +02:00
Ingo Schommer 6960d8d6e8 Updated selenium server version 2013-04-09 01:02:41 +02:00
Ingo Schommer f55029c4aa Minor docs fixes 2012-12-07 01:11:30 +01:00
Ingo Schommer 9b5eaa30a5 Updated install instructions 2012-12-07 01:06:31 +01:00
Ingo Schommer 443a49b717 Update README.md 2012-12-03 09:57:39 +01:00
Ingo Schommer feba280470 NEW LocatorProcessor and ClassGuesser to manage modules
Important for running behat tests per-module,
while stil keeping parameters like "base_url" configurable
without modifying behat.yml files in the modules own source code.
2012-11-15 17:42:45 +01:00
Ingo Schommer 103372a08a 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-15 16:08:47 +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 599ac8a7fc ENHANCEMENT Migrated and adapted README from temporary 'behat-tests' module
Added overview and configuration instructions, updated composer-centric install guidelines
2012-11-09 17:35:25 +01:00
Michał Ochman c8f0197a55 Initial commit 2012-07-11 12:22:11 -07:00