acorbier
6bed8d49b6
MDL-56369 behat: Updated comment for i_look_for_exceptions
...
After upgrade to Behat 3.x, i_look_for_exception is called from
Moodle\BehatExtension\EventDispatcher\Tester\ChainedStepTester
2016-10-14 13:25:16 +08:00
Rajesh Taneja
f7a8bc6378
MDL-46514 behat: Delete tablesupdatedbyscenario before suite
...
Delete tablesupdatedbyscenario before db reset to ensure
db is fully reset. In case user exits or process terminated
then the file will be left and can lead to wrong results
2016-08-23 15:19:29 +08:00
Andrew Nicols
39bb6831fc
Merge branch 'wip-mdl-55329-m31' of https://github.com/rajeshtaneja/moodle into MOODLE_31_STABLE
2016-08-09 14:27:49 +08:00
Dan Poltawski
50b5467ba1
Merge branch 'wip-MDL-55418-m31' of https://github.com/marinaglancy/moodle into MOODLE_31_STABLE
2016-08-08 10:33:45 +01:00
Rajesh Taneja
ab70395d0b
MDL-54656 behat: Skip test if db family is not mysql or postgres
2016-08-04 08:47:04 +08:00
Marina Glancy
174b641661
MDL-55418 behat: correct exception class name
2016-08-03 09:17:52 +08:00
Rajesh Taneja
85f20080a0
MDL-55329 behat: PyStrings should end with : (colon)
2016-07-27 07:02:09 +08:00
Rajesh Taneja
695df07228
MDL-55258 behat: Set focus on button before clicking it
...
Set the focus on button to ensure it is in
viewport before clicking on it.
2016-07-19 10:40:55 +08:00
Rajesh Taneja
4f5a6e28ec
MDL-54860 behat: Stop execution if setup problem found
2016-07-06 07:28:31 +08:00
Rajesh Taneja
793d92aa86
MDL-54974 behat: Handle interupts on PHP7
...
As https://bugs.php.net/bug.php?id=71448 is
not going to get fixed, we need to declare tick
2016-06-27 14:32:22 +08:00
Eloy Lafuente (stronk7)
2579f5f1fa
Merge branch 'wip-mdl-54589-m31' of https://github.com/rajeshtaneja/moodle into MOODLE_31_STABLE
2016-06-22 01:42:05 +02:00
Rajesh Taneja
86e079521b
MDL-54589 behat: Added hack for some OS/browsers
2016-06-20 16:03:11 +08:00
sam marshall
143f3624cf
MDL-54920 Behat: Allow viewport size to be set consistently
...
Provides a new Behat step
And I set viewport size to "800x600"
2016-06-15 15:26:42 +01:00
Mark Johnson
6862093122
MDL-54180 Behat: Handle exceptions from driver when saving screenshot
2016-05-31 12:34:58 +01:00
Dan Poltawski
07eb3a0db7
Merge branch 'wip-mdl-53956' of https://github.com/rajeshtaneja/moodle
2016-05-18 10:45:22 +01:00
Rajesh Taneja
1ef6a5e30a
MDL-53956 behat: Avoid before and after step and switch
...
After pressing the button, if system is slow then
after step and before step might fail as the window
is closed by then. Execute steps one after other
2016-05-18 10:41:01 +08:00
Cameron Ball
f65ce33f99
MDL-53311 behat: Update behat navigation steps
2016-05-13 16:01:48 +08:00
Eloy Lafuente (stronk7)
15f69edb1d
Merge branch 'MDL-53796_master' of git://github.com/dmonllao/moodle
2016-04-19 01:58:13 +02:00
David Monllao
8918a8115e
MDL-53796 behat: Move get_debug_text to base class
2016-04-13 10:34:28 +08:00
David Monllao
27bfb0ee9b
Merge branch 'wip-MDL-45064-master' of https://github.com/marinaglancy/moodle
2016-04-13 09:38:12 +08:00
Marina Glancy
df003a85f0
MDL-53443 mod_feedback: templates code clean up and behat tests
2016-04-13 09:21:33 +08:00
John Okely
01e8bfd745
MDL-45064 lti: LTI types in activity chooser
2016-04-13 08:30:04 +08:00
Rajesh Taneja
921faad9ad
MDL-53571 behat: Use Escaper for escaping
...
xpathLiteral has been depreacted, use Escaper instead
2016-04-06 15:38:31 +08:00
Rajesh Taneja
eb9ca848fa
MDL-53381 behat: Replaced chained steps with api.
...
Behat 3.x doesn't support chained steps and hence
this is first step to get rid of chained steps in core.
2016-04-06 11:32:49 +08:00
Eloy Lafuente (stronk7)
d9c557250c
MDL-52502 behat: clean 2 uses of deleted method
2016-04-06 00:16:08 +02:00
Rajesh Taneja
e891c8381e
MDL-52502 behat: Ensure php web and cli version is same
2016-04-05 11:46:44 +08:00
Rajesh Taneja
af7cadbb4d
MDL-46891 behat: Increment counter
2016-03-14 14:24:36 +08:00
Rajesh Taneja
e01012e96d
MDL-46891 behat: Driver specific fixes.
...
1. Browserkit doesn't handle [] in name
2. Grades are not visible in viewport and might fail
with few drivers, increasing size of window to ensure
grades are visible and can be modified.
3. Click edit first to see grade link
4. Expand fields before setting value
5. Updated xpath, as crawler update it.
6. Hover fails to show icon
2016-03-11 10:51:16 +08:00
Rajesh Taneja
0f3fba7d66
MDL-46891 behat: If setup problem then stop execution
...
Exception are handled via CallCenter and execution is
not stopped if execption is thrown in beforescenario.
If any setup problem encountered, then stop execution.
2016-03-11 10:51:16 +08:00
Rajesh Taneja
07298309dc
MDL-46891 behat: Move wait in behat_base so it can be used easily
2016-03-11 10:51:16 +08:00
Rajesh Taneja
86055d11f9
MDL-46891 behat: Optimised login step and context helper
2016-03-11 10:51:15 +08:00
Rajesh Taneja
42ad096fdb
MDL-46891 Behat: Added support for behat 3
2016-03-11 10:51:15 +08:00
Rajesh Taneja
fee2cde5b6
MDL-52970 behat: Navigation step improvement
...
If navigation node to expand is a link then first
click on it and navigate to next page where it is
expanded, and then click on link within. This is
needed as some drivers click on link and don't open
the navigation node which are links
2016-02-19 15:21:52 +08:00
sam marshall
a4ce565f20
MDL-53012 Behat: Add step to run scheduled task
2016-02-15 17:24:15 +00:00
Dan Poltawski
b0e7075214
Merge branch 'wip-mdl-52932-m' of https://github.com/rajeshtaneja/moodle
2016-02-01 10:27:28 +00:00
Mark Johnson
a2497e5036
MDL-52913 behat: Abort database transactions on exception.
2016-01-29 11:54:56 +00:00
Rajesh Taneja
5e48383330
MDL-52932 behat: Restart session if it fails because of some reason
2016-01-29 11:59:01 +08:00
John Okely
a057ba5924
MDL-35590 navigation: Remove link from admin node if you have javascript
...
Also:
* In behat, ensure nav node exists before checking attribute (Credit to
Rajesh Taneja)
* Remove some unused JS constants
* Fix debugging notice for users without settings block
2016-01-29 11:28:08 +08:00
Rajesh Taneja
80f37f2739
MDL-35590 behat: Data-loaded is on li node
2016-01-29 10:15:25 +08:00
Rajesh Taneja
10ac8baf6e
MDL-35590 behat: Fixed navigation steps to support aria attributes
2016-01-22 17:53:44 +08:00
David Monllao
a49fd98349
MDL-52226 tests: Fix behat phpunit naming conflict
2015-12-21 16:27:23 +08:00
sam marshall
6d4858d5b3
MDL-52226 Forms: max_input_vars problems with advanced checkbox
2015-12-09 12:15:45 +00:00
Tim Hunt
eb3884e48f
MDL-52292 block testing generators: improve the API
...
* Refactor the block generator base class, to remove the amount
of duplication required in base classes.
* Change the defaults that are filled in to be a little more natural.
* Make the Behat step 'Given the following "block" exist:' work.
2015-12-01 13:48:08 +00:00
Dan Poltawski
14248189b7
Merge branch 'wip-mdl-50163' of https://github.com/rajeshtaneja/moodle
2015-11-23 11:33:55 +00:00
Rajesh Taneja
8f76de32d9
MDL-50163 behat: Return subcontext from session
...
Creating a new context with new mink context
with different session was keeping the session
and was not returning proper session information
2015-11-17 13:27:10 +08:00
rajesh Taneja
131d4ac2b0
MDL-50163 behat: Restart session after scenario with switch_window
...
Restart session after a scenario with switch window
is finished. This will close all open browser windows
and open a new browser window
2015-11-17 12:12:03 +08:00
Ryan Wyllie
77b0811021
MDL-51983 actionmenu: behat tests
2015-11-04 06:36:32 +00:00
rajesh Taneja
180fdb2f7c
MDL-52007 behat: Use extended timeout for site admin expansion
2015-11-03 16:08:27 +08:00
Dan Poltawski
05ed945e61
Merge branch 'wip-mdl-50940' of https://github.com/rajeshtaneja/moodle
2015-10-15 08:58:23 +01:00
rajesh Taneja
267033a979
MDL-50940 behat: Added support for field matching with xpath
2015-09-24 13:00:15 +08:00