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:
Prateek Saxena 2014-10-14 18:42:51 +05:30
parent 68c805070a
commit 2dd874376a

View file

@ -62,7 +62,7 @@ describe("Language select and change", function(){
//get the value of the bold button
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(){
//get the value of the bold button
@ -72,7 +72,7 @@ describe("Language select and change", function(){
var boldButtonTitle = $boldButton[0]["title"];
//check if the language is now English
expect(boldButtonTitle).to.be("Bold (Ctrl-B)");
expect(boldButtonTitle).to.be("Bold (Ctrl+B)");
done();
});