Opened 10 years ago

Closed 9 years ago

#9514 closed defect (fixed)

dojo/tests/_base/html_rtl.html Pops up 2 Alerts in IE

Reported by: jeresig Owned by: Douglas Hays
Priority: high Milestone: 1.6
Component: HTML Version: 1.3.0
Keywords: 14open Cc:
Blocked By: Blocking:

Description

Right now dojo/tests/_base/html_rtl.html pops up 2 alerts in IE asking the user to perform a specific task. Since having these popups appear defeats the purpose of an automated test runner, this specific test should be broken out into a separate file (which could then be manually run and interacted with by a user).

Change History (6)

comment:1 Changed 10 years ago by bill

Component: TestFrameworkHTML
Owner: changed from alex to James Burke

Could be changed to a robot test.

I understand that it's annoying to click the alerts() but breaking it out just means that no one will ever run that test; I don't think that's an improvement, although it's a matter of opinion.

Apparently the test is to make sure that we correctly get x/y coordinates for mouse events on IE in RTL mode. Probably we have some code to handle IE anomalies in RTL mode and we are testing that code.

comment:2 Changed 10 years ago by James Burke

Milestone: tbd1.4

I like the idea of making it a robot test, I'll see if I can get that done for 1.4. May not make beta, but hopefully before the RC. Have to first figure out how to make a robot test. :)

comment:3 Changed 10 years ago by Adam Peller

Keywords: 14open added

moving 1.4 open tickets to 1.5

comment:4 Changed 9 years ago by James Burke

Milestone: 1.51.6

comment:5 Changed 9 years ago by Douglas Hays

Owner: changed from James Burke to Douglas Hays
Status: newassigned

comment:6 Changed 9 years ago by Douglas Hays

Resolution: fixed
Status: assignedclosed

(In [23192]) Fixes #9514. Use a document.body onclick handler and fake mouse click to get rid of required user-interaction. The rectangle is moved to whereever the mouse is when the test runs which may even be off-screen.

Note: See TracTickets for help on using tickets.