Neill Magill
3f560e80ed
MDL-62944 completion: Test that completion dates add events to calendar
...
When a user does not have calendar capabilities completion dates should
still be created correctly.
2018-08-31 10:15:35 +01:00
Víctor Déniz Falcón
02fda279ed
MDL-57281 behat: deprecated step definition I navigate to node in
...
Definition step deprecated and affected tests modified.
2018-08-20 12:53:26 +01:00
Mark Nielsen
197e2bca5b
MDL-59602 behat: make use of new course nav steps
2017-07-21 13:50:47 -07:00
Eloy Lafuente (stronk7)
2df7f223b8
MDL-58749 lang: fix couple of scenarios to use new lang string
2017-05-04 23:46:46 +02:00
Jake Dallimore
273d310601
MDL-58138 completion: Fixes for a number of small issues.
2017-04-19 11:41:57 +08:00
Marina Glancy
32b93ea7f8
MDL-58138 completion: changes after rebasing
...
The defaults for the completion have been changed in MDL-55611
2017-04-19 08:56:11 +08:00
Jake Dallimore
22002ed74b
MDL-58138 completion: consolidate bulk edit notifications to single call
...
Part of MDL-58138 epic
2017-04-19 08:56:11 +08:00
Jake Dallimore
8db355c58f
MDL-58138 tests: unit and behat tests covering bulk and default tabs
...
Part of MDL-58138 epic
2017-04-19 08:56:11 +08:00
Jun Pataleta
2c1a1b15b1
MDL-58102 completion: Behat fix
...
Part of MDL-55611 epic.
2017-04-03 11:37:08 +08:00
Simey Lameze
fdeeaff954
MDL-58265 core_test: replace I turn editing on steps
...
Also remove few more unnecessary steps that redirects behat to
site home page to actually get to the course.
Part of MDL-55611 epic.
2017-04-03 11:37:07 +08:00
Simey Lameze
c987d1b2ef
MDL-58265 core_test: replace all uses of I follow course steps
...
Part of MDL-55611 epic.
2017-04-03 11:37:07 +08:00
Damyon Wiese
8857c715d1
MDL-40759 icons: Behat fixes for font-awesome
2017-03-17 15:52:18 +08:00
Marina Glancy
3f9503468f
MDL-4782 course: Behat tests for stealth mode support
2017-02-14 16:38:08 +08:00
gthomas2
3982685a3c
MDL-57452 behat: Make completion check work with manual completion input
2017-01-12 11:45:21 +00:00
Marina Glancy
e5287f9b3b
MDL-56614 behat: navigate without navigation and admin blocks
2016-12-06 11:49:14 +08:00
Rajesh Taneja
f4565e7147
MDL-56994 behat: Fixed activity selector to find proper li
...
Previous to this patch, only 1 activity was
expected and if there are more than 1 activities
then it will fail. Improved step to find the
correct activity node by name
2016-11-22 11:02:52 +08:00
Rajesh Taneja
dc90838aaa
MDL-56630 behat: Click on link in specificed block/region
2016-11-08 14:45:43 +08:00
Mark Nielsen
2b509dbc01
MDL-55316 core_completion: Expand fields for Behat
...
This only happens if you create the course with
one user and then try to enable completion
with another user.
2016-07-22 11:29:27 -07:00
Rajesh Taneja
442a3651ec
MDL-54640 behat: add 1 sec delay before running tasks
...
Also just execute task, as running whole cron is not
required
2016-05-20 09:02:11 +08:00
Damyon Wiese
821ab1bf9b
MDL-52954 assign: Behat fixes because the assign grading ui has changed
2016-04-15 15:57:56 +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
Rajesh Taneja
42ad096fdb
MDL-46891 Behat: Added support for behat 3
2016-03-11 10:51:15 +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
4b6b84d677
Merge branch 'wip-mdl-52376' of git://github.com/rajeshtaneja/moodle
2015-12-22 11:24:45 +08:00
Rajesh Taneja
8509c4700b
MDL-52376 behat: Add 1 sec delay to ensure cron works
...
course completion record should be created at time
which is before the time cron is run. On fast machine
this both might be done at same time. So added 1 sec delay
2015-12-03 13:17:03 +08:00
Dan Poltawski
aa306e7bc8
MDL-52219 behat: remove steps which turn on avaibility/completion
...
Now its the default, we can reduce test time by relying on the default
state rather than going around turning it on
2015-11-26 14:07:17 +00:00
Eloy Lafuente (stronk7)
6d04e5511e
MDL-48117 behat: Use form field to check checkbox
...
On Mac-Chrome click checkbox is not generating
proper events and hence failing. Use behat_form_checkbox
to ensure checkbox is checked
2015-10-19 17:00:24 +08:00
Rajesh Taneja
1a5a476b03
MDL-51101 behat: Fixed wrong hover step usage
...
Hover step was being mis-used for checking activity completion
This is replaced with proper step which check for img element
2015-09-10 14:46:12 +08:00
Andrew Nicols
4569c6966a
MDL-51088 completion: Do not require hover to confirm xpath
2015-08-14 07:58:13 +08:00
Rajesh Taneja
e2e37bc510
MDL-49806 behat: Ensure user is marked complete before runnning cron
2015-05-27 09:24:18 +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
Simey Lameze
39030d8de3
MDL-49412 core_completion: Fix behat failures
...
Part of MDL-45774
2015-04-10 17:18:24 +08:00
Rajesh Taneja
bed97c39eb
MDL-49513 behat: Set admin config using php api
...
Added a new set to set config using set_config() api
to make steps faster and more efficient
2015-04-01 14:25:23 +08:00
Eloy Lafuente (stronk7)
38ea5e0a39
MDL-21724 course: change remaining tests to new "Save and display"
2014-12-04 12:14:31 +00:00
David Monllao
95d1a366ea
MDL-40241 core_completion: Minor fixes to provided patch
...
Thanks to Aaron Barnes and Jon Sharp for working on this issue.
2014-12-01 15:03:18 +08:00
Aaron Barnes
37ee40f3e0
MDL-40241 completion: Default roles unable to manually complete course
...
Thanks to Jon Sharp for authoring the original patch!
2014-11-28 16:50:50 +08:00
Rajesh Taneja
955118d831
MDL-43835 behat: Fixed matches for select form field
2014-06-25 12:54:52 +08:00
sam marshall
3e9c7420d3
MDL-44070 Behat: Fixed restrict_activity_by_date.feature
2014-04-09 17:51:59 +02:00
Rajesh Taneja
ae90dec5c2
MDL-44070 core_completion: Fixed behat
2014-04-09 14:24:55 +02:00
David Monllao
759b323e0e
MDL-43236 behat: Updating references to deprecated methods
2014-03-07 16:05:21 +08:00
David Monllao
f083d6145e
MDL-43738 behat: Updating features files
...
The following used steps were replaced by the ones
added in this issue:
- I fill the moodle form with
- I fill in with
- I select from
- I select radio button
- I check
- I uncheck
- the field should match
Also removing test for deprecated steps:
- the ASD checkbox should be checked
- the ASD checkbox should not be checked
2014-02-27 18:22:05 +08:00
David Monllao
8ef423433d
MDL-43717 behat: Replacing 2050 for a date eariler than the max timestamp 32bit limit
...
All credit goes to Michael de Raadt.
2014-01-17 10:37:59 +08:00
David Monllao
d1e55a47be
MDL-42625 behat: Step definitions + related changes in features
...
In general aiming for compatibility with multiple browsers,
firefox, chrome and phantomjs to be more specific.
* Removing hardcoded waits
* Adding @_alert, @_switch_window and @_switch_frame tags,
to label actions that different drivers have problems with.
* Adding missing @_files_upload and @_only_local tags to features that
uploads files.
* Fixing a few wait for page ready what specified miliseconds.
* New methods to ensure elements (usual selectors), sections and editors
are ready to interact with
* Changing the select an option implementation to deal with the different
drivers implementations when listening to JS events.
2013-12-06 13:10:24 +08:00
David Monllao
333db2e9b9
MDL-42625 behat: Editing .feature files
2013-12-06 12:13:39 +08:00
David Monllao
047a8800f4
MDL-40975 course: Adapt behat tests to the new course editing interface
2013-11-06 11:41:00 +08:00
Dan Poltawski
b0d92c0cec
Merge branch 'wip-mdl-42282' of git://github.com/rajeshtaneja/moodle
2013-10-29 11:31:32 +08:00
Dan Poltawski
0e9b076973
Merge branch 'wip-mdl-42281' of git://github.com/rajeshtaneja/moodle
2013-10-29 11:08:45 +08:00
Rajesh Taneja
e21ae3ebdc
MDL-42281 Behat: Automated test for MDLQA-510
...
MDLQA-510: A teacher can set grade conditions to restrict availability
of an activity
2013-10-28 16:48:19 +08:00
Rajesh Taneja
3f038d6d97
MDL-42283 Behat: Automated MDLQA-1777
...
MDLQA-1777: A teacher can set grade conditions to restrict availability of a section
2013-10-23 15:57:53 +08:00