Opened 11 years ago

Closed 11 years ago

Last modified 9 years ago

#8769 closed defect (invalid)

Slider_mouse: robot test failures on IE8

Reported by: bill Owned by: haysmark
Priority: high Milestone: 1.3
Component: Dijit - Form Version: 1.3.0b1
Keywords: Cc:
Blocked By: Blocking:

Description

FAILED test: ../../dijit/tests/form/robot/Slider_mouse.html::buttonBoundaryTest::slider1_min 0 ms     _AssertFailure: doh._AssertFailure: assertEqual() failed:  expected 100 but got 99.5 : assertEqual() failed: expected 100 but got 99.5  doh._AssertFailure: assertEqual() failed:     expected 100 but got 99.5      ERROR IN:  function(){ this.slider=dijit.byId(this.slider); return boundaryTest(this.slider, this.value, this.slider.maximum); } FAILED test: ../../dijit/tests/form/robot/Slider_mouse.html::buttonBoundaryTest::slider1_max 0 ms     _AssertFailure: doh._AssertFailure: assertEqual() failed:  expected 0 but got 10.0 : assertEqual() failed: expected 0 but got 10.0  doh._AssertFailure: assertEqual() failed:     expected 0 but got 10.0      ERROR IN:  function(){ this.slider=dijit.byId(this.slider); return boundaryTest(this.slider, this.value, this.slider.minimum); } FAILED test: ../../dijit/tests/form/robot/Slider_mouse.html::buttonBoundaryTest::slider2_min 0 ms     _AssertFailure: doh._AssertFailure: assertEqual() failed:  expected 100 but got 80.0 : assertEqual() failed: expected 100 but got 80.0  doh._AssertFailure: assertEqual() failed:     expected 100 but got 80.0      ERROR IN:  function(){ this.slider=dijit.byId(this.slider); return boundaryTest(this.slider, this.value, this.slider.maximum); } FAILED test: ../../dijit/tests/form/robot/Slider_mouse.html::buttonBoundaryTest::slider2_max 0 ms     _AssertFailure: doh._AssertFailure: assertEqual() failed:  expected 1000 but got 1200.0 : assertEqual() failed: expected 1000 but got 1200.0  doh._AssertFailure: assertEqual() failed:     expected 1000 but got 1200.0      ERROR IN:  function(){ this.slider=dijit.byId(this.slider); return boundaryTest(this.slider, this.value, this.slider.minimum); } FAILED test: ../../dijit/tests/form/robot/Slider_mouse.html::buttonBoundaryTest::programaticSlider_min 0 ms     _AssertFailure: doh._AssertFailure: assertEqual() failed:  expected 3000 but got 2600.0 : assertEqual() failed: expected 3000 but got 2600.0  doh._AssertFailure: assertEqual() failed:     expected 3000 but got 2600.0      ERROR IN:  function(){ this.slider=dijit.byId(this.slider); return boundaryTest(this.slider, this.value, this.slider.maximum); } FAILED test: ../../dijit/tests/form/robot/Slider_mouse.html::buttonBoundaryTest::programaticSlider_max 15 ms

Change History (5)

comment:1 Changed 11 years ago by Douglas Hays

Owner: set to haysmark

comment:2 Changed 11 years ago by haysmark

So according to your log, when the test increments the slider, the slider goes down, and when the test decrements the slider, the slider goes up. Not seeing it, any more info that could help me recreate it?

comment:3 Changed 11 years ago by bill

Summary: Slider: robot test failures on IE8Slider_mouse: robot test failures on IE8

I think this may just be an issue with parallels and IE8... for some reason in this case doh.robot seems to have trouble controlling the mouse, probably b/c the mouse is shared between the VM and the "host machine".

I worked on the boundaryTest for the first slider. The "min" part of the test moves the value from 0.2% to 0%, and I can get that to work by increasing the delay to 2s for each command, but then the max boundary test (moving the slider to the max value) still fails.

I tried the test on a native PC with IE8 installed and it worked for me. If it's working for you I guess we should just close this ticket.

comment:4 Changed 11 years ago by bill

Resolution: invalid
Status: newclosed

comment:5 Changed 9 years ago by bill

Component: DijitDijit - Form
Note: See TracTickets for help on using tickets.