Closed
Bug 585772
Opened 14 years ago
Closed 14 years ago
Make Mozmill-test testPasswordSavedAndDeleted local
Categories
(Mozilla QA Graveyard :: Mozmill Tests, defect)
Mozilla QA Graveyard
Mozmill Tests
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: u279076, Assigned: aaronmt)
References
Details
(Whiteboard: [litmus-data])
Attachments
(3 files)
4.60 KB,
patch
|
u279076
:
review-
|
Details | Diff | Splinter Review |
4.82 KB,
patch
|
u279076
:
review-
|
Details | Diff | Splinter Review |
5.04 KB,
patch
|
u279076
:
review+
whimboo
:
review+
|
Details | Diff | Splinter Review |
Module: testPasswordManager/testPasswordSavedAndDeleted.js
Test-page: test-files/password_manager/login_form.html
Assignee | ||
Comment 1•14 years ago
|
||
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-
Assignee | ||
Comment 3•14 years ago
|
||
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-
Assignee | ||
Comment 5•14 years ago
|
||
Attachment #473521 -
Flags: review?(anthony.s.hughes)
Attachment #473521 -
Flags: review?(hskupin)
Attachment #473521 -
Flags: review?(anthony.s.hughes)
Attachment #473521 -
Flags: review+
Updated•14 years ago
|
Attachment #473521 -
Flags: review?(hskupin) → review+
Keywords: checkin-needed
(In reply to comment #5)
> Created attachment 473521 [details] [diff] [review]
> Patch v1.2 - [nit fixes] - (default)
Landed:
http://hg.mozilla.org/qa/mozmill-tests/rev/91dea2a04d1c [default]
http://hg.mozilla.org/qa/mozmill-tests/rev/f9558ab5e092 [mozilla1.9.2]
http://hg.mozilla.org/qa/mozmill-tests/rev/18730d072c04 [mozilla1.9.1]
Comment 7•14 years ago
|
||
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
Updated•5 years ago
|
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•