Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(321)

Issue 7102055: Test fix for mousemove.

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 3 months ago by matthew.scott
Modified:
11 years, 3 months ago
Reviewers:
mp+143133
Visibility:
Public.

Description

Test fix for mousemove. Mousemove test was failing due to simulated mousemove events not providing a new X/Y coordinate. This caused intermittent failures depending on where the mouse was when tests were started. Fixed by providing coords to ensure the handler is fired. Proposing as I'd like to make sure this works for others. https://code.launchpad.net/~makyo/juju-gui/mousemove-simulate/+merge/143133 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : Test fix for mousemove. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M test/test_environment_view.js View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4
matthew.scott
Please take a look.
11 years, 3 months ago (2013-01-14 15:57:07 UTC) #1
frankban
Land as is. Thanks for this fix Matthew.
11 years, 3 months ago (2013-01-14 16:20:59 UTC) #2
brad.crittenden
This patch looks good and fixes the problem I was just whining about. Land as ...
11 years, 3 months ago (2013-01-14 19:29:12 UTC) #3
matthew.scott
11 years, 3 months ago (2013-01-14 19:34:25 UTC) #4
*** Submitted:

Test fix for mousemove.

Mousemove test was failing due to simulated mousemove events not providing a new
X/Y coordinate.  This caused intermittent failures depending on where the mouse
was when tests were started.  Fixed by providing coords to ensure the handler is
fired.  Proposing as I'd like to make sure this works for others.

R=frankban, brad.crittenden
CC=
https://codereview.appspot.com/7102055
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b