Merge pull request #2272 from prtksxna/lang-tests
Update frontend language tests for new keyboard shortcut conventionpull/2276/head^2
commit
8c1868f0e9
|
@ -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 New Issue