Actually fix the language tests...

pull/1193/head
John McLear 2012-11-21 18:14:05 +00:00
parent 34df9d651e
commit 122093904f
1 changed files with 20 additions and 22 deletions

View File

@ -21,8 +21,7 @@ describe("Language select and change", function(){
$languageoption.attr('selected','selected');
$language.change();
var current = $language.val();
helper.waitFor(function() { return $language.val() != current}) // GOT IT?
helper.waitFor(function() { return $language.val() == "de"})
.done(function(){
//get the value of the bold button
var $boldButton = chrome$(".buttonicon-bold").parent();
@ -52,8 +51,7 @@ describe("Language select and change", function(){
$languageoption.attr('selected','selected');
$language.change();
var current = $language.val();
helper.waitFor(function() { return $language.val() != current})
helper.waitFor(function() { return $language.val() == "en";})
.done(function(){
//get the value of the bold button