mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +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');
|
$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
|
||||||
|
|
Loading…
Reference in a new issue