Make it easy to copy the title of failing specs

[finish #58121820]
This commit is contained in:
Gregg Van Hove and Tim Jarratt
2013-10-02 15:14:41 -07:00
parent 51dd66a4cc
commit fc258b3d36
5 changed files with 16 additions and 11 deletions

View File

@@ -81,7 +81,9 @@ jasmineRequire.HtmlReporter = function(j$) {
var failure =
createDom("div", {className: "spec-detail failed"},
createDom("a", {className: "description", title: result.fullName, href: specHref(result)}, result.fullName),
createDom("div", {className: "description"},
createDom("a", {title: result.fullName, href: specHref(result)}, result.fullName)
),
createDom("div", {className: "messages"})
);
var messages = failure.childNodes[1];

View File

@@ -288,13 +288,11 @@ body {
margin-bottom: $line-height * 2;
.description {
//line-height: $line-height * 2;
display: block;
color: white;
background-color: $failing-color;
//font-size: $large-font-size;
a {
color: white;
}
}
}
}
@@ -303,7 +301,7 @@ body {
padding-top: $line-height;
color: $text-color;
white-space: pre;
}