Closed
Bug 1120519
Opened 11 years ago
Closed 11 years ago
(CopyPasteTest) JS marionette test to control caret
Categories
(Firefox OS Graveyard :: Gaia::System, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: gduan, Assigned: gduan)
References
Details
Attachments
(1 file)
We should be able to control caret by js marionette.
| Assignee | ||
Updated•11 years ago
|
Assignee: nobody → gduan
Blocks: CopyPasteTest
| Assignee | ||
Comment 1•11 years ago
|
||
I will need to use SpecialPowers object of window when running marionette.
| Assignee | ||
Comment 2•11 years ago
|
||
wip: https://github.com/cctuan/gaia/commit/221740b1483cdb28d0c22c48b5ba2f369d75d9d7
I will add a shortcut test with it.
| Assignee | ||
Comment 3•11 years ago
|
||
Although I can estimate and control the location of caret, there's still no way to send event to it since it live in shell not gaia.
| Assignee | ||
Comment 4•11 years ago
|
||
I finally find a way to tap on the caret by series of action and timer.
waiting for the test.
| Assignee | ||
Comment 5•11 years ago
|
||
Comment on attachment 8550215 [details] [review]
PR to master
Hi Alive,
could I have your review on this patch?
In this patch, I added a selection.js for better managing selection area and caret position. And also added a marionette test with that lib for shortcut case.
Attachment #8550215 -
Flags: review?(alive)
Updated•11 years ago
|
Attachment #8550215 -
Flags: review?(alive) → review+
| Assignee | ||
Comment 6•11 years ago
|
||
Comment on attachment 8550215 [details] [review]
PR to master
Thanks Alive,
I just added one more commit (I will squash if r+)
1. added method to move caret by word's position
2. added a new test case
I think it's better to put it in the same bug. could I have your review again? Thanks.
Attachment #8550215 -
Flags: review+ → review?(alive)
Comment 7•11 years ago
|
||
Comment on attachment 8550215 [details] [review]
PR to master
please squash your commits into one before merge
Attachment #8550215 -
Flags: review?(alive) → review+
| Assignee | ||
Comment 8•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•