Error: doh._AssertFailure: assertEqual() failed:
expected
0
but got
1
ERROR IN:
function(){
var opacity = dojo.style('foo', 'opacity');
doh.is(1, opacity);
var anim = dojo.fadeOut({ node: 'foo', duration: duration });
var d = new doh.Deferred();
dojo.connect(anim, "onEnd", d.getTestCallback(function(){
var opacity = dojo.style('foo', 'opacity');
var elapsed = (new Date()) - anim._start;
doh.is(0, opacity);
doh.t(elapsed >= duration);
}));
anim._start = new Date();
anim.play();
return d;
}
FAILED test: ../../dojo/tests/_base/fx.html::t::fadeOut 539 ms
_AssertFailure: assertEqual() failed:
expected
0
but got
1
ERROR IN:
function(){
var opacity = dojo.style('foo', 'opacity');
doh.is(0, opacity);
var anim = dojo.fadeIn({ node: 'foo', duration: duration });
var d = new doh.Deferred();
dojo.connect(anim, "onEnd", d.getTestCallback(function(){
var opacity = dojo.style('foo', 'opacity');
var elapsed = (new Date()) - anim._start;
doh.is(1, opacity);
doh.t(elapsed >= duration);
}));
anim._start = new Date();
anim.play();
return d;
}
FAILED test: ../../dojo/tests/_base/fx.html::t::fadeIn 0 ms
Error: doh._AssertFailure: assertEqual() failed:
expected
0
but got
1
with hint:
opacity
ERROR IN:
function(){
var id = "baz";
dojo.style("bar", "display", "none");
dojo.style(id, "display", "");
var kickoff = new Date().valueOf();
var startWidth = dojo.marginBox(id).w;
var endWidth = Math.round(startWidth / 2);
var d = new doh.Deferred();
var anim = dojo.anim(
id,
{
width: endWidth,
opacity: 0
},
duration,
null,
d.getTestCallback(function(){
var curTime = (new Date().valueOf()),
elapsed = curTime - anim._startTime;
doh.t(elapsed >= duration, "test elapsed " + elapsed + " > duration " + duration);
// -5 because on FF a setTimeout(foo, x) may fire a little before x
doh.t(curTime >= (kickoff+duration+500-5),
"curTime >= (kickoff+duration+500-5): " + curTime + " >= (" + kickoff + "+" + duration + "+500-5)");
doh.is(dojo.marginBox(id).w, endWidth,
"width matches endWidth ");
doh.is(0, dojo.style(id, "opacity"), "opacity");
}),
500
);
return d;
}
FAILED test: ../../dojo/tests/_base/fx.html::t::anim 1029 ms
Error: test timeout in ../../dojo/tests/fx.html::t::onendStatus-combine
ERROR IN:
function(t){
var d = new doh.Deferred;
var a1 = dojo.fadeOut({ node:"a1" });
var a2 = dojo.fadeOut({ node:"a2" });
var anim = dojo.fx.combine([a1, a2]);
dojo.connect(anim, "onEnd", function(){
t.is("stopped", a1.status());
t.is("stopped", a2.status());
setTimeout(function(){
t.is("stopped", anim.status());
d.callback(true);
}, 10);
});
anim.play();
return d;
}
FAILED test: ../../dojo/tests/fx.html::t::onendStatus-combine 1528 ms
Bulk update of IE10 tickets to 1.8.2, as per meeting. Backports to 1.4 will be handled in a separate ticket. If this ticket just requires a test update, it can be rescheduled for milestone 1.9, and checked into trunk only.