Actually fix the language tests...

This commit is contained in:
John McLear 2012-11-21 18:14:05 +00:00
parent 34df9d651e
commit 122093904f

View file

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