mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 22:23:33 +01:00
Update frontend language tests for new keyboard shortcut convention
8af34a2295
introduced a failing test frontend test-
https://travis-ci.org/ether/etherpad-lite/builds/37931978
This commit updates both the German and English strings even though
the German locale files haven't been updated yet. The tests will
continue to fail but will stop as soon as translatewiki catches up.
This commit is contained in:
parent
68c805070a
commit
2dd874376a
1 changed files with 22 additions and 22 deletions
|
@ -62,7 +62,7 @@ describe("Language select and change", 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();
|
||||||
|
|
||||||
helper.waitFor(function() { return $boldButton[0]["title"] != "Fett (Strg-B)";})
|
helper.waitFor(function() { return $boldButton[0]["title"] != "Fett (Strg+B)";})
|
||||||
.done(function(){
|
.done(function(){
|
||||||
|
|
||||||
//get the value of the bold button
|
//get the value of the bold button
|
||||||
|
@ -72,7 +72,7 @@ describe("Language select and change", function(){
|
||||||
var boldButtonTitle = $boldButton[0]["title"];
|
var boldButtonTitle = $boldButton[0]["title"];
|
||||||
|
|
||||||
//check if the language is now English
|
//check if the language is now English
|
||||||
expect(boldButtonTitle).to.be("Bold (Ctrl-B)");
|
expect(boldButtonTitle).to.be("Bold (Ctrl+B)");
|
||||||
done();
|
done();
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue