Commit Graph

244 Commits

Author SHA1 Message Date
Steve Boyd
b9b4c1d2a2
FIX Statically call assertion 2021-11-11 14:13:15 +13:00
Steve Boyd
bc76e19d5d
NEW Skip MFA on login if present (#204) 2021-11-08 14:29:05 +13:00
Steve Boyd
c7563fda09 DEP PHP8 support 2021-11-08 10:28:45 +13:00
Steve Boyd
9ee6858f91 API phpunit9 support 2021-10-27 17:14:44 +13:00
Steve Boyd
76431b1190 NEW Add function to elements and select from dropdowns 2021-07-29 22:05:50 +12:00
Steve Boyd
c754d70042 NEW add iClickOnTheElementConfirmingTheDialog 2021-04-15 13:57:58 +12:00
Steve Boyd
420ceb8c0d NEW Add iClickOnTheElement 2021-04-15 12:13:29 +12:00
Steve Boyd
fc9315123e Merge branch '4.0' into 4 2021-03-21 18:35:18 +13:00
Maxime Rainville
efdd90b197
MNT Add support for symphony 4 and switch to shared travis config (#199)
* MNT Add support for symphony 4 and switch to shared travis config

* Specify DB

* Update phpunit config

* Don't test php 8

* Pleasing PHP8

* Use correct syntax for composer OR constraints

* Doing the constraint right ... maybe

Co-authored-by: Steve Boyd <emteknetnz@gmail.com>

Co-authored-by: Steve Boyd <emteknetnz@gmail.com>
2021-03-16 15:31:47 +13:00
Steve Boyd
4d6bd1890c MNT Travis shared config, use sminnee/phpunit 2021-01-19 11:33:18 +13:00
Serge Latyntcev
892aee9592 MNT Add support for sminnee/phpunit fork 2020-10-08 14:46:44 +13:00
Maxime Rainville
6df2a983e3
BUG Avoid trying to get singletons fon non-existan classes (#192)
BUG Avoid trying to get singletons for non-existant classes
2020-04-29 09:54:45 +12:00
Serge Latyntcev
e218fb85df FIX WebDriverSession autostart
Mink does not autostart web driver session anymore until the first ->visit invocation

Here's the breaking change: acf5fb1ec7

SilverStripeContext assumes the session is started when it prepares for the scenario (e.g. it may change the resolution)
2020-03-17 15:44:39 +13:00
Maxime Rainville
a594f44188 Rename click-oneoof-these-buttons method 2019-09-24 15:29:11 +12:00
Maxime Rainville
f94ff57604 BUG Add a method that allow multiple button to be search for and press 2019-09-24 13:58:15 +12:00
Robbie Averill
6ffbd879dc Update typo in docblock 2019-03-22 10:00:05 +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