Skip to content
Snippets Groups Projects
Commit f07c3036 authored by Eric Fischer's avatar Eric Fischer
Browse files

Revert "JS Flakiness in TeamDiscussionView"

parent 689efede
No related branches found
No related tags found
No related merge requests found
......@@ -8,20 +8,12 @@ define([
var discussionView, createDiscussionView, createPost, expandReplies, postReply;
beforeEach(function() {
runs(function() {
setFixtures('<div class="discussion-module""></div>');
$('.discussion-module').data('course-id', TeamSpecHelpers.testCourseID);
$('.discussion-module').data('discussion-id', TeamSpecHelpers.testTeamDiscussionID);
$('.discussion-module').data('user-create-comment', true);
$('.discussion-module').data('user-create-subcomment', true);
DiscussionSpecHelper.setUnderscoreFixtures();
});
waitsFor(
function() {return typeof(jQuery)!='undefined' && jQuery.active==0;},
"Ajax did not finish",
10000
})
setFixtures('<div class="discussion-module""></div>');
$('.discussion-module').data('course-id', TeamSpecHelpers.testCourseID);
$('.discussion-module').data('discussion-id', TeamSpecHelpers.testTeamDiscussionID);
$('.discussion-module').data('user-create-comment', true);
$('.discussion-module').data('user-create-subcomment', true);
DiscussionSpecHelper.setUnderscoreFixtures();
});
createDiscussionView = function(requests, threads) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment