Closed Bug 993955 Opened 11 years ago Closed 11 years ago

Test failure 'Identity is verified' in /testSecurity/testSecurityNotification.js

Categories

(Mozilla QA Graveyard :: Mozmill Tests, defect, P2)

defect

Tracking

(firefox33 affected, firefox34 affected, firefox-esr31 affected)

RESOLVED WORKSFORME
Tracking Status
firefox33 --- affected
firefox34 --- affected
firefox-esr31 --- affected

People

(Reporter: andrei, Assigned: teodruta)

References

()

Details

(Keywords: intermittent-failure, Whiteboard: [mozmill-test-failure])

Attachments

(1 file)

Module: /testSecurity/testSecurityNotification.js Test: testSecNotification Failure: Identity is verified Branches: mozilla-aurora Platforms: All Report: http://mozmill-daily.blargon7.com/#/remote/report/7ab760e27012969ae02e3b9e4140422a Failed a total of 5 times since March 19th. Win and Linux: http://mozmill-daily.blargon7.com/#/remote/failure?app=All&branch=All&platform=All&from=2014-03-19&test=%2FtestSecurity%2FtestSecurityNotification.js&func=testSecNotification
From the report, I see this failed a few days ago too, several times and in July a lot. We should investigate this.
I highly suspect _most_ reported failures here are network related. They are time-wise clustered.
Assignee: nobody → teodor.druta
Status: NEW → ASSIGNED
Attached patch b993955.patchSplinter Review
The issue is that the test is not waiting for the identity box element to be visible. The attached patch should fix the issue.
Attachment #8507714 - Flags: review?(andrei.eftimie)
Attachment #8507714 - Flags: review?(andreea.matei)
Comment on attachment 8507714 [details] [diff] [review] b993955.patch Review of attachment 8507714 [details] [diff] [review]: ----------------------------------------------------------------- ::: firefox/tests/remote/testSecurity/testSecurityNotification.js @@ +30,5 @@ > function testSecNotification() { > // Go to a secure HTTPS site > controller.open(TEST_DATA[1]); > + // wait for page load on the active tab > + controller.waitForPageLoad(controller.tabs.activeTab); By default we are waiting for the most recent opened page, this should not have any effect here. @@ +39,5 @@ > + identityBox.waitForElement(); > + > + // wait for the identity box to be visible > + assert.waitFor(() => utils.isDisplayed(controller, identityBox), > + "Identity Box is Visible !"); We're already waiting below. I don't see how throwing more wait statements will fix the underlying issue. If the timeout is to short, we can increase it for the below waitFor call.
Attachment #8507714 - Flags: review?(andrei.eftimie)
Attachment #8507714 - Flags: review?(andreea.matei)
Attachment #8507714 - Flags: review-
We actually haven't seen this fail in 1.5 months. http://mozmill-daily.blargon7.com/#/remote/failure?app=Firefox&branch=All&platform=All&from=2014-09-01&test=%2FtestSecurity%2FtestSecurityNotification.js&func=testSecNotification It failed on 2 dates: - on 2014-09-09 (we had a big network outage) - on 2014-09-11 (not sure, possible other network issue). We haven't seen this fail since. Closing as WFM.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
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: