Commit Graph

476 Commits

Author SHA1 Message Date
Damian Mooyman 1f5f93ddba Merge pull request #110 from chillu/pulls/fix-asset-store-compat
WIP Fix SS4 AssetStore compat in FixtureContext
2016-02-24 10:27:01 +13:00
Ingo Schommer 5728f8aabe Fix SS4 AssetStore compat in FixtureContext
Correctly create published files, and delete them via the AssetStore API rather than unlink()
2016-02-24 00:03:54 +13:00
Daniel Hensby abb31cce69 Merge pull request #108 from helpfulrobot/add-standard-code-of-conduct-file
Added standard code of conduct file
2016-02-16 09:49:01 +00:00
helpfulrobot 2a71637fd9 Added standard code of conduct file 2016-02-16 11:44:06 +13:00
Ingo Schommer c424b5f1fa Merge pull request #103 from silverstripe-labs/revert-96-patch-detect-404
Revert "ENH: adding wrapper around visit to detect 404s"
2016-01-26 09:20:31 +13:00
Damian Mooyman ae7b16308e Revert "ENH: adding wrapper around visit to detect 404s" 2016-01-25 17:55:03 +13:00
Ingo Schommer 70a6d7777f 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-01-08 13:00:08 +13:00
Ingo Schommer 1062eb2910 Merge pull request #87 from jeffreyguo/pulls/email-plaintext
added step definition to check email contains a plain text
2016-01-08 10:44:22 +13:00
Ingo Schommer efd8f65c33 Merge pull request #91 from jeffreyguo/pulls/email-from-to-titled
Find email by title then check the recipents
2016-01-08 10:43:29 +13:00
Ingo Schommer 676b2a4344 Merge pull request #96 from IgorNadj/patch-detect-404
ENH: adding wrapper around visit to detect 404s
2016-01-08 10:41:15 +13:00
Damian Mooyman 700e53f4f6 Merge pull request #102 from jeffreyguo/pulls/end-testsession-once
add condition to prevent running endTestSession() twice
2015-12-21 14:26:34 +13:00
Jeffrey Guo 299cde3c90 add condition to prevent running endTestSession() twice
reformatted with space indent
2015-12-21 10:54:10 +13:00
Ingo Schommer f41bb0fc53 Merge pull request #101 from benmanu/pulls/state-yml-fixture
FIX: params isn't defined in this context
2015-12-09 08:58:41 +13:00
Ben Manu 15f1a083fc FIX: params isn't defined in this context, may be carry over from PHPUnit sessions. Changing context to $state to match other env values. 2015-12-08 11:10:19 +13:00
Ingo Schommer ef1304a610 Fixed PHP build version compat 2015-12-03 12:22:45 +13:00
Ingo Schommer 361933537e Created 2.x branch alias for 4.x core compat 2015-12-03 12:19:57 +13:00
Ingo Schommer cfd1044ae5 Merge pull request #100 from scott1702/confirming-element-click
Add ability to confirm/dismiss dialogs after clicking in elements
2015-10-22 16:29:44 +13:00
Ingo Schommer 95c2e069f4 Merge pull request #98 from scott1702/add-double-click
Add double click action
2015-10-22 16:29:08 +13:00
scott1702 33eb0adf0c Add ability to confirm/dismiss dialogs after clicking in elements 2015-10-22 16:27:48 +13:00
scott1702 b2ff3e73ad Add double click action 2015-10-22 16:13:47 +13:00
Damian Mooyman 6009c5bdbd Merge pull request #99 from chillu/pulls/fix-folder-creation
Fix nested folder fixture creation
2015-10-22 13:32:48 +13:00
Ingo Schommer d39c8ebd29 Fix nested folder fixture creation
Fixes regression caused by 8d49da2609
prepareAsset('Folder','some/folder') would create some/folder/folder due to wrong ParentID relations.
Also set the 'ID' of folders to avoid creating them again.
2015-10-22 13:27:09 +13:00
Ingo Schommer f4b5150763 Noted --name in README 2015-10-20 11:39:36 +13:00
Damian Mooyman 71cfcab8c0 Remove php 5.3 for framework 4.0 compatibility 2015-10-19 13:45:17 +13:00
Ingo Schommer 8d49da2609 Fixed Folder::find_or_make() use 2015-10-19 10:55:56 +13:00
Damian Mooyman 15b491ed74 API Update for filesystem refactor 2015-10-16 10:53:37 +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
Igor Nadj ed391da991 ENH: adding wrapper around visit to detect 404s 2015-09-09 16:59:06 +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
Jeffrey Guo 64c4819e68 make matched email simple 2015-08-06 14:42:02 +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
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