mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-01 03:12:42 +01:00
Merge pull request #2272 from prtksxna/lang-tests
Update frontend language tests for new keyboard shortcut convention
This commit is contained in:
commit
8c1868f0e9
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