Commit Graph

19 Commits

Author SHA1 Message Date
Morris Tseng
75baf845e5 Bug 1074736 - Marionette test for selection carets with multiple range support. r=mdas 2014-10-28 02:02:00 +01:00
Ryan VanderMeulen
8c1e5ba605 Backed out changesets 94c5f5317e4b, f43962d6b41e, and 6e0a13090cd8 (bug 1074736) for various carat-related Marionette failures.
--HG--
extra : rebase_source : e26c24158df6cc8198ca57f505028a1f82aa7264
2014-10-27 15:39:44 -04:00
Morris Tseng
a15cf8e213 Bug 1074736 - Marionette test for selection carets with multiple range support. r=mdas 2014-10-26 20:47:00 +01:00
Carsten "Tomcat" Book
b3aa3e4324 Backed out changeset 5b1f330c9298 (bug 1074736) 2014-10-24 14:45:38 +02:00
Morris Tseng
f89772c17d Bug 1074736 - Marionette test for selection carets with multiple range support. r=mdas 2014-10-23 23:30:00 +02:00
Ting-Yu Lin
37f09d40d3 Bug 1046732 - Part 2: Test touch caret will be hidden by wheel event. r=ehsan
This test logic is similar to
_test_touch_caret_timeout_by_dragging_it_to_top_left_corner_after_timout.
2014-08-07 01:33:00 -04:00
Ting-Yu Lin
e2d2820c7a Bug 1035172 - Re-enable touch caret test. r=automatedtester 2014-07-10 03:07:00 -04:00
David Burns
a05a8a8df3 Bug 1035172: Disable touch caret test while being investigated on CLOSED TREE; r=mdas 2014-07-09 12:39:45 +01:00
Ting-Yu Lin
79490d42f8 Bug 1024848 - part 2 - Enable selection carets sanity tests on Windows browser. r=mdas 2014-06-13 02:34:00 +02:00
Ting-Yu Lin
0a196bc8cb Bug 1024848 - part 1 - Improve selection carets test cases. r=mdas
On Windows, when selecting a word by long pressing, extra spaces after
the word will also be selected. To solve this problem, I redesign the
test cases by comparing the target content with the selected content
directly while ignoring spaces at certain test cases. I believe it's
easier to understand and less error-prone than the old
replace-selected-content-and-compare way.

I added a new method SelectionManager.selected_content() to make it
easier to get the current selected text.
2014-06-13 02:33:00 +02:00
Ting-Yu Lin
7a620dbe4c Bug 1020261 - Part 2: Enable touch caret sanity test on B2G. r=mdas 2014-06-12 23:02:00 -04:00
Ryan VanderMeulen
b62be80252 Bug 1019441 - Skip test_selectioncarats on Windows. a=permafail 2014-06-12 16:05:58 -04:00
Ting-Yu Lin
f912c3b2a5 Bug 1019441 - Part 2: Add marionette test cases for selection carets. r=roc, r=mdas
Add marionette test cases for selection carets feature in bug 987718.
Test cases target <input>, <textarea>, editable and non-editable
elements.

Run tests on browser manually:
./mach marionette-test layout/base/tests/marionette/test_seletioncarets.py

Run tests on b2g emulator manually:
./mach marionette-webapi layout/base/tests/marionette/test_seletioncarets.py
2014-06-11 06:28:00 -04:00
Ting-Yu Lin
16c27c8766 Bug 1019441 - Part 1: Add SelectionManager in marionette. r=mdas
* Extract those caret manipulating functions in test_touchcaret.py to
  selection.py, and generalize them for manipulating selection.
* Use SelectionManager in test_touchcaret.py.
* Remove unneeded </input> from test_touchcaret.html.
2014-06-11 03:02:00 -04:00
Ting-Yu Lin
0c30fcf209 Bug 960897 - Add marionette test cases for touch caret. r=roc, r=mdas
Add marionette test cases for touch caret feature in bug 924692. Test
cases cover <input>, <textarea>, and contenteditable elements with
touch caret enabled and disabled.

Enlarge touch caret expiration time to 60 seconds to avoid intermittent
test failures in test cases which need to move touch caret.

Thanks Phoebe Chang <natsuki011077@gmail.com> for the WIP patch.
Thanks C.J. Ku <cku@mozilla.com> for various suggestions.

Run tests on browser manually:
./mach marionette-test layout/base/tests/marionette/test_touchcaret.py
2014-06-11 02:48:00 -04:00
Ed Morley
196cd93457 Backed out changeset f6395f17c99f (bug 960897) for intermittent test failures 2014-06-10 18:03:30 +01:00
Ting-Yu Lin
047804b5f4 Bug 960897 - Add marionette test cases for touch caret. r=roc, r=mdas
Add marionette test cases for touch caret feature in bug 924692. Test
cases cover <input>, <textarea>, and contenteditable elements with
touch caret enabled and disabled.

Thanks Phoebe Chang <natsuki011077@gmail.com> for the WIP patch.
Thanks C.J. Ku <cku@mozilla.com> for various suggestions.

Run tests on browser manually:
./mach marionette-test layout/base/tests/marionette/test_touchcaret.py
2014-06-07 08:49:00 -04:00
Ed Morley
0eb1c45071 Backed out changeset e982377e39a3 (bug 960897) since the new test_touchcaret.py intermittently fails 2014-06-06 18:14:43 +01:00
Ting-Yu Lin
ba201061d5 Bug 960897 - Add marionette test cases for touch caret. r=roc, r=mdas
Add marionette test cases for touch caret feature in bug 924692. Test
cases cover <input>, <textarea>, and contenteditable elements with
touch caret enabled and disabled.

Thanks Phoebe Chang <natsuki011077@gmail.com> for the WIP patch.
Thanks C.J. Ku <cku@mozilla.com> for various suggestions.

Run tests on browser manually:
./mach marionette-test layout/base/tests/marionette/test_touchcaret.py
2014-06-04 06:21:00 -04:00