Closed
Bug 603675
Opened 14 years ago
Closed 14 years ago
Test failure in testUndoTabFromContextMenu.js | testTabbedBrowsingAPI (default)
Categories
(Mozilla QA Graveyard :: Mozmill Tests, defect)
Mozilla QA Graveyard
Mozmill Tests
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: aaronmt, Assigned: aaronmt)
References
()
Details
(Keywords: regression, Whiteboard: [lib][mozmill-test-failure][needs-mozmill-1.5.1])
Attachments
(2 files, 1 obsolete file)
1.65 KB,
patch
|
whimboo
:
review+
|
Details | Diff | Splinter Review |
1.67 KB,
patch
|
whimboo
:
review+
|
Details | Diff | Splinter Review |
MODULES: firefox/testSessionStore/testUndoTabFromContextMenu.js
TEST: testUndoTabFromContextMenu.js
ERROR: Controller.assertJSProperty(ID: context_undoCloseTab) : true == false
BRANCH: default
We seem to be opening navigation bar context menu when we want to be opening the tab bar context menu. Changing the targeted element to 'tabs_strip' still produces this issue.
Side note: The assert should also be changed to assertDOMProperty.
Comment 1•14 years ago
|
||
That's exactly the bug Jeff is catching with in the last day on a box beside his desktop. Interesting that it now also appears on brasstacks. It still works fine locally. So this is getting more interesting.
(In reply to comment #0)
> Side note: The assert should also be changed to assertDOMProperty.
No, there is no disabled property attached to the DOM. It's a property of the JS object. And instead of the strip we should also right click the first tab. The strip itself will not show the tab context menu.
Comment 2•14 years ago
|
||
(In reply to comment #0)
> MODULES: firefox/testSessionStore/testUndoTabFromContextMenu.js
> TEST: testUndoTabFromContextMenu.js
> ERROR: Controller.assertJSProperty(ID: context_undoCloseTab) : true == false
> BRANCH: default
>
> We seem to be opening navigation bar context menu when we want to be opening
> the tab bar context menu. Changing the targeted element to 'tabs_strip' still
> produces this issue.
>
> Side note: The assert should also be changed to assertDOMProperty.
I saw this on OS X 32 bit. Is this where you see it as well?
Comment 3•14 years ago
|
||
On brasstacks it's happening on Windows and Linux too. Aaron, if you can reproduce it would be great if you could provide a patch. That failure blocks us from getting the tests into buildbot. If you can't please tell me and I will check the test on qa-horus itself.
Assignee | ||
Updated•14 years ago
|
Keywords: regression
Assignee | ||
Comment 4•14 years ago
|
||
Am able to reproduce on OSX and Linux, have not tried Windows.
Assuming the replace of getElement with getTab, the nav toolbar still opens instead. |var tabBar = tabBrowser.getTab(0);|
Assignee | ||
Comment 5•14 years ago
|
||
The above works with tabs on bottom. I think it's just a targeting issue the position where we are clicking.
Assignee | ||
Comment 6•14 years ago
|
||
This same regression is also hurting testCloseTab.js and testNewTab.js as both work with tabs on bottom.
Comment 7•14 years ago
|
||
Can you test with my patch from the events branch:
http://github.com/whimboo/mozmill/commits/events
I wonder if this will fix this problem.
Comment 8•14 years ago
|
||
It probably will because the rounded corners will not be the problem anymore. Remember those are at the top left for tabs on top. When we click at (2,2) we end up outside of the tab.
Assignee | ||
Comment 9•14 years ago
|
||
Yep, your events branch fixes this issue when I change the element we want to click on to getTab at its index. As well, your events branch fixes the tabbedBrowsing tests.
I'll post a patch for this test in a minute.
Assignee | ||
Comment 10•14 years ago
|
||
This patch and test will pass once 1.5.1 is released with your events patch.
Assignee | ||
Comment 11•14 years ago
|
||
Default to the selectedIndex in getTab()
Attachment #482610 -
Attachment is obsolete: true
Attachment #482624 -
Flags: review?(hskupin)
Attachment #482610 -
Flags: review?(hskupin)
Comment 12•14 years ago
|
||
Comment on attachment 482624 [details] [diff] [review]
Patch v1 - (default)
Makes absolutely sense. Does this patch apply cleanly for older branches?
Attachment #482624 -
Flags: review?(hskupin) → review+
Comment 13•14 years ago
|
||
Comment on attachment 482624 [details] [diff] [review]
Patch v1 - (default)
Landed on default:
http://hg.mozilla.org/qa/mozmill-tests/rev/4fa3b29587d8
Updated•14 years ago
|
Summary: [shared module] Test failure in testUndoTabFromContextMenu.js | testTabbedBrowsingAPI (default) → Test failure in testUndoTabFromContextMenu.js | testTabbedBrowsingAPI (default)
Whiteboard: [mozmill-test-failure] → [mozmill-test-failure][shared module]
Assignee | ||
Comment 14•14 years ago
|
||
1.9.2 and 1.9.1
Attachment #482656 -
Flags: review?(hskupin)
Comment 15•14 years ago
|
||
Comment on attachment 482656 [details] [diff] [review]
Patch v1 - (1.9.2 & 1.9.1)
Landed backport:
http://hg.mozilla.org/qa/mozmill-tests/rev/b46cf069ad7d (mozilla1.9.2)
http://hg.mozilla.org/qa/mozmill-tests/rev/43b12508e3b8 (mozilla1.9.1)
I will leave this bug open until the dependencies have been fixed.
Attachment #482656 -
Flags: review?(hskupin) → review+
Assignee | ||
Updated•14 years ago
|
Whiteboard: [mozmill-test-failure][shared module] → [mozmill-test-failure][shared module][needs-mozmill-1.5.1]
Comment 16•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
|
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
Component: Mozmill Tests → Mozmill Shared Modules
Updated•13 years ago
|
Component: Mozmill Shared Modules → Mozmill Tests
Updated•13 years ago
|
Whiteboard: [mozmill-test-failure][shared module][needs-mozmill-1.5.1] → [lib]
Updated•13 years ago
|
Whiteboard: [lib] → [lib][mozmill-test-failure][needs-mozmill-1.5.1]
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
•