Bug 817414 - Intermittent testBookmarksTab | bookmarks list has 5 children (defaults + a folder) - got 0, expected 5. r=gbrown
authorJoel Maher <jmaher@mozilla.com>
Wed, 19 Dec 2012 11:31:42 -0500
changeset 125630 1bf7f31883ce5c859fa3c126fd5467fd5c266683
parent 125629 d8e39fb4851d8e1fa8adbe054f80b6b90cf60b93
child 125631 55ae87306b987c4e88cfc5cb86dcf0f3bbd2328e
push id2151
push userlsblakk@mozilla.com
push dateTue, 19 Feb 2013 18:06:57 +0000
treeherdermozilla-beta@4952e88741ec [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgbrown
bugs817414
milestone20.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 817414 - Intermittent testBookmarksTab | bookmarks list has 5 children (defaults + a folder) - got 0, expected 5. r=gbrown
mobile/android/base/tests/robocop.ini
mobile/android/base/tests/testBookmarksTab.java.in
--- a/mobile/android/base/tests/robocop.ini
+++ b/mobile/android/base/tests/robocop.ini
@@ -1,11 +1,11 @@
 [testAllPagesTab]
 [testHistoryTab]
-# [testBookmarksTab] # see bug 817414
+[testBookmarksTab]
 [testAwesomebar]
 [testAwesomebarSwipes]
 # [testBookmark] # see bug 817339
 [testBookmarklets]
 [testMigration]
 [testLoad]
 [testNewTab]
 [testPanCorrectness]
--- a/mobile/android/base/tests/testBookmarksTab.java.in
+++ b/mobile/android/base/tests/testBookmarksTab.java.in
@@ -54,22 +54,22 @@ public class testBookmarksTab extends Ba
     }
 
     private ListView list;
 
     private void testList(String url) {
         View child;
         list = getBookmarksList();
 
-        mSolo.waitForText(url);
+        mSolo.waitForText("Desktop Bookmarks");
         mAsserter.ok(list != null, "checking that bookmarks list exists", list.toString());
 
-        mAsserter.is(list.getChildCount(), 5, "bookmarks list has 5 children (defaults + a folder)");
-
         int count = list.getChildCount();
+        mAsserter.is(count, 5, "bookmarks list has 5 children (defaults + a folder)");
+ 
         for (int i = count - 1; i >= 0; i--) {
             child = list.getChildAt(i);
             compareRow(child, i == 0 ? 1 : 2, 1);
         }
 
         child = list.getChildAt(0);
         mSolo.clickOnView(child);
         mSolo.waitForText("Bookmarks Toolbar");