Closed
Bug 874394
Opened 12 years ago
Closed 12 years ago
Test failure in '/testAwesomeBar/testPasteLocationBar.js' due to the urlbar-container not being 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
(2 files, 1 obsolete file)
4.74 KB,
text/plain
|
Details | |
1.37 KB,
patch
|
Details | Diff | Splinter Review |
The test: /testAwesomeBar/testPasteLocationBar.js fails on all OS with Australis build
Fails due to line: http://hg.mozilla.org/qa/mozmill-tests/file/05730582186d/lib/toolbars.js#l18
URLBAR_CONTAINER needs to contain: 'id("nav-bar-customizationtarget")' since this is the element that contains the urlbar-container. The line should be changed to:
const URLBAR_CONTAINER = '/id("main-window")/id("tab-view-deck")/[0]' +
'/id("navigator-toolbox")/id("nav-bar")/id("nav-bar-customizationtarget")/id("urlbar-container")';
NOTE: The changing of the line should be done only if nodeCollector cannot be used instead of the Lookup expression
Updated•12 years ago
|
Priority: -- → P1
![]() |
Reporter | |
Comment 1•12 years ago
|
||
This change is intentional due per bug 864355 where almost all nav-bar needs to be included under the customization target.
Comment 2•12 years ago
|
||
Bug 864355 is about a different thing, and I don't see the connection to this failure. Here we simply have a new container around the navbar items.
![]() |
Reporter | |
Comment 3•12 years ago
|
||
(In reply to Henrik Skupin (:whimboo) from comment #2)
> Bug 864355 is about a different thing, and I don't see the connection to
> this failure. Here we simply have a new container around the navbar items.
The new container around the navbar items was introduced in bug 864355. Please see attached patch for that bug that landed as: https://hg.mozilla.org/projects/ux/rev/7105d3282462. The failure in this bug appears because we cannot find the element (due to the container around the navbar).
Based on bug 874341 comment #6, we needed to figure out if these changes are intentional or not, but we still need to figure out if nodeCollector can be used instead of Lookup expression here.
![]() |
||
Updated•12 years ago
|
Whiteboard: [mozmill-test-failure][australis] → [mozmill-test-failure][australis][sprint2013-35]
![]() |
Assignee | |
Comment 4•12 years ago
|
||
Testcase as requested in Ask an Expert meeting:
Steps:
1.Open ../data/awesomebar/copypaste.html
2.Select a piece of text
3.Copy in clipboard the selected text
4.Select and clear the locationBar
5.Rightclick on the locationBar to bring up the contextMenu
6.Select "Paste" from the contextMenu
7.Check that the text copied correctly to the locationBar
I managed to get the nodes up to ".box-inherit scrollbox-innerbox" but we can't seem to gather the menuItems ("cmd", "cmd_paste").
Comment 5•12 years ago
|
||
I think a running testcase was asked for.
As in a js file that you can run with mozmill.
![]() |
Assignee | |
Updated•12 years ago
|
Assignee: nobody → mario.garbi
![]() |
Assignee | |
Updated•12 years ago
|
Status: NEW → ASSIGNED
![]() |
Assignee | |
Comment 6•12 years ago
|
||
The autonomous test that copies a text and tries to paste it in the location bar using the context menu.
Attachment #773984 -
Flags: review?(hskupin)
Comment 7•12 years ago
|
||
Comment on attachment 773984 [details]
test file
Please do not ask for review on a temporary test. If you want immediate feedback raise the needinfo flag. Also make sure that you attach tests as text/plain.
Attachment #773984 -
Attachment mime type: application/javascript → text/plain
Attachment #773984 -
Flags: review?(hskupin)
Comment 8•12 years ago
|
||
I don't know either. nodeCollector just has a wrapper around getAnonymousElementByAttribute. So you might want to get in touch with the developer as usual under those conditions.
http://hg.mozilla.org/mozilla-central/annotate/79439df5bf5d/browser/base/content/urlbarBindings.xml#l70
![]() |
Assignee | |
Comment 9•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 10•12 years ago
|
||
This patch handles the Australis node once we land the blocker 874393 that introduces the library elements.
Attachment #779217 -
Flags: review?(andreea.matei)
![]() |
Assignee | |
Comment 11•12 years ago
|
||
Comment on attachment 779217 [details] [diff] [review]
australis_toolbar.patch
I removed the review request as I needed to make a few small changes to it, I will reupload a patch with reports as soon as possible today.
Attachment #779217 -
Flags: review?(andreea.matei)
![]() |
Assignee | |
Comment 12•12 years ago
|
||
This patch adds an utils function to the Lookup that handles the Australis builds properly.
Mac:
Nightly
http://mozmill-crowd.blargon7.com/#/functional/report/180cf2548ef2865af3ae441d61cb956a
http://mozmill-crowd.blargon7.com/#/functional/report/180cf2548ef2865af3ae441d61cc3907
UX
http://mozmill-crowd.blargon7.com/#/functional/report/180cf2548ef2865af3ae441d61cb0197
http://mozmill-crowd.blargon7.com/#/functional/report/180cf2548ef2865af3ae441d61cb099c
Linux:
Nightly
http://mozmill-crowd.blargon7.com/#/functional/report/180cf2548ef2865af3ae441d61cb6ed8
http://mozmill-crowd.blargon7.com/#/functional/report/180cf2548ef2865af3ae441d61cb58a2
UX
http://mozmill-crowd.blargon7.com/#/functional/report/180cf2548ef2865af3ae441d61cb2d8d
http://mozmill-crowd.blargon7.com/#/functional/report/180cf2548ef2865af3ae441d61cb0785
WinXP:
Nightly
http://mozmill-crowd.blargon7.com/#/functional/report/180cf2548ef2865af3ae441d61cb0e88
http://mozmill-crowd.blargon7.com/#/functional/report/180cf2548ef2865af3ae441d61cb01b0
UX
http://mozmill-crowd.blargon7.com/#/functional/report/180cf2548ef2865af3ae441d61cb352d
http://mozmill-crowd.blargon7.com/#/functional/report/180cf2548ef2865af3ae441d61cb4cd5
Attachment #779217 -
Attachment is obsolete: true
Attachment #780388 -
Flags: review?(andreea.matei)
![]() |
Assignee | |
Comment 13•12 years ago
|
||
Comment on attachment 780388 [details] [diff] [review]
australis_toolbar_2407.patch
I will add the fix patch for both of them in Bug 874395.
Attachment #780388 -
Flags: review?(andreea.matei)
![]() |
Assignee | |
Updated•12 years ago
|
![]() |
||
Comment 14•12 years ago
|
||
This was fixed now in bug 874395.
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
•