Closed
Bug 621214
Opened 14 years ago
Closed 13 years ago
Find a way to check properties of treeView rows
Categories
(Mozilla QA Graveyard :: Mozmill Tests, defect)
Mozilla QA Graveyard
Mozmill Tests
Tracking
(Not tracked)
VERIFIED
DUPLICATE
of bug 516997
People
(Reporter: davehunt, Unassigned)
Details
(Whiteboard: [lib])
The Selenium IDE add-on uses properties on rows in a treeView to indicate test cases that have passed. It would be ideal if we could somehow check that these styles have been applied.
Property is set in Selenium IDE using:
getRowProperties: function(row, props) {
if (this.selection.isSelected(row)) return;
var testCase = this.getTestSuite().tests[row];
if (testCase.testResult) {
if (testCase.testResult == 'passed') {
props.AppendElement(XulUtils.atomService.getAtom("commandPassed"));
} else if (testCase.testResult == 'failed') {
props.AppendElement(XulUtils.atomService.getAtom("commandFailed"));
}
}
},
Style is then applied in the CSS using:
treechildren::-moz-tree-row(commandPassed)
{
background-color: #CCFFCC;
}
Comment 2•13 years ago
|
||
Basically a dupe of bug 516997.
Status: NEW → RESOLVED
Closed: 13 years ago
Component: Mozmill Tests → Mozmill Shared Modules
QA Contact: mozmill-tests → mozmill-shared-modules
Resolution: --- → DUPLICATE
Updated•13 years ago
|
Component: Mozmill Shared Modules → Mozmill Tests
Updated•13 years ago
|
Whiteboard: [lib]
Updated•5 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
•