Commit Graph

388 Commits

Author SHA1 Message Date
Ingo Schommer
d139eb82e0 Merge pull request #60 from jeffreyguo/pulls/text-before-after
check a text is before or after another text
2014-08-22 09:04:47 +12:00
Jeffrey Guo
9ba5043871 check a text is before or after another text
added comments for each step
check a text is before or after another text in an element
2014-08-21 18:22:22 +12:00
Damian Mooyman
c0801a63ef Refactor default screen resize into SilverStripeContext 2014-08-14 16:21:31 +12:00
Damian Mooyman
01b129de35 Ensure that the window is maximised prior to running each step 2014-08-11 17:58:02 +12:00
Ingo Schommer
78cfd94240 Merge pull request #64 from tractorcow/pulls/stacktrace
API Support extended JS error reporting
2014-08-09 11:33:22 +12:00
Damian Mooyman
bc3b0b4cd5 API Support extended JS error reporting 2014-08-08 16:50:10 +12:00
Ingo Schommer
bf36edecad Merge pull request #58 from oddnoc/safe-sitetree
Make SiteTree reference conditional in InitProcessor
2014-08-02 17:54:20 +12:00
Stig Lindqvist
8b020593b7 Update documentation about how to set a breakpoint 2014-07-29 11:24:58 +12:00
Fred Condo
81f292a2b5 Make SiteTree reference conditional
This makes the boilerplate code compatible for testing
framework-only sites.
2014-07-16 17:01:45 -07:00
Ingo Schommer
8956b2d4fa More resilient login form detection (works with absolute URLs and GET params) 2014-07-01 19:13:32 +12:00
Ingo Schommer
0a6854590d Merge pull request #55 from tractorcow/pulls/fix-elementnotfound
BUG Fix call to protected method and js change event
2014-06-27 08:15:52 +12:00
Damian Mooyman
042989e270 BUG Fix js change event not triggering 2014-06-26 09:22:18 +12:00
Damian Mooyman
fd40300c54 Merge pull request #56 from halkyon/exception_error
Fixing call to protected method elementNotFound.
2014-06-26 09:19:06 +12:00
Sean Harvey
223bb9ec22 Fixing call to protected method elementNotFound.
elementNotFound() is protected, it can't be called from outside.
Throw an ElementNotFoundException instead.
2014-06-25 13:47:35 +12:00
Ingo Schommer
3fe596be63 Fix quoting in getRegionObj()
Based on work by @jeffreyguo.
See https://github.com/silverstripe-labs/silverstripe-behat-extension/pull/53/commits
2014-06-18 12:58:37 +12:00
Sean Harvey
2dbd92b16b Merge pull request #51 from silverstripe-labs/pulls/table
Step definitions for table interactions
2014-06-17 13:43:29 +12:00
Ingo Schommer
4f8039d39f Removed unused goutte driver 2014-06-16 08:46:21 +12:00
Ingo Schommer
74116566f3 Merge pull request #47 from silverstripe-labs/develop
Update to mink 1.6 and remove custom fork
2014-06-13 15:37:05 +12:00
Ingo Schommer
ff86bde036 Step definitions for table interactions
Moved from framework module which had GridField specific steps under the same naming.
Made them more versatile, working for both GridField and other <table> nodes.
2014-06-13 15:05:32 +12:00
Ingo Schommer
e72395956c Merge pull request #49 from jeffreyguo/pulls/single-quote-getregion
handle single quote with build-in way in getRegionObj
2014-06-12 16:30:32 +12:00
Jeffrey Guo
27a381f4e0 handle single quote with build-in way in getRegionObj 2014-06-12 14:51:01 +12:00
Ingo Schommer
1af1620fb4 Merge pull request #36 from jeffreyguo/pulls/find-email-by-title
add new step definition to identify multiple emails by from to and title
2014-06-04 13:26:48 +12:00
Ingo Schommer
0694d4e3a3 Merge pull request #39 from srizzling/pulls/fill-in-field-region
Adding support to fill in field in a specfic region
2014-06-04 13:24:50 +12:00
Damian Mooyman
0050149bfa Update to mink 1.6 and remove custom fork
Add javascript-workaround for selecting hidden elements
2014-05-30 16:27:47 +12:00
Ingo Schommer
e3ccf1c733 Merge pull request #46 from jeffreyguo/pulls/select-radiobutton-by-type
find radiobutton by its type
2014-05-23 11:38:34 +12:00
Jeffrey Guo
86d8139f1b find radiobutton by its type 2014-05-23 11:16:50 +12:00
Ingo Schommer
e7400a7c91 Merge pull request #42 from halkyon/dismiss_dialog
Adding "I follow the link "test", dismissing the dialog" step
2014-05-16 10:36:05 +12:00
Sean Harvey
b789a3b67c Adding "I follow the link "test", dismissing the dialog" step 2014-05-16 10:35:07 +12:00
Ingo Schommer
a4f70b65dc Merge pull request #41 from tractorcow/0.2
Move selenium2 driver to ss vendor
2014-05-14 13:02:21 +12:00
Damian Mooyman
de2faf90ff Move selenium2 driver to ss vendor 2014-05-14 11:50:47 +12:00
Sriram Venkatesh
5e58444e07 Adding support to fill in field in a specfic region 2014-05-07 16:07:21 +12:00
Ingo Schommer
10da00c796 Guard against older jQuery versions 2014-05-07 10:47:29 +12:00
Ingo Schommer
51f7fc9e20 Merge pull request #38 from tractorcow/pulls/radio-select
API Allow "I select the * radio button"
2014-05-05 13:05:38 +12:00
Damian Mooyman
a7ae2497d4 API Allow "I select the * radio button" 2014-05-05 13:05:15 +12:00
Jeffrey Guo
29d99e884f add new step definition to identify multiple emails by title 2014-05-01 10:28:20 +12:00
Ingo Schommer
68524346c6 Merge pull request #35 from jeffreyguo/pulls/test-mailer-update
Get the latest email from the email
2014-04-30 17:53:15 +12:00
Jeffrey Guo
4f7b794d9c get the last one email 2014-04-30 17:30:50 +12:00
Sean Harvey
58499365fb Merge pull request #34 from silverstripe-labs/pulls/datetime
NEW Set current date and time through Behat
2014-04-16 11:17:45 +12:00
Ingo Schommer
3b8518e4ab NEW Set current date and time through Behat 2014-04-16 11:14:42 +12:00
Ingo Schommer
d313b4ccce Merge pull request #32 from tractorcow/pulls/asset-fixture
API Allow usage of assets with modified / created date specification
2014-04-16 11:12:27 +12:00
Sean Harvey
ce302e74ad Merge pull request #33 from madmatt/pulls/fix-exceptions
FIX: Invalid Exception throw results in CI failures
2014-04-16 09:11:30 +12:00
madmatt
1a1d5bdead FIX: Invalid Exception throw results in CI failures 2014-04-15 23:56:03 +12:00
Damian Mooyman
2520cb1bbf API Allow usage of assets with modified / created date specification 2014-04-15 09:25:32 +12:00
Sean Harvey
7b85ffdcde Merge pull request #31 from srizzling/session-undefined
[MINOR] Session variable was undefined in Basic Context
2014-04-09 13:56:16 +12:00
Sriram Venkatesh
2294ee92a2 Session in undefined 2014-04-09 13:06:35 +12:00
Ingo Schommer
2ec760cb1d Improved region support, added "see text in region" step 2014-04-09 10:31:41 +12:00
Ingo Schommer
6a7df2f702 More resistant login form detection
Had some issues with multiple login forms on the same page,
e.g. for social login, or with duplicated hidden login forms
in the header.
2014-04-07 18:08:56 +12:00
Ingo Schommer
6f0cc7f68e Support multiple login forms on a page
Thanks to Jeffrey Guo for contributing.
2014-04-07 13:03:40 +12:00
Sean Harvey
3928c6ecfe Merge pull request #30 from halkyon/better_fake_password
Don't validate passwords when writing a fake password
2014-04-02 22:21:31 +13:00
Sean Harvey
c8120b2785 Don't validate passwords when writing a fake password
Stops existing password validators causing issues with logging in fake
users, as "secret" might not meet complexity requirements.
2014-04-02 22:09:22 +13:00