Created
April 14, 2014 07:42
-
-
Save valera-rozuvan/10624952 to your computer and use it in GitHub Desktop.
Current state of end-time acceptance tests
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ======================================= | |
| Running lms acceptance tests tests | |
| ======================================= | |
| ./manage.py lms --settings acceptance harvest --traceback --debug-mode --verbosity 2 --with-xunit --xunit-file /edx/app/edxapp/edx-platform/reports/acceptance/lms.xml lms/djangoapps/courseware/features/video.feature | |
| Preparing to serve django's admin site static files... | |
| Django's builtin server is running at 0.0.0.0:8003 | |
| Video component is fully rendered in the LMS in HTML5 mode ... OK | |
| 2014-04-14 03:30:30,269 WARNING [courseware.module_render] Invalid location for course id edx/test_course/Test_Course: i4x://edx/test_course/video/Video | |
| Video component is fully rendered in the LMS in Youtube mode with HTML5 sources ... OK | |
| Video component is not rendered in the LMS in Youtube mode with HTML5 sources ... OK | |
| Video component is not rendered in the LMS in Youtube mode with HTML5 sources when YouTube API is blocked ... OK | |
| Multiple videos in sequentials all load and work, switching between sequentials ... OK | |
| 2014-04-14 03:31:35,816 WARNING [courseware.module_render] Invalid location for course id edx/test_course/Test_Course: i4x://edx/test_course/video/C | |
| Video component stores speed correctly when each video is in separate sequence ... OK | |
| Language menu works correctly in Video component ... OK | |
| CC button works correctly w/o english transcript in HTML5 mode of Video component ... OK | |
| CC button works correctly only w/ english transcript in HTML5 mode of Video component ... OK | |
| Video is aligned correctly if transcript is visible in fullscreen mode ... OK | |
| Video is aligned correctly if transcript is hidden in fullscreen mode ... OK | |
| Video is aligned correctly on transcript toggle in fullscreen mode ... OK | |
| Download Transcript button works correctly in Video component ... OK | |
| Youtube video has correct transcript if fields for other speeds are filled. ... OK | |
| Download button works correctly for non-english transcript in Youtube mode of Video component ... OK | |
| Download button works correctly for non-english transcript in HTML5 mode of Video component ... OK | |
| Download button works correctly w/o english transcript in HTML5 mode of Video component ... OK | |
| 2014-04-14 03:35:56,171 ERROR [courseware.module_render] Error in get_module | |
| Traceback (most recent call last): | |
| File "/edx/app/edxapp/edx-platform/lms/djangoapps/courseware/module_render.py", line 161, in get_module | |
| descriptor = modulestore().get_instance(course_id, location, depth=depth) | |
| File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/modulestore/mixed.py", line 92, in get_instance | |
| return store.get_instance(course_id, location, depth) | |
| File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/modulestore/mongo/base.py", line 609, in get_instance | |
| return self.get_item(location, depth=depth) | |
| File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/modulestore/mongo/base.py", line 595, in get_item | |
| item = self._find_one(location) | |
| File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/modulestore/mongo/base.py", line 553, in _find_one | |
| raise ItemNotFoundError(location) | |
| ItemNotFoundError: i4x://edx/test_course/video/Video | |
| Start time works ... OK | |
| End time works ... OK | |
| Given a video with end-time at 1:00 and the video starts playing at 0:50 ... FAILED | |
| Start time and end time work together ... OK | |
| After pausing at end time video plays to the end from end time ... OK | |
| Given a video with end-time at 1:00 and start-time at 0:30, the video starts playing from 0:15 ... FAILED | |
| Given a video with end-time at 1:00, the video starts playing from 1:10 ... OK | |
| Given a video with end-time at 1:00, the video starts playing from 1:00 ... FAILED | |
| Download button works correctly w/o english transcript in Youtube mode of Video component ... OK | |
| 2014-04-14 03:41:47,775 WARNING [courseware.module_render] Invalid location for course id edx/test_course/Test_Course: i4x://edx/test_course/video/D | |
| Verify that each video in each sub-section includes a transcript for non-Youtube countries. ... OK | |
| <Step: "Then I see video slider at "60" seconds"> | |
| Traceback (most recent call last): | |
| File "/edx/app/edxapp/venvs/edxapp/src/lettuce/lettuce/core.py", line 144, in __call__ | |
| ret = self.function(self.step, *args, **kw) | |
| File "/edx/app/edxapp/edx-platform/lms/djangoapps/courseware/features/video.py", line 519, in start_playing_video_from_n_seconds | |
| assert_equal(actual_position, int(position), "Current position is {}, but should be {}".format(actual_position, position)) | |
| File "/usr/lib/python2.7/unittest/case.py", line 511, in assertEqual | |
| assertion_func(first, second, msg=msg) | |
| File "/usr/lib/python2.7/unittest/case.py", line 504, in _baseAssertEqual | |
| raise self.failureException(msg) | |
| AssertionError: Current position is 19, but should be 60 | |
| <Step: "I seek video to "15" seconds"> | |
| Traceback (most recent call last): | |
| File "/edx/app/edxapp/venvs/edxapp/src/lettuce/lettuce/core.py", line 144, in __call__ | |
| ret = self.function(self.step, *args, **kw) | |
| File "/edx/app/edxapp/edx-platform/lms/djangoapps/courseware/features/video.py", line 537, in seek_video_to_n_seconds | |
| _step.given('I see video slider at "{}" seconds'.format(seconds)) | |
| File "/edx/app/edxapp/venvs/edxapp/src/lettuce/lettuce/core.py", line 367, in given | |
| return self.behave_as(string) | |
| File "/edx/app/edxapp/venvs/edxapp/src/lettuce/lettuce/core.py", line 407, in behave_as | |
| assert not steps_failed, steps_failed[0].why.exception | |
| AssertionError: Current position is 30, but should be 15 | |
| <Step: "Then I see video slider at "115" seconds"> | |
| Traceback (most recent call last): | |
| File "/edx/app/edxapp/venvs/edxapp/src/lettuce/lettuce/core.py", line 144, in __call__ | |
| ret = self.function(self.step, *args, **kw) | |
| File "/edx/app/edxapp/edx-platform/lms/djangoapps/courseware/features/video.py", line 519, in start_playing_video_from_n_seconds | |
| assert_equal(actual_position, int(position), "Current position is {}, but should be {}".format(actual_position, position)) | |
| File "/usr/lib/python2.7/unittest/case.py", line 511, in assertEqual | |
| assertion_func(first, second, msg=msg) | |
| File "/usr/lib/python2.7/unittest/case.py", line 504, in _baseAssertEqual | |
| raise self.failureException(msg) | |
| AssertionError: Current position is 60, but should be 115 | |
| 1 feature (0 passed) | |
| 27 scenarios (24 passed) | |
| 218 steps (3 failed, 2 skipped, 213 passed) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment