mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-31 19:02:59 +01:00
Actually fix the language tests...
This commit is contained in:
parent
34df9d651e
commit
122093904f
1 changed files with 20 additions and 22 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue