Bug 873251 - [Metro] Part 2 of 2: Fix url bar selection test offset. a=test-only

This commit is contained in:
Frank Yan 2013-06-19 16:23:38 -07:00
parent a4c55b7685
commit 0b3c804b10

View File

@ -54,7 +54,7 @@ gTests.push({
let xpos = SelectionHelperUI.caretMark.xPos;
let ypos = SelectionHelperUI.caretMark.yPos + 10;
var touchdrag = new TouchDragAndHold();
yield touchdrag.start(gWindow, xpos, ypos, 800, ypos);
yield touchdrag.start(gWindow, xpos, ypos, 900, ypos);
yield waitForCondition(function () {
return getTrimmedSelection(edit).toString() ==
"mochitests/content/metro/browser/metro/base/tests/mochitest/res/textblock01.html";