Opened 11 years ago

Closed 11 years ago

#8957 closed defect (fixed)

mouseMoveAt() confused by scroll on outer document

Reported by: bill Owned by: Douglas Hays
Priority: high Milestone: 1.3
Component: TestFramework Version: 1.3.0b3
Keywords: Cc:
Blocked By: Blocking:

Description

On IE8 I get dueling scrollbars on the test_ComboBox test:

  1. scrollbar on the <iframe> loading tests/form/_autoComplete.html
  2. scrollbar on the browser window

When the robot test focuses on a ComboBox towards the bottom of the page, IE makes the ComboBox visible by scrolling one or both of those <div>'s. (This is happening as I call myCombo.focusNode.focus(), so dijit.scrollIntoView() is not in play here.

At this point doh.robot.mouseMoveAt() stops working correctly as it isn't taking scrollOffset into account.

See attached test file (simplified version of ComboBox? test.)

May be fixed (or worked around) by #8776.

Attachments (1)

_autoComplete.html (1.9 KB) - added by bill 11 years ago.
in tests/form/robot, testcase to show mouseAt() problem

Download all attachments as: .zip

Change History (6)

Changed 11 years ago by bill

Attachment: _autoComplete.html added

in tests/form/robot, testcase to show mouseAt() problem

comment:1 Changed 11 years ago by bill

Summary: moveMouseAt() problemmouseMoveAt() confused by scroll on outer document

comment:2 Changed 11 years ago by bill

I tested on IE8 and this is fixed (or "worked around", depending on your point of view) by the patch to #8776. We should just check that now since it's just a testing file change and thus poses no threat to destabilizing the release.

comment:3 Changed 11 years ago by Douglas Hays

Not sure how to fix this beyond the 8776 workaround since mouseMoveAt is calling dojo.coords which does not understand scrolling outside the current iframe.

comment:4 Changed 11 years ago by bill

OK sounds fine to me, let's close this along with 8776.

comment:5 Changed 11 years ago by Douglas Hays

Milestone: tbd1.3
Resolution: fixed
Status: newclosed

[17091] Fixes #8776. Resize the robot's test page iframe and console windows such that the container browser window does not need its own scrollbar.

Note: See TracTickets for help on using tickets.