Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
4161ae99
Commit
4161ae99
authored
Nov 30, 2015
by
Chris Rodriguez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tests
parent
bb3ac95f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
13 deletions
+0
-13
common/lib/xmodule/xmodule/js/spec/video/video_play_skip_control_spec.js
+0
-6
common/lib/xmodule/xmodule/js/spec/video/video_skip_control_spec.js
+0
-7
No files found.
common/lib/xmodule/xmodule/js/spec/video/video_play_skip_control_spec.js
View file @
4161ae99
...
...
@@ -25,12 +25,6 @@
expect
(
$
(
'.video_control.play'
)).
toExist
();
});
it
(
'add ARIA attributes to play control'
,
function
()
{
expect
(
$
(
'.video_control.play'
)).
toHaveAttrs
({
'aria-disabled'
:
'false'
});
});
it
(
'can update state on play'
,
function
()
{
state
.
el
.
trigger
(
'play'
);
expect
(
$
(
'.video_control.play'
)).
not
.
toExist
();
...
...
common/lib/xmodule/xmodule/js/spec/video/video_skip_control_spec.js
View file @
4161ae99
...
...
@@ -30,13 +30,6 @@
expect
(
$
(
'.skip-control'
)).
toExist
();
});
it
(
'add ARIA attributes to play control'
,
function
()
{
state
.
el
.
trigger
(
'play'
);
expect
(
$
(
'.skip-control'
)).
toHaveAttrs
({
'aria-disabled'
:
'false'
});
});
it
(
'can skip the video on click'
,
function
()
{
spyOn
(
state
.
bumperState
.
videoBumper
,
'skipAndDoNotShowAgain'
);
state
.
el
.
trigger
(
'play'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment