Closed
Bug 536433
Opened 15 years ago
Closed 10 years ago
Mozmill test for "Verify tab scrolling when opening a lot of tabs"
Categories
(Mozilla QA Graveyard :: Mozmill Tests, defect)
Mozilla QA Graveyard
Mozmill Tests
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: whimboo, Unassigned)
Details
(Whiteboard: [mozmill-functional])
This bug will be used to create a Mozmill test to check "Verify tab scrolling when opening a lot of tabs". It covers the following Litmus tests: 6205 and 8247.
Reporter | ||
Updated•15 years ago
|
Assignee: nobody → hskupin
Status: NEW → ASSIGNED
Reporter | ||
Comment 1•15 years ago
|
||
For existing browser tests see:
http://mxr.mozilla.org/mozilla-central/source/browser/base/content/test/browser_overflowScroll.js
Reporter | ||
Updated•15 years ago
|
Assignee: hskupin → nobody
Reporter | ||
Updated•15 years ago
|
Status: ASSIGNED → NEW
Reporter | ||
Comment 2•14 years ago
|
||
Mass 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.
Component: Tabbed Browser → Mozmill Tests
Product: Firefox → Mozilla QA
QA Contact: tabbed.browser → mozmill-tests
Version: 3.6 Branch → unspecified
Summary: [mozmill] Test for "Verify tab scrolling when opening a lot of tabs" → Mozmill test for "Verify tab scrolling when opening a lot of tabs"
Whiteboard: [mozmill-functional][mozmill-tabbedbrowsing]
Reporter | ||
Comment 3•12 years ago
|
||
I question if it is still worth having this test or now. Do we have test coverage via Browser Chrome or Mochitest here?
Whiteboard: [mozmill-functional][mozmill-tabbedbrowsing] → [mozmill-functional]
Comment 4•12 years ago
|
||
In abbreviated form, the referenced manual Litmus tests appeared to do this:
1) Overflow the browser tab strip
2) Navigate via mousedown or mousewheel to either end of the tab strip
3) Visually verify the "<" ">" tab strip icons dim/un-dim accordingly
The automated mochitest referenced appears to be a superset of the Litmus test. It appears to me to do this:
1) Overflow the browser tab strip on any resolution browser in an elegant way
2) Scroll in the tab strip via Tab selection
3) Step in the tab strip via single ">" click
4) Scroll to "end" via Tab selection
5) Scroll a full "page-width" worth of Tabs, via ">" dbl-click
6) Scroll a the entire tab strip length, via ">" triple-click
7) Simulate mouse-wheel input for scrolling in the tab strip
8) Assert with most of them that they are doing what they should*
*I am a newbie, so I can't answer the verification of the display state of the UI icons. Many of the bits in the mochitest return to an 'ok' function where possible. I defer to you guys if that 'ok' function is sufficient for asserting the UI element is in a dimmed/undimmed state or is equivalent to the desired result.
Reporter | ||
Comment 5•12 years ago
|
||
That's good to hear! So the only section which is not covered by the browser chrome test is the highlight. I wonder if there is another test in the same folder which tests exactly that. Could you please check that?
Comment 6•12 years ago
|
||
Yup, I will have a look and report back.
Comment 7•12 years ago
|
||
I searched for occurrences of mTabstrip and scrollButton, which I believe would be required in any test involving the tab scroll UI buttons "<" ">" in:
http://mxr.mozilla.org/mozilla-central/source/browser/base/content/test
and didn't come across any hits, other than than our noted overflow scroll test.
I also had a look by hand at about 20 tests with 'Tab' in their file name in this same location, in case it was accessed in some other way, but nothing there as far as I could tell.
If that is the sole location to search, it appears there may not be a test for the 'display state' of the tab scroll buttons.
That being said, I am too much of a newbie to know if you can get the "dimmed" or "undimmed" display-state, as a property of a UI element. If it is possible, I'd be happy to help out if I can.
Reporter | ||
Comment 8•12 years ago
|
||
Dao, can you please give an advice re comment 7? Do we have some tests? If not I would kinda like to see those as browser chrome instead of Mozmill tests.
Flags: needinfo?(dao)
Reporter | ||
Comment 9•12 years ago
|
||
Dao: re-ping. Would be great to get your feedback.
Comment 10•12 years ago
|
||
(In reply to Jonathan French (:jfrench) from comment #7)
> I searched for occurrences of mTabstrip and scrollButton, which I believe
> would be required in any test involving the tab scroll UI buttons "<" ">" in:
> http://mxr.mozilla.org/mozilla-central/source/browser/base/content/test
>
> and didn't come across any hits, other than than our noted overflow scroll
> test.
Look for _scrollButtonUp / _scrollButtonDown:
http://hg.mozilla.org/mozilla-central/annotate/b980d32c366f/browser/base/content/test/browser_overflowScroll.js#l45
> That being said, I am too much of a newbie to know if you can get the
> "dimmed" or "undimmed" display-state, as a property of a UI element. If it
> is possible, I'd be happy to help out if I can.
The buttons' disabled property is set to true when they're disabled.
Flags: needinfo?(dao)
Reporter | ||
Comment 11•12 years ago
|
||
Jonathan, will you continue to have a look at this bug, or shall we find someone else given your current work load?
Comment 12•12 years ago
|
||
Thanks Henrik, yes if someone else can continue the investigation that would be awesome.
Comment 13•10 years ago
|
||
The tabs scrolling when tabs overflow the tabs strip is covered by
http://mxr.mozilla.org/mozilla-central/source/browser/base/content/test/general/browser_overflowScroll.js
and
http://hg.mozilla.org/qa/mozmill-tests/file/399ffa453f91/firefox/tests/functional/testTabbedBrowsing/testBackgroundTabScrolling.js
Hence closing.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
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
•