Eloy Lafuente (stronk7)
a182f88f7f
MDL-39723 prevent update_courses() bad habits.
...
All the external functions end calling require_login() that is
always in charge of setting the $COURSE global. This is not a
problem, but in the case of core_course_external::update_courses()
testing, where we are, in the same "request", both setting and getting
the $COURSE information and it's clearly outdated, so the test fails.
Alternative solution would be to modify the external function to ensure
that, after updating a course, $COURSE is also updated with the changes
but it does not seem to be necessary for "normal" usage (both UI/WS POVs).
2013-06-04 21:45:15 +02:00
David Monllao
686279d047
MDL-39717 behat: Removing unstable steps and scenarios
2013-05-17 11:24:21 +08:00
David Monllao
7daab4016d
MDL-39717 behat: Add info to experimental steps definitions
...
JS modal dialogs and drag & drop should be
considered experimental as the steps are not
working as expected in all OS/browser combinations.
2013-05-17 11:23:05 +08:00
David Monllao
5d7b6307b1
MDL-39586 behat: Closed list of stackeholders
2013-05-09 18:38:13 +08:00
David Monllao
b576bdc75d
MDL-39051 behat: New tests
...
To cover all course controls functionalities with
and without Javascript and with and without paged
course mode.
2013-05-09 17:20:58 +08:00
David Monllao
0e575f010e
MDL-39051 behat: New steps for activity related actions
2013-05-09 17:15:25 +08:00
David Monllao
a07ad80ae6
MDL-39051 behat: Using new steps definitions
2013-05-09 14:27:41 +08:00
Damyon Wiese
69a0e65c56
MDL-38315 Fix unit tests for module completion
2013-05-06 23:27:40 +08:00
David Monllao
00ea74cb54
MDL-39348 behat: Chaining strings instead of splitting strings in lines
2013-05-03 10:16:44 +08:00
David Monllao
4d40089d88
MDL-39348 behat: Changing to correct activity names
2013-05-03 10:16:44 +08:00
Eloy Lafuente (stronk7)
6a222aa127
Merge branch 'MDL-39232_master' of git://github.com/dmonllao/moodle
2013-05-01 00:47:32 +02:00
David Monllao
550d842e3c
MDL-39232 behat Normalize feature tags according to component names
2013-04-30 11:54:47 +08:00
Jerome Mouneyrac
487bc1b627
MDL-38440 WebService get_contents doesn't return the full text of labels
2013-04-26 15:13:03 +08:00
Petr Škoda
0ddd65d9e0
MDL-38989 add missing test timeout reset
2013-04-10 09:49:19 +02:00
Damyon Wiese
6aa38ef89a
Merge branch 'wip-MDL-38708-master' of git://github.com/marinaglancy/moodle
2013-04-05 09:19:09 +08:00
Marina Glancy
97d5e39c49
MDL-38708 Changed test to be more accurate
2013-04-05 10:52:09 +11:00
David Monllao
b0f0995b09
MDL-38590 behat: Fixing broken behat test
2013-04-04 13:54:40 +08:00
Eloy Lafuente (stronk7)
6b117438b9
Merge branch 'MDL-38482_master' of git://github.com/dmonllao/moodle
2013-04-03 16:48:42 +02:00
Damyon Wiese
7bf602d9d3
Merge branch 'MDL-26644-master' of git://github.com/FMCorz/moodle
...
Conflicts:
lib/db/install.xml
lib/db/upgrade.php
2013-04-03 14:32:11 +08:00
David Monllao
1045bfecd1
MDL-38482 behat: New test
...
According to MDLQA-1756 the maximum
number of weeks/topics for course can be
configured and not restricted to 52.
2013-04-03 10:08:03 +08:00
David Monllao
df1ff55d7a
MDL-38482 behat: Steps definitions for course management
...
- To access the course management page
- To create a course based in a table
2013-04-03 09:44:31 +08:00
Eloy Lafuente (stronk7)
d3f422bdc1
Merge branch 'MDL-38687_master' of git://github.com/dmonllao/moodle
2013-04-02 20:46:05 +02:00
Eloy Lafuente (stronk7)
a534e06e47
Merge branch 'MDL-38616_master' of git://github.com/dmonllao/moodle
2013-04-02 18:35:41 +02:00
Eloy Lafuente (stronk7)
871da25a40
Merge branch 'MDL-38622_master' of git://github.com/dmonllao/moodle
2013-04-02 15:51:17 +02:00
David Monllao
08aa2c3b81
MDL-38549 behat: New tests
...
Group mode activity icons toggle group
mode correctly. According to MDLQA-1603,
MDLQA-1604, MDLQA-1605, MDLQA-1606
and MDLQA-1607
2013-04-02 15:46:38 +02:00
Eloy Lafuente (stronk7)
c9a66fc2b5
MDL-38811 behat: whitespace fixes
2013-04-02 15:45:19 +02:00
David Monllao
46ef87c535
MDL-38811 behat: New test
...
According to MDLQA-1564, a teacher can
indent items on the course page
2013-04-02 15:44:05 +02:00
Eloy Lafuente (stronk7)
7fb5b7fae1
Merge branch 'MDL-38548_master' of git://github.com/dmonllao/moodle
2013-04-02 15:25:19 +02:00
David Monllao
44d5af386c
MDL-38687 behat: Add activity step modification
...
We are only supposed to look for
the activity name in @class=typename
2013-04-02 14:13:57 +08:00
Damyon Wiese
9ab0aece49
Merge branch 'MDL-38700-master' of git://github.com/danpoltawski/moodle
...
Conflicts:
course/tests/courselib_test.php
2013-04-02 12:48:08 +08:00
David Monllao
739ac54ab0
MDL-38622 behat: New tests
...
Navigation works correctly in paged
mode, according to MDLQA-1633, MDLQA-1639,
MDLQA-1645, MDLQA-1646, MDLQA-1647,
MDLQA-1648, MDLQA-1649, MDLQA-1651,
MDLQA-1652, MDLQA-1653, MDLQA-1654
and MDLQA-1655.
2013-04-02 11:47:26 +08:00
Eloy Lafuente (stronk7)
54e48dc32d
Merge branch 'MDL-38547_master' of git://github.com/dmonllao/moodle
2013-04-01 22:32:06 +02:00
Eloy Lafuente (stronk7)
c57c57c575
Merge branch 'MDL-38499_master' of git://github.com/dmonllao/moodle
2013-04-01 22:23:58 +02:00
Eloy Lafuente (stronk7)
0251a62500
Merge branch 'MDL-38486_master' of git://github.com/dmonllao/moodle
2013-04-01 22:17:12 +02:00
Eloy Lafuente (stronk7)
68adfee6d4
Merge branch 'MDL-38788_master' of git://github.com/dmonllao/moodle
2013-04-01 13:17:20 +02:00
David Monllao
1c00d6f636
MDL-38788 behat: Add a block and add an activity steps definitions compatible with JS disabled
2013-04-01 11:18:33 +08:00
David Monllao
c94a0d1890
MDL-38788 behat: New tests with Javascript disabled
...
Add a block and add an activity/resource
tests. The add an activity with JS disabled
test includes MDLQA-2446 automation.
2013-04-01 11:17:45 +08:00
David Monllao
4b528daed5
MDL-38616 behat: New test
...
According to MDLQA-4600, an admin
can control which activities can
be added to courses.
2013-03-28 14:16:21 +08:00
David Monllao
bf648567e0
MDL-38548 behat: Step definitions to check activities visibility
2013-03-28 12:07:44 +08:00
David Monllao
3442b9e54f
MDL-38548 behat: New tests
...
The show/hide activity/resource icon
functions correctly. According to
MDLQA-1573, MDLQA-1574, MDLQA-1575,
MDLQA-1576 and MDLQA-1577.
2013-03-28 12:06:24 +08:00
David Monllao
b918f9f7bf
MDL-38499 behat: Steps definitions for section visibility management
2013-03-27 16:00:54 +08:00
David Monllao
8ec8a05851
MDL-38499 behat: New test
...
The show/hide section icon functions
correctly. According to MDLQA-1579,
MDLQA-1580, MDLQA-1581, MDLQA-1582
and MDLQA-1583.
2013-03-27 15:57:19 +08:00
David Monllao
4069c4e73f
MDL-38486 behat: New test
...
Section highlighting can be turned off
correctly using the toggle highlighting
icon. According to MDLQA-1591, MDLQA-1592,
MDLQA-1593, MDLQA-1594 and MDLQA-1595
2013-03-27 15:46:03 +08:00
David Monllao
18c84063e3
MDL-38486 behat: Course's topics highlighting steps definitions
2013-03-27 15:46:03 +08:00
Eloy Lafuente (stronk7)
18ceea60af
Merge branch 'MDL-38484_master' of git://github.com/dmonllao/moodle
2013-03-27 00:47:32 +01:00
Eloy Lafuente (stronk7)
64a807ae44
Merge branch 'MDL-38483_master' of git://github.com/dmonllao/moodle
2013-03-27 00:43:19 +01:00
Aparup Banerjee
be0eacf883
Merge branch 'MDL-38564-master' of git://github.com/ankitagarwal/moodle
2013-03-26 17:20:01 +08:00
Ankit Agarwal
bf6b3c7a8a
MDL-38564 Adding unit tests for the functions compare_activities_by_time_asc() and compare_activities_by_time_desc()
2013-03-26 16:12:01 +08:00
Dan Poltawski
1fff1b8cba
MDL-38700 course: add tests for moveto_module()
...
* Test visibility when moving around hidden sections
* Test for visiblity changes when moving around in the same sections.
2013-03-26 15:03:32 +08:00
Marina Glancy
b28bb7e8c7
MDL-38147 Added coursecatlib_test.php, changed other tests to use coursecat::create() for creating category
2013-03-25 13:20:39 +11:00