Commit Graph

420 Commits

Author SHA1 Message Date
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
Ingo Schommer
6907f986f7 Merge pull request #143 from open-sausages/pulls/4.0/alert-text-check
API Add check for text in current alert
2017-01-12 16:19:13 +13:00
Damian Mooyman
9d083e0135
API Add check for text in current alert 2017-01-12 15:12:29 +13:00
Ingo Schommer
4276dd9b96 Merge pull request #142 from open-sausages/pulls/4.0/unname-groups
ENHANCEMENT: Remove redundant named groups from patterns
2017-01-12 13:06:46 +13:00
Damian Mooyman
78872a358b
ENHANCEMENT: Remove redundant named groups from patterns
Unfortunately, named groups breaks all IDE autocompletion in PHPStorm, and the actual parser doesn’t benefit from them. Removing them makes it possible to navigate from gerkin fixtures to method implementations immediately. However, it does make reading the actual regexp a bit harder.
2017-01-12 11:58:33 +13:00
Ingo Schommer
f8dd6b457e Merge pull request #141 from sminnee/testmailer-refactor
NEW: Refactor TestMailer to extend from the default
2017-01-12 11:33:35 +13:00
Sam Minnee
9cd74d304c NEW: Refactor TestMailer to extend from the default
This means that Mailer can be refactored and this will still work.

Merge after https://github.com/silverstripe/silverstripe-framework/pull/6483
and before https://github.com/silverstripe/silverstripe-framework/pull/6466
2017-01-12 10:02:01 +13:00
Damian Mooyman
489f60c08a
Bump master alias to 2.2 2017-01-11 15:02:52 +13:00
Ingo Schommer
a0ad8b35f6 Merge pull request #140 from open-sausages/pulls/4.0/ui-button-refresh
Update behat extension for updated button styling
2017-01-10 15:17:18 +13:00
Damian Mooyman
eaa17cf18f
Update behat extension for updated button styling 2017-01-10 14:41:19 +13:00
Ingo Schommer
f417b4b5b5 FAQ about async steps 2017-01-10 11:07:12 +13:00
Ingo Schommer
a2e9de5ac7 Merge pull request #138 from open-sausages/pulls/readme-selenium-through-composer
Document correct Firefox/Selenium, use composer
2017-01-10 10:23:52 +13:00
Ingo Schommer
4150920cec Merge pull request #139 from madmatt/pulls/circleci-tutorial
New tutorial for adding CircleCI support
2017-01-10 10:18:37 +13:00
Matt Peel
f58e97d361
New tutorial for adding CircleCI support 2017-01-10 10:14:14 +13:00
Ingo Schommer
e8f140b470 Remove Saucelabs docs, not used
I haven’t heard of anybody actually using Saucelabs,
and those instructions are already out of date - e.g. the wd_host seems to require SSL now
(https://wiki.saucelabs.com/display/DOCS/Instant+Selenium+PHP+Tests)
and the capabilities are woefully outdated.
2017-01-05 22:18:05 +13:00
Ingo Schommer
6eedb7e6ea Document correct Firefox/Selenium, use composer
Use composer to install Selenium, which allows us to just specify the latest stable release.
Add some notes around Travis compat, since that's bitten us before with core tests.
2017-01-05 22:18:00 +13:00
Daniel Hensby
9fc5bf254b
Merge branch '1.0' 2016-12-12 13:53:02 +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
04696ef5a1 Merge pull request #131 from sminnee/core-reference-fix
Core reference fix
2016-11-01 15:15:42 +13:00
Sam Minnee
8c48804b81 FIX: Reply on Core/Core.php being in include path.
This lets us change the location of Core.php as long as we also
manipulate the include path.

This is necessary for https://github.com/silverstripe/silverstripe-framework/pull/6266
2016-11-01 15:09:04 +13:00
Sam Minnee
1a18bfb341 Release 2.1 master line. 2016-09-17 15:36:56 +12:00
Ingo Schommer
df828356e7 Merge pull request #128 from sminnee/add-bootstrap-file
NEW: Add bootstrap_file extension parameter.
2016-09-14 12:54:51 +12:00
Sam Minnee
2dbe57e0cb FIX: Remove PSR2 failures 2016-09-14 12:02:37 +12:00
Sam Minnee
2c4eb2050d NEW: Add bootstrap_file extension parameter.
The bootstrap_file parameter specifies a PHP file that will be included
between Constants.php (which is included by the composer autoloader)
and Core.php (which is included by SilverStripeAwareInitializer).

The goal of this setting is to provide a bit more flexibility about how
behat test environments are set up. It’s the logical companion of
PHPUnit’s bootstrap property.
2016-09-14 12:01:41 +12:00
Damian Mooyman
c9783741ca Rename SS_ prefixed classes (#127) 2016-09-09 15:47:11 +12:00