Closed Bug 616059 Opened 15 years ago Closed 15 years ago

Test failure in testBackgroundTabScrolling.js | testScrollBackgroundTabIntoView

Categories

(Mozilla QA Graveyard :: Mozmill Tests, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: davehunt, Unassigned)

Details

(Whiteboard: [mozmill-test-failure])

MODULE: testBackgroundTabScrolling.js TEST: testScrollBackgroundTabIntoView ERROR: controller.waitForEval: Timeout exceeded for 'subject.scrollButton.hasAttribute('notifybgtab') == true' BRANCH: default PLATFORM: Windows Exception: waitFor((function () {return eval(expression);}),"controller.waitForEval: Timeout exceeded for 'subject.scrollButton.hasAttribute('notifybgtab') == true'",5000,10)@resource://mozmill/modules/utils.js:427 ("subject.scrollButton.hasAttribute('notifybgtab') == true",5000,10,[object Object])@resource://mozmill/modules/controller.js:636 ()@resource://mozmill/modules/frame.js -> file:///c:/docume~1/mozilla/locals~1/temp/tmpn9lmys.mozmill-tests/firefox/testTabbedBrowsing/testBackgroundTabScrolling.js:100 ((function () {prefs.openPreferencesDialog(controller, prefDialogCallback);controller.open(localTestFolder + "tabbedbrowsing/openinnewtab.html");controller.waitForPageLoad();var link1 = new elementslib.Name(controller.tabs.activeTab, "link_1");var link2 = new elementslib.Name(controller.tabs.activeTab, "link_2");var count = 1;do {controller.middleClick(link1);controller.waitForEval("subject.tabs.length == subject.count", gTimeout, 100, {tabs: tabBrowser, count: ++count});} while (scrollButtonDown.getNode().getAttribute("collapsed") == "true" || count > 50);controller.assertJS("subject.isLeftButtonVisible == true", {isLeftButtonVisible: !scrollButtonUp.getNode().getAttribute("collapsed")});controller.middleClick(link2);controller.waitForEval("subject.scrollButton.hasAttribute('notifybgtab') == true", gTimeout, 10, {scrollButton: scrollButtonDown.getNode()});controller.waitForEval("subject.scrollButton.hasAttribute('notifybgtab') != true", gTimeout, 10, {scrollButton: scrollButtonDown.getNode()});var lastIndex = controller.tabs.length - 1;var linkId = new elementslib.ID(controller.tabs.getTab(lastIndex), "id");controller.waitForElement(linkId, gTimeout, 100);controller.assertText(linkId, "2");controller.click(allTabsButton);controller.waitForEval("subject.state == 'open'", gTimeout, 100, allTabsPopup.getNode());for (var ii = 0; ii <= lastIndex; ii++) {if (ii < lastIndex) {controller.assertJS("subject.childNodes[" + ii + "].label != '2'", allTabsPopup.getNode());} else {controller.assertJS("subject.childNodes[" + ii + "].label == '2'", allTabsPopup.getNode());}}controller.click(allTabsButton);controller.waitForEval("subject.state == 'closed'", gTimeout, 100,
Whiteboard: [mozmill-test-failure]
Could this be the reason because of bug 578162?
Maybe. I am unable to replicate this failure in a Windows VM or on qa-horus.
This code has been completely replaced meanwhile. If it happens again, lets get a new bug on file.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → INVALID
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in before you can comment on or make changes to this bug.