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)
Mozilla QA Graveyard
Mozmill Tests
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: vladmaniac, Assigned: vladmaniac)
References
Details
Attachments
(1 file, 6 obsolete files)
|
5.43 KB,
patch
|
whimboo
:
review+
|
Details | Diff | Splinter Review |
No description provided.
| Assignee | ||
Updated•15 years ago
|
Summary: Split testPasswordSavedandDeleted into two modules → Split testPasswordSavedandDeleted.js into two modules
| Assignee | ||
Comment 1•15 years ago
|
||
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
| Assignee | ||
Updated•15 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Updated•15 years ago
|
Assignee: nobody → vlad.maniac
Updated•15 years ago
|
| Assignee | ||
Updated•15 years ago
|
Summary: Split testPasswordSavedandDeleted.js into two modules → Have only one test function in testPasswordSavedandDeleted.js
| Assignee | ||
Comment 2•15 years ago
|
||
Disabled https://litmus.mozilla.org/show_test.cgi?id=8172 in Litmus
| Assignee | ||
Comment 3•15 years ago
|
||
Modified https://litmus.mozilla.org/show_test.cgi?id=8173. Merged information from https://litmus.mozilla.org/show_test.cgi?id=8172
Comment 4•15 years ago
|
||
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
| Assignee | ||
Comment 5•15 years ago
|
||
Disabled https://litmus.mozilla.org/show_test.cgi?id=15637 on Aurora branch and modified https://litmus.mozilla.org/show_test.cgi?id=15638
| Assignee | ||
Comment 6•15 years ago
|
||
Attachment #531897 -
Flags: review?(anthony.s.hughes)
| Assignee | ||
Comment 7•15 years ago
|
||
Attachment #531897 -
Attachment is obsolete: true
Attachment #531897 -
Flags: review?(anthony.s.hughes)
Attachment #531898 -
Flags: review?(anthony.s.hughes)
| Assignee | ||
Comment 8•15 years ago
|
||
Patch v1.1 with some minor changes due to Comment 7 in bug 599148
| Assignee | ||
Comment 9•15 years ago
|
||
Patch v1.1 with some minor changes due to bug 599148 Comment 7
Comment 10•15 years ago
|
||
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-
| Assignee | ||
Comment 11•15 years ago
|
||
Attachment #532658 -
Flags: review?(anthony.s.hughes)
Comment 12•15 years ago
|
||
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+
| Assignee | ||
Comment 13•15 years ago
|
||
Attachment #532658 -
Attachment is obsolete: true
Attachment #532658 -
Flags: review?(hskupin)
Attachment #533217 -
Flags: review?(hskupin)
| Assignee | ||
Comment 14•15 years ago
|
||
Thanks for the review+ Anthony. Nit fixed in patch v1.3 which made patch v1.2 obsolete. r = hskupin
Comment 15•14 years ago
|
||
Comment on attachment 533217 [details] [diff] [review]
Patch v1.3
Vlad, please combine the changes into one single patch.
Attachment #533217 -
Flags: review?(hskupin)
| Assignee | ||
Comment 16•14 years ago
|
||
Attachment #533217 -
Attachment is obsolete: true
Attachment #533288 -
Flags: review?(hskupin)
Updated•14 years ago
|
OS: Linux → All
Hardware: x86 → All
Updated•14 years ago
|
Attachment #531898 -
Attachment is obsolete: true
Comment 17•14 years ago
|
||
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+
Comment 18•14 years ago
|
||
Oh, and please use hg export too, so that the patch includes your username and the commit message. Thanks.
| Assignee | ||
Comment 19•14 years ago
|
||
(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
| Assignee | ||
Comment 20•14 years ago
|
||
Attachment #533288 -
Attachment is obsolete: true
Attachment #533601 -
Flags: review?(hskupin)
Comment 21•14 years ago
|
||
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)
| Assignee | ||
Comment 22•14 years ago
|
||
Attachment #533601 -
Attachment is obsolete: true
Attachment #533928 -
Flags: review?(hskupin)
Comment 23•14 years ago
|
||
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+
Comment 24•14 years ago
|
||
Landed as:
http://hg.mozilla.org/qa/mozmill-tests/rev/b7e34cfceb02 (default)
http://hg.mozilla.org/qa/mozmill-tests/rev/36f1e5dd58d0 (aurora)
http://hg.mozilla.org/qa/mozmill-tests/rev/c211c062c5b5 (beta)
I will leave it open until the Litmus tests have been updated.
| Assignee | ||
Comment 25•14 years ago
|
||
| Assignee | ||
Updated•14 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Updated•6 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
•