Closed Bug 581037 Opened 14 years ago Closed 14 years ago

[mozmill] Unknown entity failure in testNewTab.js (default)

Categories

(Mozilla QA Graveyard :: Mozmill Tests, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: aaronmt, Assigned: aaronmt)

References

()

Details

(Keywords: regression, Whiteboard: [mozmill-test-failure])

Attachments

(1 file, 5 obsolete files)

MODULE: /firefox/testTabbedBrowsing/testNewTab     
TEST: testNewTab.js
FAIL: getEntity: Unknown entity - newTab.label
BRANCH: default

This is most likely a result of the tab animation in 4.0, see bug 578373
No, it's a regression from the context menu removal on bug 579720. We should use the entry from the properties file instead. Aaron, do you wanna do that quick and straight forward fix?
OS: Mac OS X → All
Hardware: x86 → All
No longer depends on: 578373
Attached patch Entity to Properties fix (obsolete) — Splinter Review
Assignee: nobody → aaron.train
Status: NEW → ASSIGNED
Attachment #459458 - Flags: review?(hskupin)
Attached patch Updates comment (obsolete) — Splinter Review
Updates comment from 'Untitled' to 'New Tab'
Attachment #459458 - Attachment is obsolete: true
Attachment #459460 - Flags: review?(hskupin)
Attachment #459458 - Flags: review?(hskupin)
Comment on attachment 459460 [details] [diff] [review]
Updates comment

>+  var title = UtilsAPI.getProperty(["chrome://browser/locale/tabbrowser.properties"],
>+                                  "tabs.emptyTabTitle");

Nit: Please check for the correct indentation the next time. I will fix it now. r=me.

Please also create a backport fix for 1.9.2 and 1.9.1.
Attachment #459460 - Flags: review?(hskupin) → review+
Attached patch Backport 1.9.1/1.9.2 (obsolete) — Splinter Review
Attachment #459465 - Flags: review?(hskupin)
Attached patch Backport 1.9.1 (obsolete) — Splinter Review
Attachment #459465 - Attachment is obsolete: true
Attachment #459467 - Flags: review?(hskupin)
Attachment #459465 - Flags: review?(hskupin)
Attached patch Backport 1.9.2 (obsolete) — Splinter Review
Attachment #459468 - Flags: review?(hskupin)
Attachment #459494 - Flags: review?(hskupin)
Attachment #459494 - Flags: review?(hskupin) → review+
Comment on attachment 459468 [details] [diff] [review]
Backport 1.9.2

>-  // The tabs title should be 'Untitled'
>+  // The tabs title should be 'New Tab'
>   var title = UtilsAPI.getProperty("chrome://browser/locale/tabbrowser.properties",
>-                                   "tabs.untitled");
>+                                   "tabs.emptyTabTitle");

Sure, that you wanted to have this for 1.9.2? I can't find emptyTabTitle at all on mozilla1.9.2:
http://mxr.mozilla.org/mozilla1.9.2/search?string=emptyTabTitle

Also it should be Untitled and not New Tab.
Attachment #459468 - Flags: review?(hskupin) → review-
Comment on attachment 459467 [details] [diff] [review]
Backport 1.9.1

Same here. I assume you mixed up your patches.
Attachment #459467 - Flags: review?(hskupin) → review-
Attachment #459460 - Attachment is obsolete: true
Component: Tabbed Browser → Mozmill
Product: Firefox → Testing
QA Contact: tabbed.browser → mozmill
Dao, those tests are for tabbed browsing and not for the Mozmill product. It's the same as all the other automated tests.

(In reply to comment #11)
> Some confusion here, 1.9.1 and 1.9.2 already read from property files.

That's even better. I will check-in the default patch.
Assignee: aaron.train → nobody
Component: Mozmill → Tabbed Browser
Product: Testing → Firefox
QA Contact: mozmill → tabbed.browser
Landed on default as:
http://hg.mozilla.org/qa/mozmill-tests/rev/dea6672ec407
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Assignee: nobody → aaron.train
Attachment #459467 - Attachment is obsolete: true
Attachment #459468 - Attachment is obsolete: true
We don't need tabbed.browser@firefox.bugs people to read this stuff. It's not a bug in tabbrowser, the code is in the mozmill tree and not managed by tabbrowser people.
Component: Tabbed Browser → Mozmill
Product: Firefox → Testing
QA Contact: tabbed.browser → mozmill
(In reply to comment #14)
> We don't need tabbed.browser@firefox.bugs people to read this stuff. It's not a
> bug in tabbrowser, the code is in the mozmill tree and not managed by
> tabbrowser people.

So you create bugs for failures in existent Mochitests in the Mochitest component? I have never seen that. Please give me references for that! Mozmill tests are tests which are already present in mozilla-central and will also be handled there in the near future. That absolutely qualifies the tabbrowser component.
(In reply to comment #15)
> (In reply to comment #14)
> > We don't need tabbed.browser@firefox.bugs people to read this stuff. It's not a
> > bug in tabbrowser, the code is in the mozmill tree and not managed by
> > tabbrowser people.
> 
> So you create bugs for failures in existent Mochitests in the Mochitest
> component?

No, I don't, I file them in Firefox:Tabbed Browser, for instance, so that the people managing the tests (e.g. those watching tabbed.browser@firefox.bugs) know about it. Note that: People managing these tests and people managing tabbrowser code are the same; they are distinct from those managing mozmill tests.

If however a mozmill test reveals a tabbrowser bug, that's a different story, because then we do need tabbrowser people to know about it.
(In reply to comment #16)
> > So you create bugs for failures in existent Mochitests in the Mochitest
> > component?
> 
> No, I don't, I file them in Firefox:Tabbed Browser, for instance, so that the
> people managing the tests (e.g. those watching tabbed.browser@firefox.bugs)
> know about it. Note that: People managing these tests and people managing
> tabbrowser code are the same; they are distinct from those managing mozmill
> tests.

Well, Mozmill is just another test framework beside Mochitest and others. Those tests should also be placed in the relevant product/component they belong to. We shouldn't make a difference here, even they are located and managed in another repository for now. Means tests for the tab browser should end up in Firefox:Tabbed Browser, or tests related to security in Firefox:Security.

Testing:Mozmill is the product (framework) itself and is similar to Testing:Mochitest. It has nothing to do with the tests we are writing for specific components of Firefox. 

> If however a mozmill test reveals a tabbrowser bug, that's a different story,
> because then we do need tabbrowser people to know about it.

Test creation and solving failures should all be handled in the same component. So I'm not sure, why you do not want to have those in tabbrowser. You can simply filter them out, but others can be interested in.

If we can't make a clear decision here, I will start a newsgroup thread on that topic. Further discussions shouldn't clutter this bug.
(In reply to comment #17)
> Well, Mozmill is just another test framework beside Mochitest and others. Those
> tests should also be placed in the relevant product/component they belong to.
> [...]

You seem to ignore my argument that the QA contact is different? Different people are managing that stuff, we should differentiate when notifying them.

> So I'm not sure, why you do not want to have those in tabbrowser. You can
> simply filter them out, but others can be interested in.

Where would I filter them out? I can watch tabbed.browser@firefox.bugs in <https://bugzilla.mozilla.org/userprefs.cgi?tab=email>, but it doesn't look like I could exclude [mozmill] there. Obviously I wouldn't want to drop [mozmill] e-mails from my inbox in general, as this would affect bugs I'm actually CC'd on.
(In reply to comment #18)
> > Well, Mozmill is just another test framework beside Mochitest and others. Those
> > tests should also be placed in the relevant product/component they belong to.
> > [...]
> 
> You seem to ignore my argument that the QA contact is different? Different
> people are managing that stuff, we should differentiate when notifying them.

So we can move it to Firefox:Tabbed Browser but leave the qa contact at  	
mozmill@testing.bugs. Would that be an option for you?
Sounds good to me.
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: Mozmill → Mozmill Tests
Product: Testing → Mozilla QA
QA Contact: mozmill → mozmill-tests
Version: Trunk → unspecified
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: