tests: Embed test fix (#4020)
* quick fix for iframe code wihch someone broke * Also fix cookie testpull/4022/head
parent
66a43646a7
commit
bcdb331c79
|
@ -732,7 +732,7 @@ var paduserlist = (function()
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$("#myusernameedit").addClass("editempty").val(_("pad.userlist.entername"));
|
$("#myusernameedit").attr("placeholder", html10n.get("pad.userlist.entername"));
|
||||||
}
|
}
|
||||||
if (colorPickerOpen)
|
if (colorPickerOpen)
|
||||||
{
|
{
|
||||||
|
|
|
@ -19,8 +19,8 @@ describe("embed links", function(){
|
||||||
var width = $embediFrame.attr("width");
|
var width = $embediFrame.attr("width");
|
||||||
var height = $embediFrame.attr("height");
|
var height = $embediFrame.attr("height");
|
||||||
var name = $embediFrame.attr("name");
|
var name = $embediFrame.attr("name");
|
||||||
expect(width).to.be('600');
|
expect(width).to.be('100%');
|
||||||
expect(height).to.be('400');
|
expect(height).to.be('600');
|
||||||
expect(name).to.be(readonly ? "embed_readonly" : "embed_readwrite");
|
expect(name).to.be(readonly ? "embed_readonly" : "embed_readwrite");
|
||||||
|
|
||||||
//parse the url
|
//parse the url
|
||||||
|
|
Loading…
Reference in New Issue