Closed
Bug 932680
Opened 11 years ago
Closed 6 years ago
[marionette-marker] Show the cursor when user runs tests.
Categories
(Testing Graveyard :: JSMarionette, defect)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: evanxd, Unassigned)
Details
Attachments
(1 file)
2.09 MB,
video/quicktime
|
Details |
Hi all, We could show a cursor when user runs tests to let user know where does the runner click on the screen. Please see the demo in the video. And the repository is in https://github.com/evanxd/marionette-marker. It should be useful for debugging the test code. How do you guys think?
Flags: needinfo?(jlal)
Reporter | ||
Updated•11 years ago
|
Flags: needinfo?(mike)
Reporter | ||
Updated•11 years ago
|
Flags: needinfo?(gaye)
Reporter | ||
Comment 2•11 years ago
|
||
Hi James, Actually, not yet. But we could to that. It just only hook click event currently. And we could let it mark a element selected with client.findElement('css-selector').
Reporter | ||
Comment 3•11 years ago
|
||
Oh, I just missed your idea. I mean that yes we could to that.
Reporter | ||
Comment 4•11 years ago
|
||
Misunderstood the idea.
Comment 5•11 years ago
|
||
Agh the video isn't loading quite right for me... must go find plugin
Comment 6•11 years ago
|
||
Nice idea, Evan! One minor detail: if two click events are scripted for the same location on screen, it's difficult to tell when/if the second has occurred. Do you think you could somehow animate the overlay to communicate taps/clicks? For instance, it might be even more useful if the overlay gradually faded out over time. (I'm not sure how you've done this, so I don't know if this is technically possible.)
Flags: needinfo?(mike)
Reporter | ||
Comment 7•11 years ago
|
||
Hi all, BTW, I think the desktop-client doesn't support multiple touch, right? So we will not have multiple touch test case run in desktop-client?
Reporter | ||
Comment 8•11 years ago
|
||
Hi Mike, What I do for cursor thing is add a div element in a App, and listen the click events to show the cursor div on the screen. You could see the logic in https://github.com/evanxd/marionette-marker/blob/master/index.js#L76. And I'm just wondering that do we have time to show to user the overlay animate if the click events in tests run so fast like the video.
Reporter | ||
Comment 9•11 years ago
|
||
Actually, the test will run more fast. In the video, I set 300ms sleep for each click.
Reporter | ||
Updated•11 years ago
|
Flags: needinfo?(gaye)
Reporter | ||
Updated•10 years ago
|
Assignee: evanxd → nobody
Comment 10•6 years ago
|
||
Bulk closed as part of https://bugzilla.mozilla.org/show_bug.cgi?id=1422750
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INCOMPLETE
Updated•6 years ago
|
Product: Testing → Testing Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•