Closed Bug 671817 Opened 13 years ago Closed 13 years ago

All l10n assertions have the same message "unknown failure"

Categories

(Mozilla QA Graveyard :: Mozmill Result Dashboard, defect)

defect
Not set
major

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: Aleksej, Assigned: whimboo)

References

Details

(Whiteboard: [testday-20110715])

Attachments

(1 file)

Before bug 668763 was fixed, all assertions had no messages, now all messages are “unknown failure”: http://mozmill-crowd.brasstacks.mozilla.com/#/l10n/report/ca2afbf1bd5ce4e8e57d4acd642c2b86
A failure with our new assertion methods looks like:

"fail": {
  "function": "checkDimensions",
  "message": "Node is cut off at the bottom: id: networkTab. Parent node: id: tabsElement",
  "lineNumber": 175,
  "fileName": "file:///tmp/tmpLnR5GZ.mozmill-tests/lib/localization.js"
}

That means there is no exception object included and we can simply access the message and the other information directly.
Assignee: nobody → hskupin
Status: NEW → ASSIGNED
OS: Linux → All
Hardware: x86_64 → All
My fault. Instead of 'exception' we will have 'fail'. I will update all views to match that code.
Summary: All l10n assertions have the same message "unknown failure" → Update handling of failure messages to support the new assertion methods
Attached patch Patch v1Splinter Review
Just uses the fail property now. A working example you can see here:
http://mozmill-archive.brasstacks.mozilla.com/#/l10n/report/ca2afbf1bd5ce4e8e57d4acd642ca368
Attachment #546182 - Flags: review?(dave.hunt)
Lets keep this bug for the l10n assertions only. I will file a new one for all the other views.
Summary: Update handling of failure messages to support the new assertion methods → All l10n assertions have the same message "unknown failure"
Attachment #546182 - Flags: review?(dave.hunt) → review+
Landed as:
https://github.com/whimboo/mozmill-dashboard/commit/69e43008753a48e4096ea2850e105d73e16fee27

Pushed to all dashboard instances.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Thanks, verified.
Status: RESOLVED → VERIFIED
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: