Closed
Bug 578373
Opened 15 years ago
Closed 15 years ago
Update Tabbed Browsing API for Tab Animation
Categories
(Mozilla QA Graveyard :: Mozmill Tests, defect)
Mozilla QA Graveyard
Mozmill Tests
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: aaronmt, Assigned: whimboo)
References
()
Details
(Keywords: regression, Whiteboard: [lib][mozmill-doc-needed])
Attachments
(3 files, 2 obsolete files)
9.09 KB,
patch
|
u279076
:
review+
|
Details | Diff | Splinter Review |
7.66 KB,
patch
|
u279076
:
review+
|
Details | Diff | Splinter Review |
11.48 KB,
patch
|
u279076
:
review+
|
Details | Diff | Splinter Review |
Currently, Mozmill tab manipulating tests such as bug 552594 and bug 557799 are failing on trunk.
With bug 543206, when we open new tabs, via middle click or right click context menu, we will have to add an event listener to the testTabbedBrowsingAPI that will listen for 'transitionend'.
Reporter | ||
Updated•15 years ago
|
Summary: [mozmill] Update Tabbed Browsing API for Tab Animation → [shared module] Update Tabbed Browsing API for Tab Animation
Reporter | ||
Updated•15 years ago
|
Whiteboard: [mozmill-test-failure]
Assignee | ||
Comment 1•15 years ago
|
||
Right, adding an event listener for 'transitionend' should do the trick. We should also check for the tab closing animation, once it has been landed on bug 380960.
Updated•15 years ago
|
Assignee | ||
Updated•15 years ago
|
Assignee: nobody → hskupin
Status: NEW → ASSIGNED
Whiteboard: [mozmill-test-failure] → [mozmill-test-failure][mozmill-doc-needed]
Assignee | ||
Comment 2•15 years ago
|
||
Attachment #460074 -
Flags: review?(anthony.s.hughes)
Assignee | ||
Updated•15 years ago
|
Component: Mozmill → Mozmill Tests
QA Contact: mozmill → mozmilltests
Whiteboard: [mozmill-test-failure][mozmill-doc-needed] → [shared module]
Attachment #460074 -
Flags: review?(anthony.s.hughes) → review+
Assignee | ||
Comment 3•15 years ago
|
||
Comment on attachment 460074 [details] [diff] [review]
Patch v1 (default) [checked-in]
Landed as:
http://hg.mozilla.org/qa/mozmill-tests/rev/4e75e1a2e03a
Attachment #460074 -
Attachment description: Patch v1 (default) → Patch v1 (default) [checked-in]
Assignee | ||
Updated•15 years ago
|
Summary: [shared module] Update Tabbed Browsing API for Tab Animation → Update Tabbed Browsing API for Tab Animation
Assignee | ||
Comment 4•15 years ago
|
||
Backport to use the TabOpen event for older branches.
Attachment #461172 -
Flags: review?(anthony.s.hughes)
Comment on attachment 461172 [details] [diff] [review]
Patch (1.9.2/1.9.1)
> var MODULE_NAME = 'TabbedBrowsingAPI';
>
>+// Include necessary modules
>+var RELATIVE_ROOT = '.';
>+var MODULE_REQUIRES = ['UtilsAPI'];
>+
> const gTimeout = 5000;
>
> const tabsBrowser = '/id("main-window")/id("browser")/id("appcontent")/id("content")';
> const tabsStrip = tabsBrowser + '/anon({"anonid":"tabbox"})/anon({"anonid":"strip"})';
> const tabsContainer = tabsStrip + '/anon({"anonid":"tabcontainer"})/anon({"class":"tabs-stack"})/{"class":"tabs-container"}';
> const tabsArrowScrollbox = tabsContainer + '/anon({"anonid":"arrowscrollbox"})';
>
nit: Can we update this module to use ALL_CAPS for const names to come in line with our test and coding style guidelines?
Attachment #461172 -
Flags: review?(anthony.s.hughes) → review-
Assignee | ||
Comment 6•15 years ago
|
||
That shouldn't be part of this bug. Once we rewrite all our shared modules we will take this into account.
Assignee | ||
Comment 7•15 years ago
|
||
Comment on attachment 461172 [details] [diff] [review]
Patch (1.9.2/1.9.1)
Reasking for review. Please see my last comment.
Attachment #461172 -
Flags: review- → review?(anthony.s.hughes)
Assignee | ||
Comment 8•15 years ago
|
||
With bug 380960 our closeTab() method of the tabBrowser class needs the update asap because it breaks all of our tests which make use of tabbed browsing with the upcoming Mozmill 1.4.2 release. I will work on the implementation later today.
Assignee | ||
Updated•15 years ago
|
Attachment #461172 -
Flags: review?(anthony.s.hughes)
Assignee | ||
Updated•15 years ago
|
Attachment #461172 -
Attachment is obsolete: true
Assignee | ||
Comment 9•15 years ago
|
||
Our default behavior to work with tabs shouldn't take care of the tab animation. It slows down the test execution drastically. If there are no other automated tests we should create a special test for animation in a later stage.
For now, we will disable the animation and simply listen for the TabOpen and TabClose events.
Attachment #464808 -
Flags: review?(anthony.s.hughes)
Assignee | ||
Comment 10•15 years ago
|
||
Now without the accidental changes in other tests.
Attachment #464808 -
Attachment is obsolete: true
Attachment #464811 -
Flags: review?(anthony.s.hughes)
Attachment #464808 -
Flags: review?(anthony.s.hughes)
Attachment #464811 -
Flags: review?(anthony.s.hughes) → review+
Assignee | ||
Comment 11•15 years ago
|
||
Comment on attachment 464811 [details] [diff] [review]
Follow-up v1.1 (default) [checked-in]
Landed as:
http://hg.mozilla.org/qa/mozmill-tests/rev/e9537b619d93
Attachment #464811 -
Attachment description: Follow-up v1.1 (default) → Follow-up v1.1 (default) [checked-in]
Reporter | ||
Comment 12•15 years ago
|
||
Verified fixed with this http://hg.mozilla.org/qa/mozmill-tests/rev/e9537b619d93, the problem yesterday is eliminated
Assignee | ||
Comment 13•15 years ago
|
||
This is a combined backport patch for the already checked-in patches. Lets get this landed on the branches too, except the tab animation lines.
Attachment #464848 -
Flags: review?(anthony.s.hughes)
Attachment #464848 -
Flags: review?(anthony.s.hughes) → review+
Assignee | ||
Comment 14•15 years ago
|
||
Backport patch landed as:
http://hg.mozilla.org/qa/mozmill-tests/rev/652f73dde65f (1.9.2)
http://hg.mozilla.org/qa/mozmill-tests/rev/088eb8b86608 (1.9.1)
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•15 years ago
|
Whiteboard: [shared module] → [shared module][mozmill-doc-needed]
Assignee | ||
Comment 15•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 | ||
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][mozmill-doc-needed] → [lib]
Assignee | ||
Updated•13 years ago
|
Whiteboard: [lib] → [lib][mozmill-doc-needed]
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
•