Permalink
Browse files

Fixed that .runFirst test should NOT run if it has been unselected

  • Loading branch information...
1 parent 1ad38ff commit 989a4071db298b5a2f35969116c5e0656271bb6a Jesper Rønn-Jensen committed with jesperronn Jul 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/testrunner/app/views/TestRunner/index.html
View
2 modules/testrunner/app/views/TestRunner/index.html
@@ -316,7 +316,7 @@
var runNextTest = function() {
if($(document.body).is('.running')) {
- var test = $('.test.runFirst');
+ var test = $('.test.selected.runFirst');
if(!test.size()) {
test = $('.test.selected:not(.passed,.failed):first');
}

0 comments on commit 989a407

Please sign in to comment.