Commit Graph

229 Commits

Author SHA1 Message Date
Steve Boyd 4d6bd1890c MNT Travis shared config, use sminnee/phpunit 2021-01-19 11:33:18 +13:00
Serge Latyntcev 52573518bd ADD / After each step we wait for the server to handle all requests 2018-12-20 09:37:13 +13:00
Guy Marriott e892ef4829
NEW Allows scenarios to anticipate an unsaved changes modal 2018-10-15 11:26:34 +13:00
Guy Marriott b8d658114b
FIX Add missing "?" 2018-08-28 16:13:19 +12:00
Guy Marriott 2cbcab20c1
NEW Adding abilility to add an extension in a step 2018-08-21 14:47:44 +12:00
Damian Mooyman 5fdab55ebf API Update to use new facebook driver extension 2018-01-19 17:05:31 +13:00
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
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
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
Loz Calver 987a029b51 Update logout step to use new logout form 2017-06-21 14:57:12 +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
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
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
Robbie Averill 8167d14b09 API Consistent use of inst() naming across framework 2017-05-22 11:05:56 +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
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
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 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 6024d2bc5d
Move bootstrap file up into correct point in application cycle 2017-02-27 15:56:02 +13:00
Damian Mooyman 9610a0a284
BUG Prevent top-level files being created with incorrect parent folder 2017-02-24 15:07:25 +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
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 eaa17cf18f
Update behat extension for updated button styling 2017-01-10 14:41:19 +13:00
Daniel Hensby 9fc5bf254b
Merge branch '1.0' 2016-12-12 13:53:02 +00:00
William Arslett ad7957587e Corrected variable name in givenTheCurrentTimeIs to address error 2016-12-12 12:12:11 +00: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 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
Damian Mooyman 7e50e57766 Fix include paths 2016-09-08 16:32:06 +12:00
Damian Mooyman faca1e6f71
Update for framework namespacing 2016-09-08 10:07:35 +12:00
jeffreyguo 0bd8033cb0 Add new step to click the http link address in email 2016-08-23 13:25:02 +12:00
Damian Mooyman 1eb1004957
Convert to PSR-2 standard
Enforce PHPCS checking
2016-08-10 13:56:30 +12:00
Damian Mooyman 42a383030c Update use of versioned API and respect table_name 2016-08-09 12:39:31 +12:00
Damian Mooyman 869478ac0d
Search for table title with class contains 'title', rather than class == 'title' 2016-08-04 10:55:42 +12:00
Hamish Friedlander c3ed455ec6 FIX iSelectFromInputGroup not understanding bootstraps input-in-label structure 2016-07-28 16:51:33 +12:00
Damian Mooyman 8d6de532df API Apply SilverStripe\Security namespace 2016-06-29 10:31:00 +12:00
Damian Mooyman 26a95a895f Update to support new namespace SilverStripe\ORM 2016-06-27 16:34:00 +12:00