PASSED test: ../../dijit/tests/editor/robot/Editor_FullScreen.html::General::setUp 1 ms
Error: doh._AssertFailure: assertTrue('false') failed with hint:
Width check
ERROR IN:
function(){
var d = new doh.Deferred();
//Focus on the editor window
doh.robot.sequence(d.getTestErrback(function(){
dojo.window.scrollIntoView(editor.domNode);
editor.focus();
}), 500);
doh.robot.keyPress(dojo.keys.F11, 500, {ctrl:true,shift:true});
doh.robot.sequence(d.getTestCallback(function(){
//Now check the state!
doh.t(fsPlugin.isFullscreen, "isFullScreen");
var vp = dojo.window.getBox();
var edPos = dojo.position(editor.domNode);
doh.is("absolute", dojo.style(editor.domNode, "position"));
doh.is("0", dojo.style(editor.domNode, "top"), "Top position check");
doh.is("0", dojo.style(editor.domNode, "left"), "Left position check");
//There may be a difference of a pixel or two, so check that the editor is real close
//to the viewport size.
doh.t(edPos.h >= vp.h && edPos.h < (vp.h + 5), "Height check");
doh.t(edPos.w >= vp.w && edPos.w < (vp.w + 5), "Width check");
}), 1000);
return d;
}
FAILED test: ../../dijit/tests/editor/robot/Editor_FullScreen.html::General::Keyboard: Go to Fullscreen (CTRL-SHIFT-F11) 2054 ms
PASSED test: ../../dijit/tests/editor/robot/Editor_FullScreen.html::General::Keyboard: Go to fullscreen and back 4018 ms
Error: doh._AssertFailure: assertTrue('false') failed with hint:
Width check
ERROR IN:
function(){
var d = new doh.Deferred();
//Focus on the editor window
doh.robot.sequence(d.getTestErrback(function(){
dojo.window.scrollIntoView(editor.domNode);
editor.focus();
}), 500);
doh.robot.mouseMoveAt(fsPlugin.button.domNode, 500);
doh.robot.mouseClick({left: true}, 750);
doh.robot.sequence(d.getTestCallback(function(){
//Now check the state!
doh.t(fsPlugin.isFullscreen, "isFullScreen");
var vp = dojo.window.getBox();
var edPos = dojo.position(editor.domNode);
doh.is("absolute", dojo.style(editor.domNode, "position"));
doh.is("0", dojo.style(editor.domNode, "top"), "Top position check");
doh.is("0", dojo.style(editor.domNode, "left"), "Left position check");
//There may be a difference of a pixel or two, so check that the editor is real close
//to the viewport size.
doh.t(edPos.h >= vp.h && edPos.h < (vp.h + 5), "Height check");
doh.t(edPos.w >= vp.w && edPos.w < (vp.w + 5), "Width check");
}), 1000);
return d;
}
FAILED test: ../../dijit/tests/editor/robot/Editor_FullScreen.html::General::Mouse Click: Go to Fullscreen 2949 ms
Hmm, it's passing for me. Does it fail for you when run stand alone?