Opened 11 years ago

Closed 10 years ago

#8803 closed defect (fixed)

test_scroll.html failures on IE6

Reported by: bill Owned by: Douglas Hays
Priority: high Milestone: 1.4
Component: Dijit Version: 1.3.0b2
Keywords: Cc:
Blocked By: Blocking:

Description

I'm getting failures on two machines (thinkpad and parallels), on test_scroll.html:

GROUP "dijit._base.scroll" has 34 tests to run
PASSED test: checkAttrs 0 ms
PASSED test: test_8249_strict 16 ms
PASSED test: test_8249_none 15 ms
PASSED test: test_8249_loose_rtl 15 ms
PASSED test: test_8284_strict 0 ms
PASSED test: test_8284_none 0 ms
PASSED test: test_8284_loose_rtl 16 ms
_AssertFailure: [object Error]: assertEqual() failed: expected (+1,+13) but got (+1,+12) 
[ Error: assertEqual() failed: expected (+1,+13) but got (+1,+12) ]
ERROR IN: test_absContent_strict()
FAILED test: test_absContent_strict 16 ms
_AssertFailure: [object Error]: assertEqual() failed: expected (+1,+13) but got (+1,+12) 
[ Error: assertEqual() failed: expected (+1,+13) but got (+1,+12) ]
ERROR IN: test_absContent_none()
FAILED test: test_absContent_none 15 ms
_AssertFailure: [object Error]: assertEqual() failed: expected (-8,-1) but got (-7,-1) 
[ Error: assertEqual() failed: expected (-8,-1) but got (-7,-1) ]
ERROR IN: test_absContent_loose_rtl()
FAILED test: test_absContent_loose_rtl 0 ms
PASSED test: test_7036_8665_strict 16 ms
PASSED test: test_7036_8665_none 16 ms
PASSED test: test_7036_8665_loose_rtl 16 ms
PASSED test: test_innerNoScrollBars_strict 15 ms
PASSED test: test_innerNoScrollBars_none 15 ms
PASSED test: test_innerNoScrollBars_loose_rtl 15 ms
PASSED test: test_noScrollBars_strict 0 ms
PASSED test: test_noScrollBars_none 0 ms
PASSED test: test_noScrollBars_loose_rtl 0 ms
PASSED test: test_floatRight_strict 16 ms
PASSED test: test_floatRight_none 16 ms
PASSED test: test_floatRight_loose_rtl 16 ms
PASSED test: test_bottomNonFloat_strict 15 ms
PASSED test: test_bottomNonFloat_none 15 ms
PASSED test: test_bottomNonFloat_loose_rtl 15 ms
_AssertFailure: [object Error]: assertEqual() failed: expected (+5,-47) but got (+5,-46) 
[ Error: assertEqual() failed: expected (+5,-47) but got (+5,-46) ]
ERROR IN: test_table_strict()
FAILED test: test_table_strict 16 ms
PASSED test: test_table_none 31 ms
_AssertFailure: [object Error]: assertEqual() failed: expected (-1,-47) but got (-1,-46) 
[ Error: assertEqual() failed: expected (-1,-47) but got (-1,-46) ]
ERROR IN: test_table_loose_rtl()
FAILED test: test_table_loose_rtl 16 ms
PASSED test: test_innerScrollbars_strict 31 ms
PASSED test: test_innerScrollbars_none 32 ms
PASSED test: test_innerScrollbars_loose_rtl 16 ms
PASSED test: test_8542_strict 31 ms
PASSED test: test_8542_none 32 ms
PASSED test: test_8542_loose_rtl 31 ms
Total time for GROUP " dijit._base.scroll " is 515 ms
Total time for GROUP " dijit._base.scroll " is 515 ms
doh._failureCount: 5

Change History (3)

comment:1 Changed 11 years ago by Douglas Hays

Milestone: 1.31.4

I cannot recreate this but deferring since it's only a testcase issue and not functional.

comment:2 Changed 10 years ago by Douglas Hays

Status: newassigned

IE changes scrollbar size based on font size and theme selected from the Windows Display Properties dialog, which in turn changes the test results slightly.

comment:3 Changed 10 years ago by Douglas Hays

Resolution: fixed
Status: assignedclosed

(In [18797]) Fixes #8803. Changed some tests to be more scrollbar size aware and added the ability to use different styles based on browser, doctype, or direction settings, in order to make the tests more uniform.

Note: See TracTickets for help on using tickets.