Commit Graph

494 Commits

Author SHA1 Message Date
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
Ingo Schommer
8c19893b63 Merge pull request #126 from open-sausages/pulls/4.0/namespace-everything
Fix include paths
2016-09-08 16:34:42 +12:00
Damian Mooyman
7e50e57766 Fix include paths 2016-09-08 16:32:06 +12:00
Ingo Schommer
1271a4e48d Merge pull request #125 from open-sausages/pulls/4.0/namespace-everything
Update for framework namespacing
2016-09-08 16:12:56 +12:00
Damian Mooyman
faca1e6f71
Update for framework namespacing 2016-09-08 10:07:35 +12:00
Daniel Hensby
ce9f6c9403 Merge pull request #124 from jeffreyguo/pulls/click-http-link-inmail
Add new step to click the http link address in email
2016-08-31 17:35:36 +01:00
jeffreyguo
0bd8033cb0 Add new step to click the http link address in email 2016-08-23 13:25:02 +12:00
Hamish Friedlander
ce3c0bb6c7 Merge pull request #123 from open-sausages/pulls/4.0/psr2
Convert to PSR-2 standard
2016-08-10 09:45:01 +07:00
Damian Mooyman
1eb1004957
Convert to PSR-2 standard
Enforce PHPCS checking
2016-08-10 13:56:30 +12:00
Hamish Friedlander
987505a576 Merge pull request #122 from open-sausages/pulls/4.0/update-versioned-tables
Update use of versioned API and respect table_name
2016-08-10 07:26:34 +07:00
Damian Mooyman
42a383030c Update use of versioned API and respect table_name 2016-08-09 12:39:31 +12:00
Hamish Friedlander
a648c7dc4d Merge pull request #120 from open-sausages/pulls/gridfield-update
Search for table title with class contains 'title', rather than class == 'title'
2016-08-04 11:00:49 +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
Damian Mooyman
1d5e5816f0 Merge pull request #119 from open-sausages/hamishs_fixes
FIX iSelectFromInputGroup not understanding bootstraps input-in-label
2016-07-28 17:01:55 +12:00
Hamish Friedlander
c3ed455ec6 FIX iSelectFromInputGroup not understanding bootstraps input-in-label structure 2016-07-28 16:51:33 +12:00
Sam Minnée
b6ee213de7 Merge pull request #118 from open-sausages/pulls/4.0/namespace-security
API Apply SilverStripe\Security namespace
2016-07-07 12:26:16 +12:00
Ingo Schommer
6ea51d4f95 Merge pull request #117 from open-sausages/pulls/4.0/namespace-orm
Update to support new namespace SilverStripe\ORM
2016-07-01 15:08:28 +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
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