Closed Bug 743963 Opened 13 years ago Closed 13 years ago

Utils.js and toolbars.js are using the "assertions" lib without including it

Categories

(Mozilla QA Graveyard :: Mozmill Tests, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: vladmaniac, Assigned: vladmaniac)

References

()

Details

(Keywords: regression, Whiteboard: [lib][mozilla-esr10])

Attachments

(1 file)

mozilla-esr10 tests are failing because utils.js does not import the assertions lib http://mozmill-crowd.blargon7.com/#/functional/report/6e80328ea3027063f668a2dd6c368bd2 Error: assertElementVisible([object Proxy],[object Proxy],false)@resource://mozmill/stdlib/securable-module.js -> file:///tmp/tmp55tXAz.mozmill-tests/lib/utils.js:188 failed /testAwesomeBar/testGoButton.js testGoButton.js::testClickLocationBarAndGo assert is not defined failed /testAwesomeBar/testSuggestHistoryBookmarks.js testSuggestHistoryBookmarks.js::testSuggestHistoryAndBookmarks assert is not defined failed /testAwesomeBar/testSuggestHistoryBookmarks.js testSuggestHistoryBookmarks.js::testStarInAutocomplete Tests affected: /testAwesomeBar/testGoButton.js /testAwesomeBar/testSuggestHistoryBookmarks.js /testAwesomeBar/testCheckItemHighlight.js /testSecurity/testIdentityPopupOpenClose.js
Assignee: nobody → vlad.mozbugs
Status: NEW → ASSIGNED
Attached patch quick fix v1.0Splinter Review
Quick fix - somehow the "assertions" lib was not imported Fixed this by importing the library in the tests, now the assertions module is usable
Attachment #613554 - Flags: review?(hskupin)
Regression from bug 724713. This should not have happened because we have a couple of tests which make use of this method. Alex, just to be sure, have you really run the tests with the patch applied on Firefox 10?
Blocks: 724713
Keywords: regression
Attachment #613554 - Flags: review?(hskupin) → review+
(In reply to Henrik Skupin (:whimboo) from comment #2) > Regression from bug 724713. This should not have happened because we have a > couple of tests which make use of this method. Alex, just to be sure, have > you really run the tests with the patch applied on Firefox 10? Its clear that the patch in bug bug 724713 does not import assertions.js in the toolbars and utils shared modules. I'm sure that the patch was tested but I figure the magic 'hg qrefresh' was missed
(In reply to Henrik Skupin (:whimboo) from comment #5) > There are even more instances for a missing include: > http://mozmill-ci.blargon7.com/#/functional/report/ > 6e80328ea3027063f668a2dd6c296fe4 Please compare with the link from URL section in the bug. the results are identical My provides a clean testrun now, applying for toolbars and utils module which are being used in those tests.
Summary: Utils.js and toolbars.js are using the "assertions" lib without being defined on the API, for mozilla-esr10 branch → Utils.js and toolbars.js are using the "assertions" lib without including it
Whiteboard: [mozilla-esr10]
I see. Alright so lets close it.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Component: Mozmill Shared Modules → Mozmill Tests
Whiteboard: [mozilla-esr10] → [lib]
Whiteboard: [lib] → [lib][mozilla-esr10]
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: