Closed Bug 585772 Opened 14 years ago Closed 14 years ago

Make Mozmill-test testPasswordSavedAndDeleted local

Categories

(Mozilla QA Graveyard :: Mozmill Tests, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: u279076, Assigned: aaronmt)

References

Details

(Whiteboard: [litmus-data])

Attachments

(3 files)

Module: testPasswordManager/testPasswordSavedAndDeleted.js Test-page: test-files/password_manager/login_form.html
Blocks: 579965
cleanup + converts test to use local-data
Assignee: nobody → aaron.train
Status: NEW → ASSIGNED
Attachment #466638 - Flags: review?(anthony.s.hughes)
Comment on attachment 466638 [details] [diff] [review] Patch v1 - (default) >+var setupModule = function() { > controller = mozmill.getBrowserController(); > tabBrowser = new TabbedBrowsingAPI.tabBrowser(controller); > >- module.pm = Cc["@mozilla.org/login-manager;1"] >+ pm = Cc["@mozilla.org/login-manager;1"] > .getService(Ci.nsILoginManager); Please fix the indentation on this (. at end of line and 2 space indent) >+ var label = UtilsAPI.getProperty("chrome://passwordmgr/locale/passwordmgr.properties", >+ "notifyBarRememberButtonText"); > var button = tabBrowser.getTabPanelElement(tabBrowser.selectedIndex, > '/{"value":"password-save"}/{"label":"' + label + '"}'); Please break the string into 2 lines on the / > var confirmHandler = function(controller) { > controller.waitThenClick(new elementslib.Lookup(controller.window.document, >+ '/id("commonDialog")/anon({"anonid":"buttons"})' + >+ '/{"dlgtype":"accept"}'), TIMEOUT);
Attachment #466638 - Flags: review?(anthony.s.hughes) → review-
indentation fix
Attachment #471500 - Flags: review?(anthony.s.hughes)
Comment on attachment 471500 [details] [diff] [review] Patch v1.1 - (default) >+ pm = Cc["@mozilla.org/login-manager;1"] >+ .getService(Ci.nsILoginManager); Please put . at the end of the first line and fix indentation > var confirmHandler = function(controller) { > controller.waitThenClick(new elementslib.Lookup(controller.window.document, >+ '/id("commonDialog")' + >+ '/anon({"anonid":"buttons"})' + >+ '/{"dlgtype":"accept"}'), TIMEOUT); > } Please move Lookup to its own var
Attachment #471500 - Flags: review?(anthony.s.hughes) → review-
Attachment #473521 - Flags: review?(anthony.s.hughes)
Attachment #473521 - Flags: review?(hskupin)
Attachment #473521 - Flags: review?(anthony.s.hughes)
Attachment #473521 - Flags: review+
Attachment #473521 - Flags: review?(hskupin) → review+
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
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.
Product: Testing → Mozilla QA
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: