Commit Graph

264 Commits

Author SHA1 Message Date
Daniel Hensby
8bb5ff5a1f Merge pull request #136 from BiffBangPow/pulls/base-scenario-outlines
Replaced all references to ScenarioEvent with BaseScenarioEvent…
2016-12-13 11:04:29 +00:00
William Arslett
d1cb9ff038 Replaced all references to ScenarioEvent with BaseScenarioEvent so that Scenario Outlines do not break 2016-12-13 09:23:35 +00:00
Daniel Hensby
bca133254c Merge pull request #135 from BiffBangPow/pulls/1.0-given-the-current-time-is-error
Corrected variable name in givenTheCurrentTimeIs to address error in v1.0
2016-12-12 13:43:26 +00:00
William Arslett
ad7957587e Corrected variable name in givenTheCurrentTimeIs to address error 2016-12-12 12:12:11 +00:00
Damian Mooyman
7205b83615 Update documentation to match travis firefox 31ESR 2016-06-24 13:15:56 +12:00
Ingo Schommer
858036cc8d Updated Firefox instructions 2016-06-24 13:15:56 +12:00
Christopher Pitt
b365210744 Helpful tips on disabling Firefox auto update... 2016-06-24 13:15:56 +12:00
Ingo Schommer
e01cfba18a Removed goutte driver from docs
Not a tested driver for framework tests. Might work, but we shouldn't recommend it. Plus, we'll need to add it as a composer requirement if mentioned in `behat.yml` (see #94).
2016-06-24 13:15:56 +12:00
Jeffrey Guo
ba103ca8fc add condition to prevent running endTestSession() twice
reformatted with space indent
2016-06-24 13:15:56 +12:00
Ben Manu
12552dc808 FIX: params isn't defined in this context, may be carry over from PHPUnit sessions. Changing context to $state to match other env values. 2016-06-24 13:15:56 +12:00
scott1702
140c31b34f Add ability to confirm/dismiss dialogs after clicking in elements 2016-06-24 13:15:56 +12:00
scott1702
19a7c52b1d Add double click action 2016-06-24 13:15:55 +12:00
Ingo Schommer
da07643f28 Noted --name in README 2016-06-24 13:15:55 +12:00
Ingo Schommer
30f944c917 Merge pull request #114 from tractorcow/pulls/1.0/respect-csrf
API Respect CSRF on login form
2016-04-20 14:03:19 +12:00
Damian Mooyman
207984e7af BUG Fix phpunit autoloading (for phpunit 3.7) 2016-04-20 12:06:32 +12:00
Damian Mooyman
d6016d4b7a API Respect CSRF on login form 2016-04-20 11:48:20 +12:00
Ingo Schommer
4297f56352 Fixed framework dependency
Was too loose, including 4.x releases. The 1.x branch is no longer compatible with core 4.x since 350392148f
2016-02-24 22:47:41 +13:00
Ingo Schommer
2a1e1e29d6 Merge pull request #97 from IgorNadj/patch-safety
ENH: adding safety try-catch blocks to prevent whole test suite from falling over
2015-09-10 14:58:41 +12:00
Igor Nadj
8088c29f5a ENH: adding safety try-catch blocks to prevent whole test suite from falling over 2015-09-10 14:32:09 +12:00
Damian Mooyman
e26f0a2ba5 Merge pull request #95 from chillu/pulls/testrunner-removal
Comply with moved use_test_manifest() method
2015-08-31 10:52:21 +12:00
Ingo Schommer
661bfe9a89 Comply with moved use_test_manifest() method
Moved from TestRunner to SapphireTest in 4.0.
2015-08-28 16:50:51 +12:00
Ingo Schommer
4a9db2be90 Merge pull request #93 from IgorNadj/patch-2
FIX logic error where a variable is used for two purposes
2015-08-25 15:31:07 +12:00
Igor
2ff6ddeaaa FIX logic error where a variable is used for two purposes
The issue that prompted this change was that at line 361, if an exception needed to be thrown, it would be thrown with $field being a NodeElement rather than a string, causing a Catchable Fatal Error to be thrown in ElementNotFoundException::__construct#46 (can't convert object of type NodeElement to string).
2015-08-24 14:27:56 +12:00
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
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