Closed
Bug 767821
Opened 12 years ago
Closed 12 years ago
Failure in testRemoveAllCookies.js | Timeout waiting for page loaded
Categories
(Mozilla QA Graveyard :: Mozmill Tests, defect)
Mozilla QA Graveyard
Mozmill Tests
Tracking
(firefox13 fixed, firefox14 fixed, firefox15 fixed, firefox16 fixed, firefox-esr10 fixed)
People
(Reporter: u279076, Assigned: remus.pop)
References
()
Details
(Whiteboard: [mozmill-test-failure])
Attachments
(2 files, 4 obsolete files)
3.73 KB,
patch
|
davehunt
:
review+
|
Details | Diff | Splinter Review |
3.57 KB,
patch
|
whimboo
:
review+
|
Details | Diff | Splinter Review |
Failure discovered while running 14.0b9 functional tests. Module: /testCookies/testRemoveAllCookies.js Test: testRemoveAllCookies.js::testRemoveAllCookies Error: controller.waitForPageLoad(): Timeout waiting for page loaded. Report: http://mozmill-ci.blargon7.com/#/functional/report/44fc451c2e6b66b62172f2e13e16a438
status-firefox14:
--- → affected
Comment 1•12 years ago
|
||
Remus, please make this test using mozqa.com. There is a cookie testcase available.
Assignee: nobody → remus.pop
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•12 years ago
|
||
Used the local cookie page and removed gTimeout constant from the wait calls.
Attachment #638612 -
Flags: review?(hskupin)
Attachment #638612 -
Flags: review?(dave.hunt)
Comment 3•12 years ago
|
||
Comment on attachment 638612 [details] [diff] [review] patch v1 (beta) Taking this for review.
Attachment #638612 -
Flags: review?(hskupin)
Comment 4•12 years ago
|
||
Comment on attachment 638612 [details] [diff] [review] patch v1 (beta) > /** > * Test removing all cookies via the cookie manager > */ > var testRemoveAllCookies = function() { >- // Go to mozilla.org to build a list of cookies >- controller.open("http://www.mozilla.org/"); >+ // Go to google.com to build a list of cookies >+ controller.open(LOCAL_TEST_PAGE); This comment referred to the page originally being opened, which is now a local test page and not google.com > controller.waitForPageLoad(); >- >+ > controller.open("http://www.google.com/"); > controller.waitForPageLoad(); As we're making this page use local test pages, can we not remove the external dependency on google.com? I'm guessing that this is here so that we have cookies from multiple domains.
Attachment #638612 -
Flags: review?(dave.hunt) → review-
Comment 5•12 years ago
|
||
Speaking to Henrik on IRC, you should use mozqa.com with different domains. For example: http://domain1.mozqa.com/data/firefox/cookies/cookie_single.html http://domain2.mozqa.com/data/firefox/cookies/cookie_single.html This maintains the integrity of the test but uses the much more lightweight test pages. In the future we should be able to use local test pages by faking fully qualified domain names, but for now we must use remote pages.
Assignee | ||
Comment 6•12 years ago
|
||
I've created an array for the different domains and changed the comment.
Attachment #638612 -
Attachment is obsolete: true
Attachment #639065 -
Flags: review?(dave.hunt)
Comment 7•12 years ago
|
||
Comment on attachment 639065 [details] [diff] [review] patch v2 (beta) >+const COOKIE_PAGE = "/data/firefox/cookies/cookie_single.html"; >+const DOMAINS = ["http://domain1.mozqa.com", >+ "http://domain2.mozqa.com"]; Don't invent new names. Stick with those constants we are making use of in all the other tests.
Attachment #639065 -
Flags: review?(dave.hunt) → review-
Assignee | ||
Comment 8•12 years ago
|
||
Addressed all requests.
Attachment #639065 -
Attachment is obsolete: true
Attachment #639081 -
Flags: review?(hskupin)
Attachment #639081 -
Flags: review?(dave.hunt)
Comment 9•12 years ago
|
||
Comment on attachment 639081 [details] [diff] [review] patch v3 (beta) Looks good. Landed as: http://hg.mozilla.org/qa/mozmill-tests/rev/11ebce9d12a6 (default)
Attachment #639081 -
Flags: review?(hskupin)
Attachment #639081 -
Flags: review?(dave.hunt)
Attachment #639081 -
Flags: review+
Updated•12 years ago
|
status-firefox-esr10:
--- → affected
status-firefox13:
--- → affected
status-firefox15:
--- → affected
status-firefox16:
--- → fixed
Updated•12 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 10•12 years ago
|
||
Landed on other brnaches except esr10 which needs another patch: http://hg.mozilla.org/qa/mozmill-tests/rev/4e64a5b63983 (aurora) http://hg.mozilla.org/qa/mozmill-tests/rev/faf967b16b2a (beta) http://hg.mozilla.org/qa/mozmill-tests/rev/70645719888d (release)
Assignee | ||
Comment 11•12 years ago
|
||
Updated patch so it applies cleanly in esr10.
Attachment #639660 -
Flags: review?(hskupin)
Attachment #639660 -
Flags: review?(dave.hunt)
Comment 12•12 years ago
|
||
Comment on attachment 639660 [details] [diff] [review] patch v3 (esr10) I don't think we're changing the license blocks for mozilla-esr10. Could you revert that and then this will look good to me.
Attachment #639660 -
Flags: review?(hskupin)
Attachment #639660 -
Flags: review?(dave.hunt)
Attachment #639660 -
Flags: review-
Assignee | ||
Comment 13•12 years ago
|
||
Reverted the old license block.
Attachment #639660 -
Attachment is obsolete: true
Attachment #640190 -
Flags: review?(dave.hunt)
Comment 14•12 years ago
|
||
Did you forget to qref? The license block change is still there...
Assignee | ||
Comment 15•12 years ago
|
||
Yes, I somehow omitted the refresh.
Attachment #640190 -
Attachment is obsolete: true
Attachment #640190 -
Flags: review?(dave.hunt)
Attachment #640202 -
Flags: review?(dave.hunt)
Updated•12 years ago
|
Attachment #640202 -
Flags: review?(dave.hunt) → review+
Comment 16•12 years ago
|
||
Pushed to esr10 branch: http://hg.mozilla.org/qa/mozmill-tests/rev/2badd58a6068
Updated•5 years ago
|
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•