Commit Graph

545 Commits

Author SHA1 Message Date
Christopher Joe
1d3da4cd2f Feature use existing fixture for member with the given id if found, rather than always creating a new 2017-10-30 16:35:49 +13:00
Chris Joe
493ccb05cd Merge pull request #170 from open-sausages/pulls/1.0/environmen-env
Update to use new Environment::getenv()
2017-10-24 16:29:34 +13:00
Damian Mooyman
4657c39e24
Update to use new Environment::getenv() 2017-10-24 16:08:16 +13:00
Damian Mooyman
15c770b642 Move stepHasTag to trait (#169)
* Move stepHasTag to trait

* Fix tests
2017-08-02 11:48:53 +12:00
Damian Mooyman
cf49da1926 API Update usage of session bootstrapping 2017-06-27 12:09:20 +12:00
Damian Mooyman
54af373d40 Tweak composer.json to allow install 2017-06-27 10:26:03 +12:00
Loz Calver
4f66fdc72f Merge pull request #166 from silverstripe/pulls/fix-firefox-docs
Link to correct Firefox download (fixes #162)
2017-06-23 09:00:46 +01:00
Ingo Schommer
97ad068e0d Link to correct Firefox download (fixes #162)
Firefox 45.0 and 52.0 ESR aren't even loading the URLs (at least with Selenium 2.41).
See https://github.com/silverstripe/silverstripe-behat-extension/issues/162

This might be solved with upgrading to Selenium 2.x latest, but for now let's not confuse users.
I'm pretty familiar with all of this, and it still took me half an hour to figure out.
2017-06-23 14:58:06 +12:00
Ingo Schommer
704300f873 Merge pull request #163 from open-sausages/pulls/4.0/app-object
Updated behat-extension to use app object
2017-06-22 23:01:51 +12:00
Daniel Hensby
b020cf3426 Merge pull request #165 from kinglozzer/updated-logout-step
Update logout step to use new logout form
2017-06-22 09:09:58 +01:00
Loz Calver
987a029b51 Update logout step to use new logout form 2017-06-21 14:57:12 +01:00
Daniel Hensby
28a5b52695 Merge pull request #164 from kinglozzer/logout-token
Add logout form step
2017-06-21 12:15:15 +01:00
Loz Calver
684608a241 Add logout form step 2017-06-21 11:52:07 +01:00
Damian Mooyman
f768c952dc Updated behat-extension to use app object 2017-06-21 18:17:18 +12:00
Chris Joe
3d2e742709 Merge pull request #161 from open-sausages/pulls/fix-suite-loader
BUG Prevent behat from always running root behat.yml fixtures
2017-06-15 19:58:40 +12:00
Damian Mooyman
ab3f6c0057
API Update to new checkPassword API 2017-06-15 15:43:44 +12:00
Damian Mooyman
54efc6f6bd
BUG Prevent behat from always running root behat.yml fixtures 2017-06-15 14:39:38 +12:00
Daniel Hensby
d470f3d96e Merge pull request #160 from open-sausages/pulls/4.0/that-old-admin
Fix to download the proper version of silverstripe-admin
2017-06-09 12:43:13 +01:00
Christopher Joe
2f623adf1a Fix to download the proper version of silverstripe-admin 2017-06-09 22:46:33 +12:00
Damian Mooyman
4e0868e68d API Changes for Authenticator refactor 2017-06-09 16:47:20 +12:00
Simon Erkelens
e40f0ee764 Update the login method to use findById and rename of the LoginForm to MemberLoginForm 2017-06-04 13:22:49 +12:00
Damian Mooyman
47bebe6c3a Merge pull request #158 from robbieaverill/pulls/4.0/consistent-instance-method
API Consistent use of inst() naming across framework
2017-05-22 11:25:39 +12:00
Robbie Averill
8167d14b09 API Consistent use of inst() naming across framework 2017-05-22 11:05:56 +12:00
Chris Joe
18e6b9297e Merge pull request #157 from open-sausages/pulls/fix-fqn-services
API Upgrade to use new AssetStore service name
2017-05-16 15:20:48 +12:00
Damian Mooyman
1993e5d305
API Upgrade to use new AssetStore service name 2017-05-16 14:59:54 +12:00
Sam Minnee
4f3d3fdbab FIX: Soften coupling to SiteTree
The SiteTree link still exists but the module
will work if SiteTree isn’t installed.
2017-05-05 11:26:59 +12:00
Damian Mooyman
7383c1bce9 Merge pull request #154 from sminnee/dont-double-load-suite
FIX: Don't load suite twice.
2017-05-05 10:36:49 +12:00
Sam Minnee
9b48a30e2b FIX: Don't load suite twice.
If the suite is already loaded, you can't call registerSuiteConfiguration
a second time.
2017-05-05 10:15:22 +12:00
Damian Mooyman
7fd508b9af API @retry behaviour 2017-05-05 09:29:23 +12:00
Ingo Schommer
9230ce2405 API Upgrade to behat 3 2017-05-05 09:29:23 +12:00
Sam Minnee
78c65719da FIX: PSR-2 linting 2017-04-26 16:46:45 +12:00
Sam Minnee
6ece0a5131 FIX: Lock testsession to alpha6
Every alpha release may have API changes so we should be conservative
in our version requirements.
2017-04-26 16:40:20 +12:00
Damian Mooyman
acacac1842 Upgrade testsession references 2017-04-26 16:37:35 +12:00
Damian Mooyman
ab2720f237 Update versioned namespace 2017-03-28 10:35:57 +13:00
Damian Mooyman
c61b66882b Merge pull request #151 from dhensby/pulls/phpunit-bump
Bump PHPUnit dep
2017-03-24 15:25:29 +13:00
Daniel Hensby
fa017a213a
Test PHP 7 2017-03-24 15:17:42 +13:00
Daniel Hensby
f856e63706
Validate composer schema 2017-03-24 15:17:18 +13:00
Daniel Hensby
55fd4a81af
Avoid deprecated PHPUnit APIs 2017-03-24 15:17:18 +13:00
Daniel Hensby
187fd50a27
Bump PHPUnit dep 2017-03-24 15:17:17 +13:00
Damian Mooyman
b0bdb05a16 Fix behat extension .travis.yml 2017-03-21 12:41:28 +13:00
Damian Mooyman
d5c2113c52 Upgrade module loader manifest 2017-03-21 12:41:28 +13:00
Damian Mooyman
f0ca8eb84b BUG Ensure safe fallback for missing .env file to dev mode. 2017-02-28 11:29:42 +11:00
Damian Mooyman
646816c818 Merge pull request #146 from sminnee/fix-composer
FIX: Allow pre-release versions of SS4.
2017-02-27 16:25:20 +13:00
Ingo Schommer
11d51c0641 Merge pull request #147 from open-sausages/pulls/new-bootstrap
Move bootstrap file up into correct point in application cycle
2017-02-27 16:15:22 +13:00
Damian Mooyman
6024d2bc5d
Move bootstrap file up into correct point in application cycle 2017-02-27 15:56:02 +13:00
Sam Minnee
4bf846012e FIX: Allow pre-release versions of SS4.
Since SS4 has not yet been released, and this module is used to test
pre-release versions of SS4, we need to have @dev on the requirement
to make it as flexible as possible.

As a general rule, modules that plug *into* SS4 rather than making *use*
of it should have @dev on the end of their dependencies.
2017-02-27 13:16:11 +11:00
Ingo Schommer
8b0e0615f6 Merge pull request #145 from open-sausages/pulls/fix-file-fixture
BUG Prevent top-level files being created with incorrect parent folder
2017-02-27 11:41:45 +13:00
Damian Mooyman
9610a0a284
BUG Prevent top-level files being created with incorrect parent folder 2017-02-24 15:07:25 +13:00
Ingo Schommer
9fca2e9306 Merge pull request #144 from sminnee/simpler-composer
FIX: Remove unnecessary dependencies.
2017-02-01 17:49:40 +13:00
Sam Minnee
13c9e4fdb6 FIX: Remove unnecessary dependencies.
These composer dependencies were inlined from Behat in an attempt to 
lock in PHP 5.3-compatible versions of Symfony packages. This is no
longer relevant and so we can remove this.
2017-02-01 17:43:46 +13:00