Closed Bug 1167516 Opened 10 years ago Closed 10 years ago

Enable marionette text_selection_test.js

Categories

(Firefox OS Graveyard :: Gaia::System, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: gduan, Assigned: gduan)

References

Details

Attachments

(1 file)

bug 1167277 has removed text_selection_test.js, we should figure why it fails and enable it again.
Assignee: nobody → gduan
1) Text selection > without lockscreen check functionality short cut test: Crash detected but error running stackwalk 2) Text selection > without lockscreen selection carets bug bug1120358 : Positions of selection carets should be updated correctly while scrolling (so far on device only): Crash detected but error running stackwalk
when I try to run "make test-integration-test TEST_FILES=apps/system/test/marionette/text_selection_test.js VERBOSE=1" and disable all the tests except 'short cut test' , and also remove most of code except "var caretPositionOfSourceInput = fakeTextselectionApp.FunctionalitySourceInput .selectionHelper.selectionLocationHelper();" and I also put return; right after "var rangeCount = this.rangeCount();" in selectionLocationHelper I found the output like below, {"level":"error","stack":[],"message":"Error in parsing value for 'bottom'. Declaration dropped.","filename":"chrome://b2g/content/shell.html","lineNumber":0} 1) short cut test { [Error: Not connected. To write data you must call connect first.] and then "Crash detected but error running stackwalk" Hi Morris, any idea ...?
Flags: needinfo?(mtseng)
Blocks: 1167277
It looks like bug 1149618 has removed SpecialPowers from marionette and breaks some tests. Filing bug 1168326 to enable them.
Flags: needinfo?(mtseng)
Comment on attachment 8609221 [details] [review] [gaia] cctuan:1167516 > mozilla-b2g:master Hi Jeremy, I've disabled the two failing tests and enable text_selection marionette again, and you can see the tests which are related to my modification on tbpl are green. Could you check? Thanks.
Attachment #8609221 - Flags: review?(jeremychen)
Comment on attachment 8609221 [details] [review] [gaia] cctuan:1167516 > mozilla-b2g:master LGTM :)
Attachment #8609221 - Flags: review?(jeremychen) → review+
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: