mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-31 19:02:59 +01:00
tests: Embed test fix (#4020)
* quick fix for iframe code wihch someone broke * Also fix cookie test
This commit is contained in:
parent
66a43646a7
commit
bcdb331c79
2 changed files with 3 additions and 3 deletions
|
@ -732,7 +732,7 @@ var paduserlist = (function()
|
|||
}
|
||||
else
|
||||
{
|
||||
$("#myusernameedit").addClass("editempty").val(_("pad.userlist.entername"));
|
||||
$("#myusernameedit").attr("placeholder", html10n.get("pad.userlist.entername"));
|
||||
}
|
||||
if (colorPickerOpen)
|
||||
{
|
||||
|
|
|
@ -19,8 +19,8 @@ describe("embed links", function(){
|
|||
var width = $embediFrame.attr("width");
|
||||
var height = $embediFrame.attr("height");
|
||||
var name = $embediFrame.attr("name");
|
||||
expect(width).to.be('600');
|
||||
expect(height).to.be('400');
|
||||
expect(width).to.be('100%');
|
||||
expect(height).to.be('600');
|
||||
expect(name).to.be(readonly ? "embed_readonly" : "embed_readwrite");
|
||||
|
||||
//parse the url
|
||||
|
|
Loading…
Reference in a new issue