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
3fa5559a
Commit
3fa5559a
authored
Oct 24, 2013
by
Will Daly
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1487 from edx/will/fix-js-transcript-test
Added explicit wait to failing JS test
parents
ea163de0
67fef2dd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
cms/static/js_spec/transcripts/editor_spec.js
+9
-3
No files found.
cms/static/js_spec/transcripts/editor_spec.js
View file @
3fa5559a
...
@@ -161,9 +161,15 @@ function ($, Backbone, _, Utils, Editor, MetadataView, MetadataModel, MetadataCo
...
@@ -161,9 +161,15 @@ function ($, Backbone, _, Utils, Editor, MetadataView, MetadataModel, MetadataCo
it
(
'Correct data'
,
function
()
{
it
(
'Correct data'
,
function
()
{
transcripts
.
syncBasicTab
(
metadataCollection
,
metadataView
);
transcripts
.
syncBasicTab
(
metadataCollection
,
metadataView
);
var
collection
=
transcripts
.
collection
.
models
,
var
collection
=
transcripts
.
collection
.
models
;
displayNameValue
=
collection
[
0
].
getValue
(),
videoUrlValue
=
collection
[
1
].
getValue
();
waitsFor
(
function
()
{
var
displayNameValue
=
collection
[
0
].
getValue
();
return
(
displayNameValue
!==
""
&&
displayNameValue
!=
"video_id"
);
},
"Defaults never loaded"
,
1000
);
var
displayNameValue
=
collection
[
0
].
getValue
();
var
videoUrlValue
=
collection
[
1
].
getValue
();
expect
(
displayNameValue
).
toBe
(
'default'
);
expect
(
displayNameValue
).
toBe
(
'default'
);
expect
(
videoUrlValue
).
toEqual
([
expect
(
videoUrlValue
).
toEqual
([
...
...
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