Closed
Bug 606507
Opened 14 years ago
Closed 14 years ago
Update addons module to support the Discovery Pane
Categories
(Mozilla QA Graveyard :: Mozmill Tests, defect)
Mozilla QA Graveyard
Mozmill Tests
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: aaronmt, Assigned: whimboo)
References
Details
(Whiteboard: [lib])
Attachments
(1 file, 4 obsolete files)
13.17 KB,
patch
|
whimboo
:
review+
|
Details | Diff | Splinter Review |
With the AddonsAPI updated in bug 569813, some additional functionality will be needed to support the Discovery Pane (i.e, "Get Add-ons") in tests.
Assignee | ||
Comment 1•14 years ago
|
||
It's not something we can do right now. It will take a while until the discovery pane has been finished. Also not sure yet how much we can and should do. It's a web page and will be different for each user. I would more tend to say, lets handle it as any other web page.
Assignee | ||
Comment 2•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
Assignee | ||
Comment 3•14 years ago
|
||
Before we start with the implementation of the tests we should figure out if we really need an API for the discovery pane.
Assignee | ||
Comment 4•14 years ago
|
||
As bug 659000 has been shown we have issues with waitForPageLoad() in the discovery pane. We should have at least basic support for it in the addons module:
* waitForPageLoaded()
* .controller
Still not sure if an element list is useful here.
Assignee: nobody → hskupin
Status: NEW → ASSIGNED
A Pivotal Tracker story has been created for this Bug: https://www.pivotaltracker.com/story/show/13767591
Assignee | ||
Updated•14 years ago
|
Summary: Update AddonsAPI to support the Discovery Pane for Firefox 4.0 → Update addons module to support the Discovery Pane
Assignee | ||
Comment 6•14 years ago
|
||
I asked Vlad to send me a list of possible candidates for the elements the DiscoveryPane class has to cover. Here those are:
Name Selector
Main
----
"main_featureNext" #nav-features.next
"main_featurePrevious" #nav-features.prev
"main_featureCollection" #fx4-collection
"main_featureMonthly" #monthly.install-button
"featured _addonsList" #featured-addons
"recs_addonsList" #recs
"sub_upAndComingList" #up-and-coming
"sub_featuredPersonas" #featured-personas
"sub_moreWays" #more-ways
Details
-------
"detailedView_addToFirefox" #install.install-button
"detailedView_LearnMore" #learn-more
Assignee | ||
Comment 7•14 years ago
|
||
Implementing handling of elements is not that easy here. If JS is enabled this pane is doing crazy things by at least cloning panels. I need some sleep first before I can continue here. Btw. the initial class already works.
Assignee | ||
Comment 8•14 years ago
|
||
Assignee | ||
Comment 9•14 years ago
|
||
WIP with example test with what's implemented so far.
Attachment #535283 -
Attachment is obsolete: true
Assignee | ||
Comment 10•14 years ago
|
||
Updated WIP which now includes the addon page too.
Vlad with this patch injected into your mq you can start to create tests for the up and coming Litmus tests.
Attachment #535284 -
Attachment is obsolete: true
Assignee | ||
Comment 11•14 years ago
|
||
Final patch to handle the discovery pane with a couple of extra tests attached. Please keep in mind to run this on mozilla-beta if you want to test. With the fresh Aurora build we do not populate all sections because of missing compatible extensions.
Attachment #535290 -
Attachment is obsolete: true
Attachment #535784 -
Flags: review?(dave.hunt)
Assignee | ||
Updated•14 years ago
|
Whiteboard: [shared module] → [shared module][needs bug 660393]
Comment 12•14 years ago
|
||
Comment on attachment 535784 [details] [diff] [review]
Patch v1
diff --git a/lib/addons.js b/lib/addons.js
--- a/lib/addons.js
+++ b/lib/addons.js
/**
+ * Get the instance of the Discovery Pane
+ *
+ * @returns {DiscoverPane} Instance of the Discovery Pane class
+ */
nit: typo in DiscoveryPane
new file mode 100644
--- /dev/null
+++ b/lib/tests/testAddonsDiscoveryPane.js
@@ -0,0 +1,107 @@
+// Include required modules
+var addons = require("../addons");
nit: Aren't we capitalising these now?
r+ with the above minor nits.
Attachment #535784 -
Flags: review?(dave.hunt) → review+
Assignee | ||
Comment 13•14 years ago
|
||
Patch with comments addressed. Ready for check-in.
Attachment #535784 -
Attachment is obsolete: true
Attachment #535793 -
Flags: review+
Assignee | ||
Comment 14•14 years ago
|
||
Landed as:
http://hg.mozilla.org/qa/mozmill-tests/rev/9be75c1668ac (default)
http://hg.mozilla.org/qa/mozmill-tests/rev/32208596d82e (aurora)
http://hg.mozilla.org/qa/mozmill-tests/rev/2853bea9812c (beta)
I have added more than the requested elements, and I think we should be feature complete for this class now. If something is missing file a new bug or add it on your own in a patch for a test.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 15•14 years ago
|
||
We released a new beta to pyPI yesterday with the waitForPageLoad bug fixed. So we are good to go now. Removing dependency.
No longer depends on: 660393
Assignee | ||
Comment 16•14 years ago
|
||
Sorry, had to push a follow-up bustage fix for the example test.
http://hg.mozilla.org/qa/mozmill-tests/rev/592ae2d20b33 (default)
http://hg.mozilla.org/qa/mozmill-tests/rev/e05099301075 (aurora)
http://hg.mozilla.org/qa/mozmill-tests/rev/bda592b5732d (beta)
Assignee | ||
Updated•14 years ago
|
Component: Mozmill Tests → Mozmill Shared Modules
Assignee | ||
Updated•13 years ago
|
Component: Mozmill Shared Modules → Mozmill Tests
Assignee | ||
Updated•13 years ago
|
Whiteboard: [shared module][needs bug 660393] → [lib]
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
•