Closed
Bug 604327
Opened 14 years ago
Closed 12 years ago
Update Mozmill tests to make use of the new Menu API
Categories
(Mozilla QA Graveyard :: Mozmill Tests, defect)
Mozilla QA Graveyard
Mozmill Tests
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: whimboo, Assigned: AlexLakatos)
References
Details
(Whiteboard: [mozmill-test-refactor][good first bug])
Attachments
(2 files, 1 obsolete file)
13.39 KB,
patch
|
whimboo
:
review+
|
Details | Diff | Splinter Review |
13.40 KB,
patch
|
u279076
:
review+
|
Details | Diff | Splinter Review |
With the new feature from bug 597330 in place we will have to update our tests to make use of the new API. This will cover: * Replace all controller.menus.* calls * Identify all tests which make use of context menus and replace that code with the new API All those changes will make our tests more robust, especially in situations when the context menu hasn't been closed.
Reporter | ||
Comment 1•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
Version: Trunk → unspecified
Reporter | ||
Comment 3•13 years ago
|
||
If we can find an assignee it's kinda easy to fix.
Whiteboard: [mozmill-refactor] → [mozmill-refactor][good first bug]
Whiteboard: [mozmill-refactor][good first bug] → [mozmill-test-refactor][good-first-bug]
Reporter | ||
Updated•13 years ago
|
Whiteboard: [mozmill-test-refactor][good-first-bug] → [mozmill-test-refactor][good first bug]
Comment 4•12 years ago
|
||
I don't see it failing any more. I think we can call this a WONTFIX.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
Reporter | ||
Comment 7•12 years ago
|
||
Thanks Antonina. Lets talk more and about the first steps on IRC early next week. Otherwise don't hesitate to ask if you have other questions.
Assignee: nobody → antonina.gubynets
Status: REOPENED → ASSIGNED
Reporter | ||
Comment 9•12 years ago
|
||
Antonina, have you had time to look at this? Last time we talked on IRC you wanted to send an updated version of the documentation on MDN. Have you had time for it?
Assignee | ||
Comment 10•12 years ago
|
||
Antonina, I have a patch for this issue, from the duplicated bug. Is it ok if I take over?
Comment 11•12 years ago
|
||
Yes, thank you!
Reporter | ||
Comment 12•12 years ago
|
||
Antonina, do you want to still update the documentation for this API? I would kinda appreciate it.
Assignee | ||
Comment 13•12 years ago
|
||
Refactored all controller.menus
Assignee: antonina.gubynets → alex.lakatos
Attachment #612192 -
Flags: review?(anthony.s.hughes)
Reporter | ||
Comment 14•12 years ago
|
||
Comment on attachment 612192 [details] [diff] [review] patch v1.0 >+++ b/lib/private-browsing.js >@@ -29,17 +29,17 @@ const gTimeout = 5000; [..] >- this._pbMenuItem = new elementslib.Elem(this._controller.menus['tools-menu'].privateBrowsingItem); >+ this._pbMenuItem = "#privateBrowsingItem"; [..] >- this._controller.click(this._pbMenuItem); >+ this._controller.mainMenu.click(this._pbMenuItem); I would say we get rid of the _pbMenuItem now. It exists for caching purposes and doesn't make sense anymore. Otherwise I really like that change. It makes the code way cleaner. Just do the above change and we can land it.
Attachment #612192 -
Flags: review?(anthony.s.hughes) → review-
Comment 15•12 years ago
|
||
The patch is missing at least one instance where there is a line break between "controller." and "menus[]". See http://hg.mozilla.org/qa/mozmill-tests/file/3b8476081653/lib/addons.js#l142
Assignee | ||
Comment 16•12 years ago
|
||
(In reply to Dave Hunt (:davehunt) from comment #15) > The patch is missing at least one instance where there is a line break > between "controller." and "menus[]". See > http://hg.mozilla.org/qa/mozmill-tests/file/3b8476081653/lib/addons.js#l142 That was the only one. grep -r "menus" ./ returns nothing.
Attachment #612192 -
Attachment is obsolete: true
Attachment #612570 -
Flags: review?(anthony.s.hughes)
Reporter | ||
Comment 17•12 years ago
|
||
Alex, given that Antonina hasn't replied back yet, would you mind updating the documentation on MDN based on bug 597330? I don't want to wait longer and forget about it again.
Reporter | ||
Updated•12 years ago
|
Attachment #612570 -
Flags: review?(anthony.s.hughes) → review?(hskupin)
Assignee | ||
Comment 18•12 years ago
|
||
(In reply to Henrik Skupin (:whimboo) from comment #17) > Alex, given that Antonina hasn't replied back yet, would you mind updating > the documentation on MDN based on bug 597330? I don't want to wait longer > and forget about it again. I don't mind. I'll update the documentation as well.
Reporter | ||
Updated•12 years ago
|
Attachment #612570 -
Flags: review?(hskupin) → review+
Reporter | ||
Comment 19•12 years ago
|
||
Comment on attachment 612570 [details] [diff] [review] patch v1.1 [checked-in] Patch has been landed: http://hg.mozilla.org/qa/mozmill-tests/rev/db45e531d2d8 (default) http://hg.mozilla.org/qa/mozmill-tests/rev/b04aa73f3114 (aurora) http://hg.mozilla.org/qa/mozmill-tests/rev/183fdb44ee73 (beta) http://hg.mozilla.org/qa/mozmill-tests/rev/88635eb190a5 (release) Alex, please come up with a patch for esr10 because it doesn't apply cleanly: $ hg transplant db45e531d2d8 applying db45e531d2d8 patching file tests/functional/testBookmarks/testAddBookmarkToMenu.js Hunk #1 FAILED at 28 1 out of 1 hunks FAILED -- saving rejects to file tests/functional/testBookmarks/testAddBookmarkToMenu.js.rej patch failed to apply
Attachment #612570 -
Attachment description: patch v1.1 → patch v1.1 [checked-in]
Reporter | ||
Comment 20•12 years ago
|
||
Quick fix for the esr10 branch so we can close this bug.
Attachment #614211 -
Flags: review?(anthony.s.hughes)
Comment 21•12 years ago
|
||
Comment on attachment 614211 [details] [diff] [review] Patch v1.0 (esr10) [checked-in] Looks good to me -- go ahead and land.
Attachment #614211 -
Flags: review?(anthony.s.hughes) → review+
Keywords: checkin-needed
Reporter | ||
Comment 22•12 years ago
|
||
Comment on attachment 614211 [details] [diff] [review] Patch v1.0 (esr10) [checked-in] http://hg.mozilla.org/qa/mozmill-tests/rev/bfbb3b6691a8 (esr)
Attachment #614211 -
Attachment description: Patch v1.0 (esr10) → Patch v1.0 (esr10) [checked-in]
Reporter | ||
Updated•12 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 12 years ago → 12 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
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
•