Closed Bug 1120461 Opened 10 years ago Closed 10 years ago

Test failures "Suite progress indicator is green - got 'false'", "No tests have failed - '1' should equal '0'" and "No error messages present - '1' should equal '0'" in testAssertAlertPresentPasses.js and testVerifyAlertPresentPasses.js

Categories

(Mozilla QA Graveyard :: Mozmill Tests, defect)

All
Linux
defect
Not set
normal

Tracking

(firefox37 unaffected, firefox38 fixed)

RESOLVED FIXED
Tracking Status
firefox37 --- unaffected
firefox38 --- fixed

People

(Reporter: mihaelav, Assigned: teodruta)

References

Details

(Whiteboard: [mozmill-test-failure][sprint])

Attachments

(1 file, 1 obsolete file)

Modules: testAssertAlertPresentCommandPasses testVerifyAlertNotPresentCommandPasses testVerifyAlertPresentCommandPasses Tests: * /ide@seleniumhq.org/tests/testCommands/testAlertPresent/testAssertAlertPresentPasses.js * /ide@seleniumhq.org/tests/testCommands/testAlertPresent/testVerifyAlertNotPresentPasses.js * /ide@seleniumhq.org/tests/testCommands/testAlertPresent/testVerifyAlertPresentPasses.js Failure: Suite progress indicator is green - got 'false' No tests have failed - '1' should equal '0' No error messages present - '1' should equal '0' Branches: default Platforms: Ubuntu Reports: * http://mozmill-daily.blargon7.com/#/addons/report/c0d2f578c4e131660e84b4e0e20e90ac * http://mozmill-daily.blargon7.com/#/addons/report/c0d2f578c4e131660e84b4e0e20d4fdc * http://mozmill-daily.blargon7.com/#/addons/report/c0d2f578c4e131660e84b4e0e20d4f20
Assignee: nobody → teodor.druta
Status: NEW → ASSIGNED
Whiteboard: [mozmill-test-failure] → [mozmill-test-failure][sprint]
Blocks: 1120462
This is the the Selenium log with a failure. > [info] Playing test case Untitled > [info] Executing: |assertAlertNotPresent | | | > [info] Executing: |assertAlertNotPresentecho | final command | | > [error] Unknown command: 'assertAlertNotPresentecho' > [info] Test case failed We actually fail to wait for the tree node child row to change, when clicking it. http://hg.mozilla.org/qa/mozmill-tests/file/00f0b67f6e3d/firefox/tests/addons/ide%40seleniumhq.org/lib/selenium.js#l118
No longer blocks: 1120462
Attached patch fixaddons.patch (obsolete) — Splinter Review
I think that we should wait for the right row to be selected in clickTreeCell() function of the widgets.js lib. Just a small note regarding as setting this Bug as blocker to Bug 1120462, at first I thought that it should be the same related issue, now I'm not so sure, I'll continue investigating that failure more.
Attachment #8551381 - Flags: review?(mihaela.velimiroviciu)
Attachment #8551381 - Flags: review?(andreea.matei)
Comment on attachment 8551381 [details] [diff] [review] fixaddons.patch Review of attachment 8551381 [details] [diff] [review]: ----------------------------------------------------------------- So you reproduced this and with this fix it's not failing anymore?
Attachment #8551381 - Flags: review?(mihaela.velimiroviciu)
Attachment #8551381 - Flags: review?(hskupin)
Attachment #8551381 - Flags: review?(andreea.matei)
Attachment #8551381 - Flags: review+
Comment on attachment 8551381 [details] [diff] [review] fixaddons.patch Review of attachment 8551381 [details] [diff] [review]: ----------------------------------------------------------------- r=me with the nit addressed. ::: lib/ui/widgets.js @@ +47,1 @@ > aController.sleep(0); By this change I assume we can get rid of at least the final sleep(0) call, now that waitFor() is used. Not sure about the one in line 40, which is also out of scope for this bug. So please remove that sleep call here.
Attachment #8551381 - Flags: review?(hskupin) → review+
My patch indeed lowers the failure rate, but it seems that it doesn't completely fix the issue, I'll investigate this more.
What I was missing in my fix, was cleaning the fields in addCommand(*) method between tests.
Attachment #8551381 - Attachment is obsolete: true
Attachment #8554544 - Flags: review?(mihaela.velimiroviciu)
Attachment #8554544 - Flags: review?(andreea.matei)
Blocks: 1120462
Attachment #8554544 - Flags: review?(mihaela.velimiroviciu) → review+
Attachment #8554544 - Flags: review?(andreea.matei) → review+
No failures today with nightly, yey! No need to backport as we run this on nightly only.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: