Commit Graph

492 Commits

Author SHA1 Message Date
Damian Mooyman
7f370df19b Merge pull request #92 from jeffreyguo/pulls/testmailer-array
update the params to be array on sending email
2015-07-29 11:53:22 +12:00
Jeffrey Guo
3b6b525e8c update the params to be array on sending email 2015-07-28 09:14:08 +12:00
Damian Mooyman
1201cded6e Merge pull request #90 from dhensby/patch-1
Move to new travis containerised infrastructure
2015-07-21 14:42:14 +12:00
Daniel Hensby
1dea64847b Move to new travis containerised infrastructure 2015-07-20 16:07:22 +01:00
Ingo Schommer
ccf9d421c3 Updated symfony dependencies, avoid conflict with phpunit 3.7 (fixes #86) 2015-07-18 15:14:01 +12:00
Jeffrey Guo
117c1ef662 email contains plain text 2015-07-02 14:12:10 +12:00
Ingo Schommer
88dabf555a Fixed "wait" step, merge regression from df4a859 2015-04-21 15:26:15 +12:00
madmatt
6da19dac18 Fix step when multiple relations exist between the two joined objects 2015-04-21 14:38:58 +12:00
Ingo Schommer
a02b04c727 Merge pull request #85 from phillprice/patch-2
DOCS: Updated definition check
2015-04-21 14:31:24 +12:00
Phill Price
2bc36dbd53 DOCS: Updated definition check
Matches the one in the main Readme
2015-04-08 17:05:35 +01:00
Ingo Schommer
dca72b30ef Lowered dom-crawler dependency for PHP 5.3 support 2015-04-08 10:54:12 +12:00
Ingo Schommer
0cdfb2e116 Graceful handling of regions which aren't CSS selectors
The dual use of regions (CSS selector and natural language name)
causes some difficulties in processing. Since the CSS selector
is tried first, we need to ensure the underlying logic
doesn't bail on invald selector syntax.

See https://github.com/silverstripe-labs/silverstripe-behat-extension/pull/84
2015-04-08 08:19:34 +12:00
Ingo Schommer
b28b179df7 Improved test behaviour (too much mocking) 2015-04-08 08:08:35 +12:00
Ingo Schommer
cc6aa5cd46 Limit symfony deps to 2.6 for PHP 5.3 compat 2015-04-07 23:46:18 +12:00
Ingo Schommer
b2a3fda54c Remove accidental composer.lock addition 2015-04-07 23:29:41 +12:00
Ingo Schommer
1ec7a6a1e2 Use composer install --dev in travis
Running an older composer build which doesn't do this by default
2015-04-07 23:27:02 +12:00
Ingo Schommer
7db12fc9bb Unit tests 2015-04-07 23:15:22 +12:00
Damian Mooyman
30c0b9e5f1 Merge pull request #81 from silverstripe-iterators/pulls/fixture-tweaks
Fixture tweaks
2015-03-10 09:40:18 +13:00
Damian Mooyman
cfbb91bbda Merge pull request #83 from mparkhill/patch-1
FIX: broken link to selenium server jar file
2015-02-20 12:49:31 +13:00
Michael Parkhill
5306efc43f FIX: broken link to selenium server jar file
Selenium releases have moved, see: https://code.google.com/p/selenium/downloads/list
2015-02-20 12:44:21 +13:00
Damian Mooyman
5d4e86dbfc Update readme for usage with firefox 26/selenium 2.41 2015-02-16 13:03:18 +13:00
Ingo Schommer
4297e36762 Allow updating of fixtures in creation steps if they already exist 2015-02-15 21:47:22 +13:00
Ingo Schommer
7e8eaae73a Save ParentID alongside first record write to avoid validation errors 2015-02-15 21:47:20 +13:00
Ingo Schommer
4dece01c34 Allow "given ... has data" notation for fixtures
Makes more sense in english when the fixture has already been created beforehand
2015-02-15 21:39:06 +13:00
Damian Mooyman
5bf9eb4961 Fixed mink selenium driver reference 2015-02-09 10:29:33 +13:00
Damian Mooyman
32f5b3968a Updated to mink 1.6 stable as 1.6 unstable is no longer available
See 87a18d72e4
2015-02-05 14:27:14 +13:00
Damian Mooyman
50cf107242 Unrestrict behat access to framework 4.x branch 2015-01-16 13:25:50 +13:00
Damian Mooyman
f3c5df7957 Merge pull request #80 from silverstripe-iterators/pulls/password-complexity
More complex password default to comply with custom authenticators
2015-01-12 09:48:58 +13:00
Jeffrey Guo
df4a859dbc Scroll to page top/bottom or an element
Amended by @chillu, see https://github.com/silverstripe-labs/silverstripe-behat-extension/pull/74
2015-01-08 00:03:23 +13:00
Ingo Schommer
fcdfb04825 More complex password default to comply with custom authenticators
Changed from 'secret' to 'Secret!123'.

For example, the CWP default configuration increases the required
complexity to include uppercase letters, see https://gitlab.cwp.govt.nz/cwp/cwp-core/blob/master/_config.php#L134

This should not impact existing tests since the password is only used
indirectly, through "Given I login with ADMIN permissions".
2015-01-06 14:22:15 +13:00
Ben Manu
13271a8a6d FIX: adding caller class parameter to DataObject get 2015-01-06 10:51:41 +13:00
Ingo Schommer
76145df1ae Merge pull request #79 from jeffreyguo/pulls/email-contains
Updated and added new step to check the email contains text
2014-12-15 23:11:22 +13:00
Jeffrey Guo
9a51b32196 Updated and added new step to check the email contains text
add text to readme for pull request 3635 in framework
2014-11-27 17:58:11 +13:00
Ingo Schommer
752abd4447 Note about publication state on child pages 2014-11-11 15:59:24 +13:00
Ingo Schommer
6a24609dab More examples on versioned 2014-11-11 15:47:00 +13:00
Ingo Schommer
a35636f6b0 Add relationship example to README 2014-11-11 13:31:35 +13:00
Sean Harvey
c6edcccb03 Merge pull request #78 from phillprice/patch-1
Update README.md
2014-10-14 12:01:23 +13:00
Phill Price
e66c50a6e3 Update README.md
Removed goutte from the example to match removal from project
2014-10-13 11:39:14 +01:00
Sean Harvey
0562d7e8f2 Merge pull request #76 from silverstripe-labs/revert-75-disable_create_database
Revert "Allow setting create_temp_database to false to stop temp db crea...
2014-10-09 09:55:35 +13:00
Sean Harvey
61e7bb44cf Revert "Allow setting create_temp_database to false to stop temp db creation" 2014-10-09 09:55:00 +13:00
Mateusz U
276b5298f5 Merge pull request #75 from halkyon/disable_create_database
Allow setting create_temp_database to false to stop temp db creation
2014-10-09 09:30:46 +13:00
Sean Harvey
9c3319a342 Allow setting create_temp_database to false to stop temp db creation
TestSessionEnvironment by default will create a temporary database for
use with behat tests, but this may not be required.

e.g. in your behat.yml:

```
default:
...

  extensions:
    ...
    SilverStripe\BehatExtension\Extension:
      create_temp_database: false
```
2014-10-08 19:59:06 +13:00
Ingo Schommer
5af1c3d7b6 Merge pull request #57 from srizzling/wait-for-text
Fixes #27: I wait until I see text/element
2014-10-07 20:43:34 +13:00
Sriram Venkatesh
e1d42b89fe Formatting Cleanup 2014-10-01 02:20:40 +13:00
Sriram Venkatesh
6f648a418a Fixes #27: I wait for the text/element 2014-10-01 01:44:30 +13:00
Ingo Schommer
060f45f2cc Merge pull request #73 from jeffreyguo/pulls/cms-modal
Handle modal dialogue which will block all tests in the cms
2014-09-23 22:20:23 +12:00
Jeffrey Guo
54eaa63845 Handle modal dialogue which will block all tests in the cms
updated as an afterScenario event
2014-09-22 17:32:46 +12:00
Ingo Schommer
dd2f51fa74 Merge pull request #71 from jeffreyguo/pulls/jserror-2
Fixed issue on removing a DOM attribute
2014-09-09 08:18:09 +12:00
Jeffrey Guo
cfbf61f60c wait for DOM to remove attribute
use window.jQuery instead of $
updated to removeAttr method
2014-09-08 16:45:23 +12:00
Ingo Schommer
83a72210cd Merge pull request #69 from jeffreyguo/pulls/assign-object-to-object
Assign one object to another object
2014-09-05 09:48:20 +12:00