Eloy Lafuente (stronk7)
f6711bb394
MDL-67673 phpunit: Fix the return type of template methods
...
All the setup/teardown/pre/post/conditions template methods
now are required to return void. This was warned with phpunit 7
and now is enforced.
At the same time, fix a few wrong function names,
provider data and param types, return statements...
2020-10-21 12:45:59 +02:00
Andrew Nicols
868a1c377d
MDL-69072 mod_scorm: Stop mink reset after tests
...
This is now done for all scenarios. It is no longer necessary to do so
specifically for mod_scorm.
2020-06-26 21:17:23 +08:00
Andrew Nicols
7afd16ad84
MDL-66109 behat: Require newline at EOF
...
This change enables the gherkinlint rule to require a new line at the
end of the file. This change is in keeping with existing Moodle coding
style guidelines.
2020-05-11 11:07:49 +08:00
Sam Hemelryk
841d855993
MDL-67175 mod_scorm: sync XHR requests use sendBeacon when available
...
Totara reference TL-22621 (original code by Sam Hemelryk)
2add402f81
2020-02-07 08:05:14 +08:00
Juan Leyva
7a30377dc0
MDL-66554 mod_scorm: Set module viewed in WS
2019-08-29 20:45:43 +01:00
John Yao
96e444665e
MDL-65517 block_timeline: Hide completed course modules in Timeline
...
When some activities are manually completed by students, some are still showing in students' timeline.
This commit fix that for module assign,chat,choice,feedback,lesson,quiz,scorm and workshop.
2019-07-12 09:16:40 +10:00
Andrew Nicols
17f0579797
MDL-65576 behat: Reset Selenium driver between scorm scenarios
2019-05-31 08:08:26 +08:00
Juan Leyva
b0cf7af4b7
MDL-64252 mod_scorm: New WS mod_scorm_get_scorm_access_information
2019-03-15 21:39:01 +01:00
Peter
538603b200
MDL-63148 mod_scorm: Accept userid param in event action
...
* Update lib scorm functions to accept and use a passed in userid
* Additional phpunit tests
2019-01-02 14:32:59 +08:00
Matteo Scaramuccia
f9df004724
MDL-63727 mod_scorm: Fixed typo in test_launch_sco()
2018-10-31 21:47:45 +01:00
Michael Hawkins
6d6e4b7a51
MDL-63501 mod_scorm: Add support for removal of context users
...
This issue is a part of the MDL-62560 Epic.
2018-10-22 12:48:34 +02:00
Neill Magill
196aa50489
MDL-62944 activities: Test adding activities with no calendar capability
2018-08-31 10:15:36 +01:00
Sara Arjona
1d76dd714c
MDL-62449 scorm: Move related data to data in the privacy export
2018-06-18 10:42:26 +02:00
Sara Arjona
cd3ef1fbc4
MDL-62449 scorm: Add SCORM data to privacy export (name, description)
2018-06-18 10:42:26 +02:00
Sara Arjona
df7cc2cc7f
MDL-61959 mod_scorm: Implement privacy API
2018-04-26 19:56:33 +02:00
Dan Marsden
fbfd69a865
MDL-32585 mod_scorm: Improve force new attempts setting.
...
AMOS BEGIN
MOV [forcenewattempt,mod_scorm],[forcenewattempts,mod_scorm]
AMOS END
2018-04-10 13:38:51 +02:00
Simey Lameze
cadeb8d21c
MDL-60061 mod_scorm: add unit tests for drag/drop
2017-12-12 15:15:09 +08:00
Damyon Wiese
032bda879c
Merge branch 'MDL-52653-master' of http://github.com/damyon/moodle
2017-10-23 13:14:03 +08:00
Andrew Nicols
455b2c4b9f
MDL-58605 mod_scorm: Simplify feature
...
The singlescobasic_missingorg.zip file includes a modified version of
the javascript which deliberately breaks content.
We need it to have different file names to not break other similar copies
of the file.
2017-10-23 07:56:10 +08:00
Christian Lawson-Perfect
5d1ad088ea
MDL-52653 SCORM: fix scorm_check_mode on v1.3
...
SCORM 2004 uses the element 'cmi.completion_status' to store the
completion status of a SCO, not 'cmi.core.lesson_status'.
This amends scorm_check_mode so that the right element is looked up.
When scorm_version_check returns false, SCORM 1.2 is assumed.
2017-10-19 14:58:07 +08:00
Ankit Agarwal
0d14fcbc60
MDL-9367 restore: Roll only configuration dates
...
It was decided to roll only configuration dates and any date related to user content
such as 'timecreated' , 'timemodified' etc should not be rolled forward.
2017-08-01 10:46:37 +05:30
Damyon Wiese
4c8deb9cfa
MDL-59032 scorm: Don't show action events to teachers
2017-06-06 15:57:23 +08:00
Marina Glancy
cd477f8c3e
MDL-58665 mod_scorm: cache times in modinfo for performance
2017-05-01 16:59:04 +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
Mark Nelson
e1cd93ce20
MDL-58423 core_calendar: moved \core_calendar\event class
...
Part of MDL-55611 epic.
2017-04-04 11:01:49 +01: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
Mark Nelson
3a41f730ac
MDL-57998 mod_scorm: added action events
...
Part of MDL-55611 epic.
2017-04-03 11:37:05 +08:00
Andrew Nicols
214eef2e1a
Merge branch 'master_MDL-46782' of git://github.com/danmarsden/moodle
2017-01-24 08:47:54 +08:00
Dan Marsden
225965bd4f
MDL-46782 mod_scorm: fix completion test, remove redundant test.
2017-01-24 13:05:50 +13:00
Dan Poltawski
c7f9bbf6c1
Merge branch 'master_MDL-46782' of git://github.com/danmarsden/moodle
2017-01-23 09:28:32 +00:00
Dan Marsden
4d3fb5b879
MDL-46782 mod_scorm: Load first incomplete sco on re-entry.
2017-01-18 21:02:56 +13:00
Rajesh Taneja
01095dbfd6
MDL-45821 behat: navigate back to scorm to avoid scroll
...
On Exiting scrom activity, it goes back to course
and scrolls to section. On slow machines next step
fails. To avoid such case navigate to home screen
and then follow next step.
2017-01-18 12:46:11 +08:00
Dan Poltawski
41dd0ac8d4
Merge branch 'master_MDL-45821' of git://github.com/danmarsden/moodle
2017-01-16 08:57:52 +00:00
Dan Marsden
6c563ccedf
MDL-45821 mod_scorm: Check lesson_status correctly for multi-sco.
2017-01-09 20:07:31 +13:00
Rajesh Taneja
5d2988fc8a
MDL-57595 behat: Added redirect and wait to ensure next step pass
2017-01-09 12:02:53 +08:00
Rajesh Taneja
f2e6dcba51
MDL-52168 behat: Select iframe in which text needs to be checked
2017-01-03 15:14:04 +08:00
Eloy Lafuente (stronk7)
0e5205d36c
Merge branch 'wip-mdl-57494' of https://github.com/rajeshtaneja/moodle
2017-01-03 02:34:58 +01:00
Dan Marsden
63c2ea5038
MDL-52168 mod_scorm: Fix issue when scorm does not define org.
2016-12-28 10:54:49 +13:00
Rajesh Taneja
3b7a351d69
MDL-57494 behat: Fixed tags and removed reset in after_scenario
...
1. Added missing switch_window tags
2. Fixed switch_frame tags to use switch_iframe
3. Removed reset from after_scenario.
2016-12-22 12:42:39 +08:00
Rajesh Taneja
7c1116dbbb
MDL-57343 behat: Ensure we wait enough for page to be fully loaded
2016-12-12 10:37:59 +08:00
Marina Glancy
e5287f9b3b
MDL-56614 behat: navigate without navigation and admin blocks
2016-12-06 11:49:14 +08:00
Rajesh Taneja
d9a9a87835
MDL-56898 behat: Ensure the page is stable before executing
2016-11-21 14:16:48 +08:00
Dan Poltawski
ccee2dc2c5
MDL-44712 readme: fix trailing whitespace
2016-08-22 10:51:34 +01:00
Dan Marsden
b30a884bfa
MDL-44712 SCORM: Improve multi-sco activity completion.
2016-08-18 10:14:40 +12: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
Juan Leyva
7ef49bd393
MDL-54951 webservice: Return intro text files in modules
2016-07-04 09:24:28 +01:00
Matteo Scaramuccia
f5bc19c877
MDL-48680 mod_scorm: Added new events: {scoreraw,status}_submitted.
...
Thanks to Ben Johnson and Josh Willcock for their contribution to this
patch.
2016-03-13 09:58:51 +01:00
Dan Marsden
3e28364257
MDL-50620 mod_scorm: Add Mastery score override setting
...
Thanks to Nathan Lewis for the initial patch
2016-02-10 09:20:25 +13:00
David Monllao
33854a2968
MDL-52683 mod_scorm: Test for scorm_get_last_completed_attempt
2016-01-29 10:15:17 +08:00