Closed Bug 669835 Opened 15 years ago Closed 15 years ago

Test failure 'could not validate element Name: q with value area code' in testGoogleSuggestions.js

Categories

(Mozilla QA Graveyard :: Mozmill Tests, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: whimboo, Assigned: whimboo)

References

()

Details

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

Attachments

(1 file)

Module: testGoogleSuggestions.js Test: testGoogleSuggestedTerms Failure: could not validate element Name: q with value area code Branches: ALL Platforms: ALL This regression has been started on June 15th and happens across all platforms. Could be a change made by Google. Aaron, would you be able to check that failure? If not we should ask Vlad or Alex.
Aaron, this is in one of your owned areas and needs investigation and a fix. Can you please take care of it?
Assignee: nobody → aaron.train
Status: NEW → ASSIGNED
This test passes for me on all my local platforms, I'll check into this.
if you can't reproduce just let it run in a loop with over 100 or so iterations. Just to prove the tests stability.
I have a Russian IP, and http://google.com redirects to Russian page http://google.ru with an "en-US" or "ru" build. With an "eo" build, it just shows Esperanto page at http://google.com, so the test doesn’t fail.
(In reply to comment #4) As Aaron pointed out, that’s probably not relevant, because the test uses https://encrypted.google.com and changes "intl.accept_languages" to "en-us".
I can't reproduce this over 120 iterations across Ubuntu 11.04, and Windows 7, not sure where to take this.
(In reply to comment #6) > I can't reproduce this over 120 iterations across Ubuntu 11.04, and Windows > 7, not sure where to take this. On qa-horus? If not you should test on this machine because from there it always fails as the todays reports show again.
Attached patch Patch v1 — — Splinter Review
nodeCollector is not the best choice for this test due to the dynamic content. It really needs to be updated soon. Now with the Selector method available on the elementslib lets use that one instead. It fixes the problem for me on Vista.
Assignee: aaron.train → hskupin
Attachment #547238 - Flags: review?(gmealer)
Comment on attachment 547238 [details] [diff] [review] Patch v1 Looks good, r+. Reminds me that I still need to add a waitFor-type function onto the refactored elements too, for times when you want something more than implicit wait.
Attachment #547238 - Flags: review?(gmealer) → review+
This test drives me crazy. The Google website doesn't behave reliable enough that we really can test this with Mozmill. I have massive problems with the backport to older branches. When the test fails once out of a dozen of testruns. I have absolutely no idea how to fix it. Even a call to tabs.activeTab.querySelector doesn't return the suggestion after a long delay. Geo, I would propose that we disable this test.
I should CC Geo if I want to get feedback from him.
Heh, thanks. Yeah, easier for me to see it that way. ;) If it's breaking constantly, we should pull it. I don't think this test is high enough value to merit a lot of time and trouble.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Sorry, but I missed to remove the patch from 2.0 and 1.9.2. Did that now: http://hg.mozilla.org/qa/mozmill-tests/rev/bb642d1265b8 (2.0) http://hg.mozilla.org/qa/mozmill-tests/rev/bb97f7eed669 (1.9.2)
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: