Commit Graph

84 Commits

Author SHA1 Message Date
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
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
42ad096fdb MDL-46891 Behat: Added support for behat 3 2016-03-11 10:51:15 +08:00
Dan Poltawski
c116a115d9 Merge branch 'MDL-52928-master' of git://github.com/andrewnicols/moodle 2016-03-01 11:34:04 +08:00
Andrew Nicols
a0bc890ec5 MDL-52928 message: Correct contact fetching in recent conversations 2016-02-09 13:38:59 +08:00
Rajesh Taneja
ead6c29bb5 MDL-52949 behat: Use hover step and not click step
Message delete link is visible on hover
Click event can fail randomly.
2016-02-01 11:14:20 +08:00
Juan Leyva
ea21d6370f MDL-52570 message: Do not return deleted messages in WS 2016-01-07 12:10:32 +01:00
Marina Glancy
a4269b45bc MDL-52347 behat: fix random failures on fast computer 2015-12-24 14:14:58 +08:00
David Monllao
2f3ebc9bdb Merge branch 'MDL-51257-master' of git://github.com/cameron1729/moodle 2015-12-21 17:32:34 +08:00
Cameron Ball
ea3aa9f9a0 MDL-51257 messages: Improve message form.
- Add sudmit button
- Add formchangechecker
- Update behat tests
2015-12-03 10:20:55 +08:00
Juan Leyva
419b112832 MDL-52108 messages: New WS core_message_delete_message 2015-11-12 12:05:49 +01:00
Dan Poltawski
82467e580b MDL-50426 behat: Update non-contacts feature naming 2015-11-06 19:47:38 +01:00
Ryan Wyllie
ceb689b9fc MDL-50426 message: post_message capability tests
Behat and unit tests to confirm the behaviour of the
messaging lib after the capability checks were added
to the post message function.
2015-11-05 08:20:39 +00:00
Jun Pataleta
e8c5a98bd4 MDL-51673 messages: Added codes for the unit tests 2015-10-16 16:05:30 -05:00
Mark Nelson
6fff51d675 MDL-51312 core_message: added unit test for the message_deleted event 2015-09-24 15:13:42 -07:00
Mark Nelson
9cf81a1a16 MDL-29801 core_message: added behat test for deleting messages 2015-09-02 01:45:51 -07:00
David Monllao
81c81527cb Merge branch 'wip-mdl-51106' of git://github.com/rajeshtaneja/moodle 2015-08-17 09:01:45 +08:00
Rajesh Taneja
369729cfda MDL-51100 behat: Remove javascript tag from usermenu steps 2015-08-14 08:53:03 +08:00
Andrew Nicols
711b1d6b3e MDL-51100 behat: Remove javascript tag from usermenu steps
These tests only needed the javascript tag because of the user menu.
Now that issue has been resolved, they do not need it.

Note: Some were also not using the singleselect feature, so would fail
without changes to use this too as they were not handling proper selection
of the singleselect element.
2015-08-14 08:52:29 +08:00
Rajesh Taneja
3d3d2ae529 MDL-51106 behat: Fixed misuse of javascript tag 2015-08-13 13:23:15 +08:00
Andrew Nicols
ff89d94a6f MDL-51100 behat: Remove javascript tag where not required
These tests only needed the javascript tag because of the user menu.
Now that issue has been resolved, they do not need it.

Note: Some were also not using the singleselect feature, so would fail
without changes to use this too as they were not handling proper selection
of the singleselect element.
2015-08-13 13:12:28 +08:00
Juan Leyva
013937907f MDL-42626 messages: Hide deleted users in contact/blocked list 2015-07-30 23:05:51 +02:00
Juan Leyva
0b074e88d6 MDL-50459 messages: Handle deleted users in external functions 2015-06-14 22:12:00 +02:00
Frederic Massart
c8b4b67a2f MDL-49960 message: Adding behat test for recent conversations 2015-04-23 14:05:55 +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
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
Ankit Agarwal
2547fea2bf MDL-49412 messages: Fix behat failures 2015-04-10 17:18:23 +08:00
Juan Leyva
b679582707 MDL-49501 messages: Unit tests for mark_message_read 2015-04-02 17:02:20 +02:00
Rajesh Taneja
345c6a1ac0 MDL-49513 behat: Updated step name to match new step 2015-04-02 11:08:21 +02: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
Brian Barnes
35fe9b8aa4 MDL-48060 messaging: Removed table from contact list 2015-03-02 09:04:04 +13:00
Andrew Nicols
6c10b1cc88 MDL-48108 message: Add additional testing for recent conversations 2015-02-24 09:38:49 +08:00
Rajesh Taneja
8585bb2ef0 MDL-49113 message: navigate to home page after sending message
After sending message widget remains open for 2 seconds
On slow server it might be too late to close widget.
So navigate away from page to ensure dom can be interacted
by selenium driver
2015-02-06 16:20:11 +08:00
Rajesh Taneja
b8526c7481 MDL-48933 message: Close message popup after sending message
Message popup stays up for 2 seconds, close this in behat to
ensure dom can be interacted by selenium driver
2015-02-05 13:53:55 +08:00
Andrew Nicols
c346996f38 Merge branch 'MDL-48719-master' of git://github.com/jleyva/moodle 2015-02-04 12:53:34 +08:00
Frederic Massart
aa6409c887 MDL-48933 core_message: Behat tests to cover messenger dialogs 2015-02-02 11:03:38 +08:00
Juan Leyva
ff1f373996 MDL-48719 messages: Unit tests for WS core_message_get_blocked_users 2015-01-29 13:04:43 +01:00
Rajesh Taneja
b7ff40301d MDL-47960 behat: Fixed message node navigation
in i_send_message_to_user, we should use navigation node
step, as there might be multiple links with same name.
2014-10-30 10:56:56 +08:00
Dan Poltawski
490d009a57 MDL-47960 messages: behat failures caused by user menu 2014-10-30 10:56:17 +08:00
Sam Hemelryk
94cdabcdee Merge branch 'MDL-46284-master' of git://github.com/andrewnicols/moodle
Conflicts:
	lib/db/install.xml
	lib/db/upgrade.php
	version.php
2014-10-07 16:28:50 +13:00
Andrew Nicols
77c0a68db9 MDL-46284 core: Add e-mail fetcher from IMAP
This issue is a part of the MDL-47194 Task.
This issue is a part of the MDL-39707 Epic.
2014-10-07 09:58:35 +08:00
Sam Hemelryk
127ef54082 Merge branch 'MDL-45374' of git://github.com/jleyva/moodle 2014-10-06 10:44:30 +13:00
Juan Leyva
6ff4464b43 MDL-45374 messages: get_messages ws unit tests 2014-10-03 16:37:13 +02:00
Andrew Nicols
6c0bfb1449 MDL-46282 core: Add VERP API
This issue is a part of the MDL-47194 Task.
This issue is a part of the MDL-39707 Epic.
2014-09-30 14:22:30 +08:00
Mark Nelson
068df636dd MDL-45594 core_message: added unit tests 2014-07-23 16:40:03 -07:00
Rajesh Taneja
66d212fef0 MDL-45565 core_message: Added unit tests. 2014-05-23 16:46:58 +08:00
Frederic Massart
2236a5655b MDL-45566 message: Send blocking events when user is not in contact list 2014-05-20 13:17:58 +08:00
Mark Nelson
f3d981897e MDL-43557 events: renamed event class names
1) The core 'item_tagged' class was renamed to 'tag_added'.
2) The core 'item_untagged' class was renamed to 'tag_removed'.
3) The core 'message_read' class was renamed to 'message_viewed'.
4) The mod_forum 'userreport_viewed' class was renamed to 'user_report_viewed'.
5) The report_outline 'activity_viewed' was renamed to 'activity_report_viewed'.
6) The report_outline 'outline_viewed' was renamed to 'report_viewed'.
2014-04-29 19:15:47 -07: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