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
93be3f730c
MDL-58265 core_test: remove unnecessary steps
...
This commmit removes steps that take behat to site home page
to actually get to a course page.
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
Rajesh Taneja
57bee542ab
MDL-56519 behat: Fixed lint errors
2017-01-03 09:12:54 +08:00
Marina Glancy
e5287f9b3b
MDL-56614 behat: navigate without navigation and admin blocks
2016-12-06 11:49:14 +08:00
Damyon Wiese
ba5c5083c5
MDL-55074 theme_boost: Behat fixes for latest theme changes
...
Fix I edit profile steps
Apply fixed header in css
Remove transitions from menus for behat
Be more specific about some "I follow" steps
Navigation path changes
"Current course" node removed from nav tree
Adapt tests because there are no default blocks
Force some space between action menu items
2016-10-21 16:06:54 +08:00
Rajesh Taneja
52f3e060e4
MDL-55091 phpunit: Following has been deprecated.
...
1. getMock()
2. setExpectedException()
3. checkForUnintentionallyCoveredCode renamed to beStrictAboutCoversAnnotation
4. beStrictAboutTestSize renamed to enforceTimeLimit
5. UnitTestCase class is now fully removed.
2016-07-26 10:11:30 +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
a1d3a94b1c
MDL-49150 behat: Removed unnecessary @javascript tags
2016-03-22 13:54:12 +08:00
David Monllao
4235b98110
Merge branch 'wip-MDL-53026-master' of https://github.com/marinaglancy/moodle
2016-03-16 10:00:28 +08:00
Rajesh Taneja
42ad096fdb
MDL-46891 Behat: Added support for behat 3
2016-03-11 10:51:15 +08:00
Marina Glancy
48983fb9e7
MDL-53026 cohorts: edit names and idnumbers in place
2016-03-11 08:14:49 +08:00
Ankit Agarwal
2149326b8c
MDL-50049 deprecation: Remove usage of deprecated api and cleanup
2015-06-29 17:15:50 +05:30
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
David Monllao
89a6290fb9
Merge branch 'MDL-45131-master' of git://github.com/jleyva/moodle
2015-04-16 17:04:34 +08:00
Juan Leyva
52ab107698
MDL-45131 cohort: Add validation for returned parameters in WS tests
2015-04-13 16:37:29 +02:00
Damyon Wiese
46a2fbc4b7
MDL-49412 Navigation: Remaining behat fixed for nav branch
...
Behat is passing after this change.
Part of MDL-45774.
2015-04-10 17:19:28 +08:00
Frederic Massart
5c5721285f
MDL-43902 cohort: Fix behat failure because attribute does not exist
2014-12-18 14:34:59 +08:00
Marina Glancy
9b65d0dd62
MDL-36014 cohorts: specify exact cohort names in unittest
2014-10-06 09:50:29 +08:00
Marina Glancy
fbb250f8ef
MDL-36014 cohorts: Support cohort visibility in Upload cohorts
2014-10-03 18:26:37 +08:00
Marina Glancy
80f98467f8
MDL-36014 cohorts: Allow teachers to view cohorts
...
Added property 'visible' for cohorts. Unsetting it hides the cohort from users in the course.
AMOS BEGIN
CPY [visible,core_moodle],[visible,core_cohort]
AMOS END
2014-10-03 18:26:34 +08:00
Marina Glancy
5076b96171
MDL-35468 cohorts: upload cohorts from csv file
2014-09-12 10:24:04 +08:00
Marina Glancy
274dc06881
MDL-34189 cohorts: Allow admin/manager to see all cohorts on one page
2014-07-28 15:02:27 +08:00
Ankit Agarwal
b63f773296
MDL-44717 events: Fix multiple issues in events
...
Fix various incorrect urls
Fix incorrect phpdocs and other minor code style issues
Fix missing/incorrect strings
AMOS BEGIN
MOV [eventblogassociationcreated, core_blog],[eventblogassociationadded, core_blog]
AMOS END
2014-04-01 15:08:34 +08:00
Dan Poltawski
7f42ee92eb
Merge branch 'MDL-44440_master' of git://github.com/dmonllao/moodle
2014-03-10 13:45:26 +08:00
David Monllao
1f631c7c63
MDL-44440 behat: Changing , for > as a navigation tree nodes separator
...
Using greater than as seems a more natural separator
than the comma when separating nodes which have a
hierarchy relation.
2014-03-10 13:35:40 +08:00
David Monllao
759b323e0e
MDL-43236 behat: Updating references to deprecated methods
2014-03-07 16:05:21 +08:00
David Monllao
a542553d42
MDL-44440 behat: Refactoring features to use I navigate to
...
Replacing multiple "I expand node" steps by the
new "I navigate to". Also fixing few I navigate to
when dealing with non-JS.
2014-03-07 14:46:54 +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
Rajesh Taneja
623a32e50d
MDL-43736 Events: Updated unit test to test context not used in event
2014-01-29 11:39:50 +08:00
David Monllao
561e9bb92e
MDL-43480 behat: Switching @_only_local and @_alerts to @_file_upload and @_alert
2014-01-17 10:41:37 +08:00
Damyon Wiese
718f42ae68
Merge branch 'MDL-43584_master' of git://github.com/dmonllao/moodle
2014-01-14 16:21:21 +08:00
David Monllao
50edfdca03
MDL-43584 behat: Updating features to use the new expected arguments
2014-01-10 18:25:44 +08:00
David Monllao
14ebd16390
MDL-43584 behat: Removing DB calls from step definitions as much as possible
...
Old methods deprecated as the expected arguments
have changed.
2014-01-10 18:25:44 +08:00
David Monllao
abe572e3f2
MDL-43642 behat: Setting the correct files @package
2014-01-10 17:50:50 +08:00
Marina Glancy
07622451a3
MDL-42174 behat: deprecate upload file to filepicker step in favour of filemanager
2013-12-05 21:00:25 +11:00
David Monllao
e7c71c448b
MDL-42627 behat: Moving the deprecated method to behat_deprecate and updating scenarios
2013-12-02 14:13:17 +08:00
Frederic Massart
25a66af722
MDL-39956 cohort: Event clean up and made ready for integration
...
* Added more PHP Documentation
* Localised strings for get_name()
* get_legacy_eventname() is now static
* get_legacy_eventdata() is now protected
* Testing legacy event data
* Added missing defined('MOODLE_INTERNAL') checks
* Added missing call to add_record_snapshot()
2013-08-13 17:41:03 +08:00
Dan Poltawski
4fece33d9a
MDL-39956 cohort: Add tests for new events
2013-08-13 17:31:07 +08:00
Petr Škoda
8252b7c291
MDL-40901 standardise core test case class and file names
...
This finally allows us to type only the class name when executing individual core test cases.
2013-08-04 22:10:31 +02:00
Sam Hemelryk
18474f822b
Merge branch 'MDL-40666-master' of git://github.com/danpoltawski/moodle
2013-07-23 14:09:08 +12:00
David Monllao
3897608152
MDL-39635 behat: XPath cleanups
...
- Escaping steps arguments redirected to other steps
- Adding normalized-space() in all contains() assertions
- General xpaths review
- Convering provided xpath text strings to xpath literals
to avoid problems with arguments containing both single
quotes and double quotes
2013-07-19 10:02:36 +02:00
David Monllao
dedb973878
MDL-39635 behat: Replacing hardcoded language strings
...
Using get_string() instead.
2013-07-19 10:02:10 +02:00
Dan Poltawski
fb5ce7d351
MDL-40666 enrol|cohort: PARAM_NUMBER -> PARAM_INT
...
PARAM_NUMBER is a float, our id's are int's
* Fix core_cohort_get_cohorts to specify correct return type on cohort id
* Fix core_enrol_get_enrolled_users_with_capability to specify correct
correct return type on user id
* Fix core_cohort_update_cohorts to specify the right parameter type
(int) on cohort id
* Add tests to verify the bug on core_cohort_update_cohorts param type.
2013-07-16 15:03:03 +08:00
Dan Poltawski
4f60c4af77
MDL-40666 cohort: remove duplicated code from tests
2013-07-16 14:51:59 +08:00
David Monllao
c4509f8084
MDL-39638 behat: New step to collapse nodes based on the expand nodes
...
Also updating steps with a collapse behaviour.
2013-05-16 12:43:54 +08:00
Eloy Lafuente (stronk7)
e477f1e45f
fix permissions
2013-05-10 17:23:55 +02:00
David Monllao
5d7b6307b1
MDL-39586 behat: Closed list of stackeholders
2013-05-09 18:38:13 +08:00
Damyon Wiese
66d6221f9a
MDL-29472: Cohorts webservice - fix numerous access problems and add to the unit tests.
...
Also allow 'system' as a category type to allow you to create/update system wide cohorts.
2013-05-08 12:56:14 +08:00
Andrea Bicciolo
088645e22c
MDL-29472_m WebServices Cohorts
2013-05-03 12:24:40 +02:00