Closed
Bug 874395
Opened 12 years ago
Closed 12 years ago
Test failure in /testPopups/testPopupsBlocked.js due to the tab browser element not found
Categories
(Mozilla QA Graveyard :: Mozmill Tests, defect, P1)
Mozilla QA Graveyard
Mozmill Tests
Tracking
(firefox25 fixed)
RESOLVED
FIXED
| Tracking | Status | |
|---|---|---|
| firefox25 | --- | fixed |
People
(Reporter: daniela.p98911, Assigned: mario.garbi)
References
Details
(Whiteboard: [mozmill-test-failure][australis][sprint2013-35])
Attachments
(1 file, 3 obsolete files)
|
8.84 KB,
patch
|
AndreeaMatei
:
review+
|
Details | Diff | Splinter Review |
testPopupsBlocked fails on all OS with Australis build - line that makes the test fail:
http://hg.mozilla.org/qa/mozmill-tests/file/05730582186d/lib/tabs.js#l22
TAB_BROWSER lookup expression needs to contain: '/id("content-deck")' element also. The line should be changed to:
const TABS_BROWSER = TABS_VIEW + '/id("content-deck")/id("browser")/id("appcontent")/id("content")';
NOTE: The above line should be changed only if nodeCollector cannot be used instead of Lookup expression
Priority: -- → P1
Updated•12 years ago
|
Whiteboard: [mozmill-test-failure][australis] → [mozmill-test-failure][australis][sprint2013-35]
| Assignee | ||
Comment 1•12 years ago
|
||
The patch for 874393 will introduce new library elements that are needed for this bug, therefore I will set it dependent of that.
Depends on: 874393
| Assignee | ||
Comment 2•12 years ago
|
||
Updated all libraries and tests that have Lookup or element issues created by the new Australis nodes. This will also fix bug 874394 and updates the patch landed on Bug 874393 with the changes requested by Henrik.
I had to change the getElement function to handle the button element that had it's class name changed in Australis by introducing a check in each case instead of only checking for Australis once at the start.
Linux:
UX
http://mozmill-crowd.blargon7.com/#/functional/report/180cf2548ef2865af3ae441d61edebbe
http://mozmill-crowd.blargon7.com/#/functional/report/180cf2548ef2865af3ae441d61ee89c7
Nightly
http://mozmill-crowd.blargon7.com/#/functional/report/180cf2548ef2865af3ae441d61ed6800
http://mozmill-crowd.blargon7.com/#/functional/report/180cf2548ef2865af3ae441d61edb7ab
Windows:
UX
http://mozmill-crowd.blargon7.com/#/functional/report/180cf2548ef2865af3ae441d61ed8fcb
http://mozmill-crowd.blargon7.com/#/functional/report/180cf2548ef2865af3ae441d61edb0e7
Nightly
http://mozmill-crowd.blargon7.com/#/functional/report/180cf2548ef2865af3ae441d61f6a78e
http://mozmill-crowd.blargon7.com/#/functional/report/180cf2548ef2865af3ae441d61f72131
Mac:
UX
http://mozmill-crowd.blargon7.com/#/functional/report/180cf2548ef2865af3ae441d61ebba07
http://mozmill-crowd.blargon7.com/#/functional/report/180cf2548ef2865af3ae441d61ee56e2
Nightly
http://mozmill-crowd.blargon7.com/#/functional/report/180cf2548ef2865af3ae441d61ed828a
http://mozmill-crowd.blargon7.com/#/functional/report/180cf2548ef2865af3ae441d61edc379
Assignee: nobody → mario.garbi
Status: NEW → ASSIGNED
Attachment #780989 -
Flags: review?(andreea.matei)
| Assignee | ||
Comment 3•12 years ago
|
||
Wrong patch, uploaded the right one now.
Attachment #780989 -
Attachment is obsolete: true
Attachment #780989 -
Flags: review?(andreea.matei)
Attachment #780990 -
Flags: review?(andreea.matei)
Comment 4•12 years ago
|
||
Comment on attachment 780990 [details] [diff] [review]
australistTabs_2507.patch
Review of attachment 780990 [details] [diff] [review]:
-----------------------------------------------------------------
While this looks good regarding the new updates, we still have some work to do here.
Cosmin or Andrei, could one of you please work on this since Mario is still in PTO? Thanks!
::: lib/toolbars.js
@@ +21,3 @@
> const URLBAR_INPUTBOX = URLBAR_CONTAINER + '/id("urlbar")' +
> '/anon({"anonid":"textbox-container"})' +
> '/anon({"anonid":"textbox-input-box"})';
This is not fixing bug 874394 with the latest australis build. I see we have another 'urlbar-wrapper' id before 'urlbar' and still something failing with the context menu.
http://mozmill-crowd.blargon7.com/#/functional/report/b3aefd29a5c41bda1cc43616d3820276
::: lib/utils.js
@@ +161,4 @@
>
> + switch (aSpec) {
> + case "search" :
> + nodeElem = (this.isAustralis()) ? '/id("nav-bar-customizationtarget")' : "";
Not sure if "search" is the right case name here, from what I see "nav-bar-customizationtarget" represents the whole navbar including location bar, navigation buttons, search bar, download and bookmark star buttons.
Attachment #780990 -
Flags: review?(andreea.matei) → review-
Comment 5•12 years ago
|
||
Renamed "search" to "nav-bar-wrapper".
Also fixed the context-manu fail (tracked in bug 899943) by waiting the tab to load properly, by waiting on the disappearance of the "busy" tag.
The fix appears to be working reliably.
Attachment #780990 -
Attachment is obsolete: true
Attachment #783733 -
Flags: review?(andreea.matei)
Comment 6•12 years ago
|
||
And some testruns with the new patch:
Nightly
=======
OSX: http://mozmill-crowd.blargon7.com/#/functional/report/b3aefd29a5c41bda1cc43616d3bcec14
http://mozmill-crowd.blargon7.com/#/functional/report/b3aefd29a5c41bda1cc43616d3bce03e
Windows: http://mozmill-crowd.blargon7.com/#/functional/report/b3aefd29a5c41bda1cc43616d3bebd6d
http://mozmill-crowd.blargon7.com/#/functional/report/b3aefd29a5c41bda1cc43616d3bea83e
UX
==
OSX: http://mozmill-crowd.blargon7.com/#/functional/report/b3aefd29a5c41bda1cc43616d3bc8add
http://mozmill-crowd.blargon7.com/#/functional/report/b3aefd29a5c41bda1cc43616d3bbf879
Windows: http://mozmill-crowd.blargon7.com/#/functional/report/b3aefd29a5c41bda1cc43616d3bf9fa1
http://mozmill-crowd.blargon7.com/#/functional/report/b3aefd29a5c41bda1cc43616d3bf139d
Comment 7•12 years ago
|
||
Comment on attachment 783733 [details] [diff] [review]
3.patch
Review of attachment 783733 [details] [diff] [review]:
-----------------------------------------------------------------
One more thing and we're good to land this :)
::: lib/tabs.js
@@ +129,5 @@
> */
> set selectedIndex(index) {
> + var tab = this.getTab(index);
> + assert.waitFor(function() {
> + return !!tab.getNode().getAttribute("busy") !== true;
I think we can simplify this and wait for !tab.getNode().hasAttribute("busy"), this is how it's used on tests from mxr.
Attachment #783733 -
Flags: review?(andreea.matei) → review-
Comment 8•12 years ago
|
||
Ok, lets this landed.
It works fine with just checking the availability of the busy attribute.
Searched through the code and it is never set to false.
Attachment #783733 -
Attachment is obsolete: true
Attachment #784357 -
Flags: review?(andreea.matei)
Comment 9•12 years ago
|
||
BTW. passing testrun on UX with the new 'busy' attribute check:
OSX: http://mozmill-crowd.blargon7.com/#/functional/report/b3aefd29a5c41bda1cc43616d3ee23e1
http://mozmill-crowd.blargon7.com/#/functional/report/b3aefd29a5c41bda1cc43616d3ed7df3
Comment 10•12 years ago
|
||
Comment on attachment 784357 [details] [diff] [review]
4.patch
Review of attachment 784357 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good:
http://hg.mozilla.org/qa/mozmill-tests/rev/4a76da6bfff0 (default)
Thanks Mario and Andrei :)
Attachment #784357 -
Flags: review?(andreea.matei) → review+
Updated•12 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
status-firefox25:
--- → fixed
Resolution: --- → FIXED
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
•