Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Commit

Permalink
Fix timing issue when verifying working set selection
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonsanjose committed Aug 23, 2012
1 parent a031653 commit 418a989
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/spec/WorkingSetView-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ define(function (require, exports, module) {
function () {
// check working set UI list content
$listItems = testWindow.$("#open-files-container > ul").children();
return $listItems.length === 2;
return ($listItems.length === 2) && $($listItems[1]).hasClass("selected");
},
1000
);
Expand Down

0 comments on commit 418a989

Please sign in to comment.