Commit Graph

48 Commits

Author SHA1 Message Date
Stig Lindqvist
8b020593b7 Update documentation about how to set a breakpoint 2014-07-29 11:24:58 +12:00
Ingo Schommer
ff86bde036 Step definitions for table interactions
Moved from framework module which had GridField specific steps under the same naming.
Made them more versatile, working for both GridField and other <table> nodes.
2014-06-13 15:05:32 +12:00
Sean Harvey
b789a3b67c Adding "I follow the link "test", dismissing the dialog" step 2014-05-16 10:35:07 +12:00
Damian Mooyman
a7ae2497d4 API Allow "I select the * radio button" 2014-05-05 13:05:15 +12:00
Ingo Schommer
3b8518e4ab NEW Set current date and time through Behat 2014-04-16 11:14:42 +12:00
Will Rossiter
3d1ea1d7f1 Update homebrew package name
https://github.com/Homebrew/homebrew/tree/master/Library/Formula/
2014-03-03 21:07:43 +13:00
Ingo Schommer
7df2fab1bc Note about PHP sessions 2014-03-01 14:47:29 +13:00
Ingo Schommer
d003707894 BEHAT_SCREEN_SIZE env var 2014-02-25 11:33:12 +13:00
Ingo Schommer
aa73fff37c Removed unnecessary token reference
Matt refactored testsession not to require this any longer
2014-02-09 18:58:06 +13:00
Ingo Schommer
95f832d263 Note about selenium download link being out of date 2014-01-31 12:05:22 +13:00
Ingo Schommer
3075e65099 Updated selenium dependency instructions 2014-01-31 12:03:58 +13:00
Ingo Schommer
c456dbac5d Merge branch 'doc' of https://github.com/srizzling/silverstripe-behat-extension into srizzling-doc
Conflicts:
	README.md
2013-12-20 01:48:11 +01:00
madmatt
3d2c7a36c8 Update README.md
Fix regex difference
2013-12-19 17:02:10 +13:00
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