Closed Bug 1154945 Opened 9 years ago Closed 7 years ago

Test failures in addon tests due to changed behavior in installing addons

Categories

(Mozilla QA Graveyard :: Mozmill Tests, defect)

40 Branch
defect
Not set
normal

Tracking

(firefox39 unaffected, firefox40 disabled)

RESOLVED INVALID
Tracking Status
firefox39 --- unaffected
firefox40 --- disabled

People

(Reporter: sydpolk, Unassigned)

References

Details

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

Attachments

(1 file)

Module:    functional
Test:      testAddons    
Failure:   "Addon child element has been found."
Branches:  mozilla-beta
Platforms: all

This is failing for all builds of Firefox 37, Firefox 38 and Firefox 39 for Desktop.

On Firefox 40, the error message is:

"AddonsManager_isAddonInstalled: Add-on has been specified. - got 'undefined'"
Mossop, do you know someone who knows the add-ons code well and has time to find out if those failures are test or code issues?
Flags: needinfo?(dtownsend)
Honestly no-one meets both those criteria right now.

Based on the code I'm guessing that 40 behaves differently because of the changes to the add-on install UI.

Was this passing in 36?
This broke in mozmill-tests with rev a14822a6b10d. I will disable the tests for all releases. There are also failures starting 3/25 even with this backed out because FF now presents a confirmation alert for installing extensions.
If a mozmill change broke this then it seems likely this is a test issue. The change looks to be disabling a test just on windows though so the fact it broke all platforms is surprising. If it was really that change then sounds like testPluginInDifferentStates.js isn't cleaning up properly or something.
Flags: needinfo?(dtownsend)
There are two issues.

Mozmill changes caused some failures in this files. Others later were caused by additional UI in the extension addition interface.
So, most test files in firefox/tests/functional/testAddons have failures in all versions of Firefox. I will be disabling them all.
(In reply to Syd Polk :sydpolk from comment #6)
> So, most test files in firefox/tests/functional/testAddons have failures in
> all versions of Firefox. I will be disabling them all.

No work happened here in the last two weeks. So I'm going to transform this bug to cover the topic Dave mentioned above with the changes for Firefox 40. Any failure in testChangeTheme.js is already covered by another bug. This should really be add-on general.
Assignee: nobody → hskupin
Status: NEW → ASSIGNED
Summary: Test failure 'testThemeIsInstalled' in testChangeTheme.js → Test failures in addon tests due to changed behavior in installing addons from localhost
Version: Firefox 39 → Firefox 40
Summary: Test failures in addon tests due to changed behavior in installing addons from localhost → Test failures in addon tests due to changed behavior in installing addons
Attached patch skip.patchSplinter Review
I landed this skip patch which disables all tests which are installing add-ons.

https://hg.mozilla.org/qa/mozmill-tests/rev/a12f79e5074d (default)
Attachment #8601931 - Flags: checkin+
Whiteboard: [mozmill-test-failure] → [mozmill-test-failure][mozmill-test-skipped]
As Dave said this regression is caused by a change in the doorhanger for add-on installation. As the dashboard states the failures started on March 25th. A quick look at the pushlog [1] shows me that it is related to bug 1139656. Maybe it's just another id for the install button, which needs an update. I will know soon.

[1] https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=cc0950b7a369&tochange=db0409de517a
Blocks: 1139656
Keywords: regression
The installation process has been totally changed and it would take too much time for me now to get this fixed in the Mozmill tests. A better approach here would be to wait for the implementation of those tests as Firefox UI tests. With the debugger capabilities of Marionette it will be much easier to solve.

I will leave those tests as disabled but won't close the bug right now.
Assignee: hskupin → nobody
Status: ASSIGNED → NEW
Mozmill tests have been superseded by Marionette tests.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
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: