Rajesh Taneja
0e1c34e51a
MDL-46891 behat: Added support for $CFG->behat_profiles
...
This config will be supported to avoid broken configuration
in future. As this is limited, we need will still use
->behat_config to set config values which can't be set by
behat_profiles
2016-03-11 10:51:17 +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
d2ee22e744
MDL-27628 behat: Added delay to ensure the value is set.
...
After user type there is a 400ms delay, then search
Adding 2 sec delay to ensure search is finished before
click event is triggred
2016-03-10 13:17:11 +01:00
Ruslan Kabalin
7d19e0e33d
MDL-50887 antivirus_clamav: Move global clamav settings to plugin level.
...
AMOS BEGIN
MOV [clamfailureonupload,core],[clamfailureonupload,antivirus_clamav]
MOV [configclamactlikevirus,core],[configclamactlikevirus,antivirus_clamav]
MOV [configclamdonothing,core],[configclamdonothing,antivirus_clamav]
MOV [configclamfailureonupload,core],[configclamfailureonupload,antivirus_clamav]
MOV [configpathtoclam,core],[configpathtoclam,antivirus_clamav]
MOV [configquarantinedir,core],[configquarantinedir,antivirus_clamav]
MOV [configrunclamavonupload,core],[configrunclamavonupload,antivirus_clamav]
MOV [pathtoclam,core],[pathtoclam,antivirus_clamav]
MOV [quarantinedir,core],[quarantinedir,antivirus_clamav]
MOV [runclamavonupload,core],[runclamavonupload,antivirus_clamav]
AMOS END
2016-02-25 09:55:45 +00:00
Rajesh Taneja
f7a73e196e
MDL-52970 behat: For single select only click event is enough
2016-02-19 15:21:52 +08:00
Rajesh Taneja
e8ef0e4f63
MDL-52970 behat: don't set select value if already set
...
In FF 44.0, it fails to click on submit button if
select value is set to the original value
2016-02-19 15:21:51 +08:00
Marina Glancy
cdc5f9785b
MDL-51802 core: new template for quick editing a title
...
convert editing tag name to use new template
2016-02-13 11:07:42 +08:00
Tim Hunt
41f4dabe2b
MDL-52899 behat: make PAGE_READY_JS more robust
2016-01-26 11:23:26 +00:00
Rajesh Taneja
66fe88db93
MDL-51881 behat: Set navbar to be absolutely positioned
...
All behat drivers are now replicating human behavior
so when the browser scrolls something into view it doesn't account
for fixed positioned elements that end up obscuring the item thus
leading to errors that could be avoided by scrolling an additional amount.
2016-01-05 13:59:45 +08:00
Rajesh Taneja
c2df9b3b90
MDL-52427 behat: Fixed question selectors
...
As class is changed, we need to convert selector
to check if class is contained, rather then checking
selecting with specific class.
2015-12-22 10:43:22 +08: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
Dan Poltawski
950af0b4e0
MDL-51988 behat: select a table by <th> tag
2015-11-11 12:30:35 +00:00
Ryan Wyllie
e24188c881
MDL-50426 behat: fix behat field manager
...
Thanks to Raj for the patch.
2015-11-05 08:20:39 +00:00
rajesh Taneja
0db240c1dd
MDL-51918 behat: Key press should be down-press-up
...
As we simulate real user key press event, the
event should down followed by press and then up key
2015-11-05 09:15:41 +08:00
Damyon Wiese
60a1ea56d9
MDL-51247 forms: All new aria-pimped autocomplete mform element.
...
Supports static list of options - or options fetched via ajax.
Has options for single,multi and tags support.
2015-10-14 16:22:44 +01:00
Marina Glancy
0cf7252406
MDL-50919 behat: Step for keypress event in behat
2015-09-02 14:15:09 +08:00
Andrew Nicols
d78613701c
MDL-49841 testing: Correct composer incantation
2015-08-14 10:27:53 +08:00
Mark Johnson
c5639c9118
MDL-51014 behat: Wait for filepicker to load repository
2015-08-10 13:37:24 +01:00
Luke Carrier
0897e19093
MDL-50611 test: use cURL extension to download Composer
...
The curl binary is nowhere near as common in Windows environments as it is
in Linux and Mac ones. In order to encourage more users to adopt Behat and
PHPUnit for their testing, we should avoid introducing unnecessary
hurdles.
2015-06-22 15:50:01 +01:00
Rajesh Taneja
b7861ddab3
MDL-49772 behat: Removed optimization as it's not required
...
This api is called very few times in behat
initilisation process, so such optimization
is an over engineer. Hence removing it.
2015-05-27 11:20:48 +08:00
Rajesh Taneja
91a96d402a
MDL-49772 behat: Added support to updatestep file by parallel run
2015-05-21 13:24:29 +08:00
Rajesh Taneja
0fe86bbdbb
MDL-49799 behat: replaced asd.com with example.com
...
asd.com is a valid domain, we should use reserved domain names for testing
2015-04-20 11:21:20 +08:00
Rajesh Taneja
f8b71928d2
MDL-49456 behat: Use proper dir separator to support different os
2015-04-17 11:48:37 +08:00
Rajesh Taneja
72bac0d3f2
MDL-49456 behat: Fixed following issues in parallel run
...
1. Parallel run without feature should exit with success
2. Updated exit codes to be more clear for each process
3. Fixed wwwroot and dataroot while executing with tags
4. Added support for running scenario/feature
5. Added support for or'ing tags
6. Added support for running single behat site
7. Fixed wrong example in help
8. Use parallel run only when parallel > 1
9. Exit showing behat site is not installed
10. Exit with error, if not a valid option
11. Added usage in help to explain how to use command
12. run.php should be able to run from any path
13. Pass all arguments to single run
2015-04-16 15:44:25 +08:00
Tim Hunt
5954a9de10
MDL-49445 behat: selectors should match the most specific tr or li
...
I also fixed the text rule, which already did this, to use the same
idiom. It is unnecessarily inefficient to count all the things and
compare to 0. Not exists should be faster.
Also, updated all the selectors here to consistently start relative to
the current node (.//, not //).
2015-03-13 14:28:13 +00:00
Dan Poltawski
9be958e2f0
MDL-39752 fix whitespace errors
...
(And some others unrelated to above issue, because its spring and i'm
cleaning).
2015-03-10 14:13:20 +00:00
Rajesh Taneja
17e675a7fc
MDL-39752 behat: Return proper behat dir if config set
2015-03-10 13:51:37 +00:00
Rajesh Taneja
5b9e6b5526
MDL-39752 behat: Added support for behat_wwwroot and behat_dataroot
2015-03-09 07:49:25 +08:00
Rajesh Taneja
a2754d791b
MDL-39752 behat: Moved parallel run checks from setup to behat/lib.php
2015-03-09 07:11:57 +08:00
Rajesh Taneja
1bff616611
MDL-39752 behat: Added Fromrun and torun for running on multiple vms
...
https://circleci.com
2015-03-09 07:11:56 +08:00
Rajesh Taneja
ef95c163e4
MDL-39752 behat: Don't package default step count with moodle
2015-03-09 07:11:56 +08:00
Rajesh Taneja
027212b034
MDL-39752 behat: Use symfony2/process
2015-03-09 06:52:54 +08:00
Rajesh Taneja
3c71c15c26
MDL-39752 behat: Modified following for parallel run:
...
1. Create behat datadir within behat_dataroot not at same level
2. Define suffix for link and not use hard-coded values
3. Renamed ns_parallel to run.php
4. Rename variables to best understand them
5. Added support for each run to specify db, prefix, rerun and profile.
6. Showing number of steps in each line of parallel run.
2015-03-09 06:52:54 +08:00
Tony Levi
08e7f97ee4
MDL-39752 behat: Parallel execution support
2015-03-09 06:52:54 +08:00
Tim Hunt
92caa214ef
MDL-49335 Behat: new question selector
...
So you can say things like
And I click on "True" "radio" in the "First question" "question"
2015-03-03 11:19:48 +00:00
Tim Hunt
f70fbc05e1
MDL-49334 behat: sort selector lists
2015-03-03 11:13:31 +00:00
Ankit Agarwal
bbcd308340
MDL-48559 behat: Moving cronclionly to the installer
2015-02-17 14:33:56 +08:00
John Okely
102cfc4964
MDL-44520 behat: Add behat selectors for section, activity
2015-02-06 10:34:54 +08:00
Tony Levi
80ac8522cc
MDL-48926 behat: Do not poll within spin for non-javascript mode
2015-01-28 10:58:00 +10:30
Eloy Lafuente (stronk7)
4f6c2d9f8b
MDL-48741 behat: add new moodle_list formatter (rerun compatible)
2015-01-16 03:13:58 +01:00
Eloy Lafuente (stronk7)
c0d8831ae7
MDL-45699 behat: Don't use behat/lib.php functions in core.
...
behat/lib.php script should not be usually included, neither any of its functions
used within mooodle code at all. It's for exclusive use of behat and
moodle setup.php. For places requiring a different/special behavior
needing to check if are being run as part of behat tests, use:
if (defined('BEHAT_SITE_RUNNING')) { ...
2014-12-23 12:29:44 +01:00
Eloy Lafuente (stronk7)
093c161d46
Merge branch '45699-29' of git://github.com/samhemelryk/moodle
...
Conflicts:
cache/upgrade.txt
2014-12-23 02:01:36 +01:00
Sam Hemelryk
255501c900
Merge branch 'mdl48517' of https://github.com/tlevi/moodle
2014-12-09 15:15:51 +13:00
Tony Levi
064b8b7fe3
MDL-48517: behat: Fix reset ordering reversal (MDL-48302)
2014-12-07 23:58:24 +10:30
Sam Hemelryk
a52c5e63eb
MDL-45699 behat: can now use alt cache config
2014-12-06 12:09:48 +13:00
Tim Hunt
4e4c8d3a27
MDL-48373 behat: new container selector for list items.
2014-12-05 12:22:26 +00:00
Rajesh Taneja
ef1d45b394
MDL-48302 behat: Reset cache before scenario
2014-11-21 10:22:56 +08:00