Closed Bug 656288 Opened 15 years ago Closed 14 years ago

Have only one test function in testPasswordSavedandDeleted.js

Categories

(Mozilla QA Graveyard :: Mozmill Tests, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: vladmaniac, Assigned: vladmaniac)

References

Details

Attachments

(1 file, 6 obsolete files)

No description provided.
Summary: Split testPasswordSavedandDeleted into two modules → Split testPasswordSavedandDeleted.js into two modules
Split testPasswordSavedandDeleted.js into two modules: *testPasswordSaved.js https://litmus.mozilla.org/show_test.cgi?id=8172 *testPasswordDeleted.js https://litmus.mozilla.org/show_test.cgi?id=8173
Status: NEW → ASSIGNED
Assignee: nobody → vlad.maniac
Depends on: 627975
Blocks: 627975
No longer depends on: 627975
Summary: Split testPasswordSavedandDeleted.js into two modules → Have only one test function in testPasswordSavedandDeleted.js
Vlad, both referenced Litmus tests are from the 3.6 branch on Litmus. Please only disable the test from the Aurora branch, but no older branch. Also see the following link how to correctly disable a Litmus test. We should probably spread this around so everyone knows about it. https://wiki.mozilla.org/QA/Execution/Litmus#Disabling_of_Litmus_Tests
Attached patch Patch v1.0 (obsolete) — Splinter Review
Attachment #531897 - Flags: review?(anthony.s.hughes)
Attached patch Patch v1.1 (obsolete) — Splinter Review
Attachment #531897 - Attachment is obsolete: true
Attachment #531897 - Flags: review?(anthony.s.hughes)
Attachment #531898 - Flags: review?(anthony.s.hughes)
Patch v1.1 with some minor changes due to Comment 7 in bug 599148
Patch v1.1 with some minor changes due to bug 599148 Comment 7
Comment on attachment 531898 [details] [diff] [review] Patch v1.1 >+// Test if Password is saved and deleted >+var testSaveAndDeletePassword = function() { Nit: Please make this a named function using the format "function testFunction() {"
Attachment #531898 - Flags: review?(anthony.s.hughes) → review-
Attached patch Patch v1.2 (obsolete) — Splinter Review
Attachment #532658 - Flags: review?(anthony.s.hughes)
Comment on attachment 532658 [details] [diff] [review] Patch v1.2 >+// Test if Password is saved and deleted >+function testSaveAndDeletePassword() { Please use /* */ style commenting to explain the function Other than that, this patch looks fine. r+ given that change. Over to Henrik for final review.
Attachment #532658 - Flags: review?(hskupin)
Attachment #532658 - Flags: review?(anthony.s.hughes)
Attachment #532658 - Flags: review+
Attached patch Patch v1.3 (obsolete) — Splinter Review
Attachment #532658 - Attachment is obsolete: true
Attachment #532658 - Flags: review?(hskupin)
Attachment #533217 - Flags: review?(hskupin)
Thanks for the review+ Anthony. Nit fixed in patch v1.3 which made patch v1.2 obsolete. r = hskupin
Comment on attachment 533217 [details] [diff] [review] Patch v1.3 Vlad, please combine the changes into one single patch.
Attachment #533217 - Flags: review?(hskupin)
Attached patch Patch v1.4 (obsolete) — Splinter Review
Attachment #533217 - Attachment is obsolete: true
Attachment #533288 - Flags: review?(hskupin)
OS: Linux → All
Hardware: x86 → All
Attachment #531898 - Attachment is obsolete: true
Comment on attachment 533288 [details] [diff] [review] Patch v1.4 >- * Portions created by the Initial Developer are Copyright (C) 2009 >+ * Portions created by the Initial Developer are Copyright (C) 2011 Please don't change the date while updating an existent test. That's the original date when the test has been added. > var teardownModule = function() { Change it to a named function. Same applies to setupModule. Seems like you simply forgot it. >+function testSaveAndDeletePassword() { >+ > // Go to the sample login page and log-in with inputted fields nit: no need for an empty line here. > var logInButton = new elementslib.ID(controller.tabs.activeTab, "LogIn"); > controller.click(logInButton); >- controller.sleep(500); >+ controller.waitForPageLoad(); Good catch. Thanks! >-var prefDialogCallback = function(controller) { >+ var prefDialogCallback = function(controller) { Correct the indentation here and also use a named definition. With those changes r=me.
Attachment #533288 - Flags: review?(hskupin) → review+
Oh, and please use hg export too, so that the patch includes your username and the commit message. Thanks.
(In reply to comment #10) > Comment on attachment 531898 [details] [diff] [review] [review] > Patch v1.1 > > >+// Test if Password is saved and deleted > >+var testSaveAndDeletePassword = function() { > > Nit: Please make this a named function using the format "function > testFunction() {" Sorry for not changing those, still I haven't missed them. In the review is requested a change only for this specific function. Now that is clear, I will make the changes
Attached patch Patch File v1.5 (obsolete) — Splinter Review
Attachment #533288 - Attachment is obsolete: true
Attachment #533601 - Flags: review?(hskupin)
Comment on attachment 533601 [details] [diff] [review] Patch File v1.5 >- * Portions created by the Initial Developer are Copyright (C) 2011 >+ * Portions created by the Initial Developer are Copyright (C) 2009 This patch doesn't apply cleanly and given this lines it seems like to be an interim diff again against your last patch.
Attachment #533601 - Flags: review?(hskupin)
Attached patch Patch v1.6Splinter Review
Attachment #533601 - Attachment is obsolete: true
Attachment #533928 - Flags: review?(hskupin)
Comment on attachment 533928 [details] [diff] [review] Patch v1.6 Ideally we could also have been get rid of the TIMEOUT constant but it's not a blocker for r+ right now. Lets move on and get it removed later. Thanks Vlad.
Attachment #533928 - Flags: review?(hskupin) → review+
Status: ASSIGNED → RESOLVED
Closed: 14 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: