Merge pull request #2272 from prtksxna/lang-tests

Update frontend language tests for new keyboard shortcut convention
pull/2276/head^2
John McLear 2014-10-14 14:17:49 +01:00
commit 8c1868f0e9
1 changed files with 22 additions and 22 deletions

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();
});