Closed Bug 576999 Opened 14 years ago Closed 13 years ago

AssertJS failure in testAddMozSearchProvider.js

Categories

(Mozilla QA Graveyard :: Mozmill Tests, defect)

All
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: aaronmt, Assigned: aaronmt)

References

()

Details

(Whiteboard: [mozmill-test-failure])

Attachments

(1 file, 1 obsolete file)

MODULE: /firefox/testSearch/testAddMozSearchProvider.js  
TEST: testAddMozSearchProvider.js
FAIL: Controller.assertJS("subject.URLContainsText == true")
BRANCH: 1.9.1

This failure is as as a result of not waiting for the element to appear in the user interface before performing a search. The search keyword we are typing: 'Firefox', sometimes gets typed as 'Firefx', 'Fifox', 'Frfox'. The following patch adds the fix to the testSearchAPI.
Attachment #456076 - Flags: review?(anthony.s.hughes)
Whiteboard: [mozmill-test-failure]
Why do we need this extra check? The search bar should be present all the time. And given your example from above, only letters in the middle of Firefox sometimes don't get passed to the search bar.
Attachment #456076 - Flags: review?(anthony.s.hughes)
Attachment #456076 - Attachment is obsolete: true
(In reply to comment #2)
> Why do we need this extra check? The search bar should be present all the time.
> And given your example from above, only letters in the middle of Firefox
> sometimes don't get passed to the search bar.

You're right, my mistake. Investigating.
So I've been running this test a number of times as I am seeing it as recent as 07/13 and have only been able to reproduce on Linux and Shiretoko (1.9.1)

http://brasstacks.mozilla.com/couchdb/mozmill/_design/reports/_show/report/090ddcde8e9b11df9336005056a533eb

It's failing a) when the browser window is out of focus and b) As I mentioned before the search keyword we are typing into the searchbox:

'Firefox', sometimes gets typed as 'Firefx', 'Fifox', 'Frfox'

http://hg.mozilla.org/qa/mozmill-tests/file/f6b1814ebb7b/shared-modules/testSearchAPI.js#l795 

Could this be a problem with type(); ?
Mass move of Mozmill Test related project bugs to newly created components. You can filter out those emails by using "Mozmill-Tests-to-MozillaQA" as criteria.
Component: Search → Mozmill Tests
Product: Firefox → Mozilla QA
QA Contact: search → mozmill-tests
Version: 3.5 Branch → unspecified
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
This test still fails and causes the following search tests to fail too. I would suggest we disable it for now and investigate the problem.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
This only applies to 1.9.2 and 1.9.1.
Status: REOPENED → ASSIGNED
Hardware: x86 → All
Summary: [mozmill] AssertJS failure in testAddMozSearchProvider.js → AssertJS failure in testAddMozSearchProvider.js
Attachment #521555 - Flags: review?(hskupin)
Comment on attachment 521555 [details] [diff] [review]
Patch v1 (1.9.2/1.9.1) - disable test

Lets get this in and wait for tomorrows results.
Attachment #521555 - Flags: review?(hskupin) → review+
(In reply to comment #9)
> Comment on attachment 521555 [details] [diff] [review]
> Patch v1 (1.9.2/1.9.1) - disable test
> 
> Lets get this in and wait for tomorrows results.

http://hg.mozilla.org/qa/mozmill-tests/rev/7a2aa0a4cf9e - 1.9.2
http://hg.mozilla.org/qa/mozmill-tests/rev/9555aa51bd5a - 1.9.1
(In reply to comment #10)
> > Lets get this in and wait for tomorrows results.
> 
> http://hg.mozilla.org/qa/mozmill-tests/rev/7a2aa0a4cf9e - 1.9.2
> http://hg.mozilla.org/qa/mozmill-tests/rev/9555aa51bd5a - 1.9.1

Not sure why this test hasn't been marked as not covered on litmus but I did that now. Next time please take care of it.

We will not enable this test on the old 1.9.x branches, so leave it as disabled.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago13 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

Created:
Updated:
Size: