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
2852a4f9
Commit
2852a4f9
authored
Dec 30, 2013
by
Anton Stupak
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2054 from edx/anton/disable-js-unit-test
Disable js unit test due to flakiness.
parents
9f2c31d9
65f903a3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
common/lib/xmodule/xmodule/js/spec/video/video_progress_slider_spec.js
+10
-5
No files found.
common/lib/xmodule/xmodule/js/spec/video/video_progress_slider_spec.js
View file @
2852a4f9
...
@@ -134,7 +134,8 @@
...
@@ -134,7 +134,8 @@
spyOn
(
videoPlayer
,
'onSlideSeek'
).
andCallThrough
();
spyOn
(
videoPlayer
,
'onSlideSeek'
).
andCallThrough
();
});
});
it
(
'freeze the slider'
,
function
()
{
// Disabled 12/30/13 due to flakiness in master
xit
(
'freeze the slider'
,
function
()
{
videoProgressSlider
.
onSlide
(
videoProgressSlider
.
onSlide
(
jQuery
.
Event
(
'slide'
),
{
value
:
20
}
jQuery
.
Event
(
'slide'
),
{
value
:
20
}
);
);
...
@@ -142,7 +143,8 @@
...
@@ -142,7 +143,8 @@
expect
(
videoProgressSlider
.
frozen
).
toBeTruthy
();
expect
(
videoProgressSlider
.
frozen
).
toBeTruthy
();
});
});
it
(
'trigger seek event'
,
function
()
{
// Disabled 12/30/13 due to flakiness in master
xit
(
'trigger seek event'
,
function
()
{
videoProgressSlider
.
onSlide
(
videoProgressSlider
.
onSlide
(
jQuery
.
Event
(
'slide'
),
{
value
:
20
}
jQuery
.
Event
(
'slide'
),
{
value
:
20
}
);
);
...
@@ -160,7 +162,8 @@
...
@@ -160,7 +162,8 @@
spyOn
(
videoPlayer
,
'onSlideSeek'
).
andCallThrough
();
spyOn
(
videoPlayer
,
'onSlideSeek'
).
andCallThrough
();
});
});
it
(
'freeze the slider'
,
function
()
{
// Disabled 12/30/13 due to flakiness in master
xit
(
'freeze the slider'
,
function
()
{
videoProgressSlider
.
onStop
(
videoProgressSlider
.
onStop
(
jQuery
.
Event
(
'stop'
),
{
value
:
20
}
jQuery
.
Event
(
'stop'
),
{
value
:
20
}
);
);
...
@@ -168,7 +171,8 @@
...
@@ -168,7 +171,8 @@
expect
(
videoProgressSlider
.
frozen
).
toBeTruthy
();
expect
(
videoProgressSlider
.
frozen
).
toBeTruthy
();
});
});
it
(
'trigger seek event'
,
function
()
{
// Disabled 12/30/13 due to flakiness in master
xit
(
'trigger seek event'
,
function
()
{
videoProgressSlider
.
onStop
(
videoProgressSlider
.
onStop
(
jQuery
.
Event
(
'stop'
),
{
value
:
20
}
jQuery
.
Event
(
'stop'
),
{
value
:
20
}
);
);
...
@@ -176,7 +180,8 @@
...
@@ -176,7 +180,8 @@
expect
(
videoPlayer
.
onSlideSeek
).
toHaveBeenCalled
();
expect
(
videoPlayer
.
onSlideSeek
).
toHaveBeenCalled
();
});
});
it
(
'set timeout to unfreeze the slider'
,
function
()
{
// Disabled 12/30/13 due to flakiness in master
xit
(
'set timeout to unfreeze the slider'
,
function
()
{
videoProgressSlider
.
onStop
(
videoProgressSlider
.
onStop
(
jQuery
.
Event
(
'stop'
),
{
value
:
20
}
jQuery
.
Event
(
'stop'
),
{
value
:
20
}
);
);
...
...
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