4 new revisions:
Revision: 991225d61de5
Author: Jussi Malinen
Date: Wed Jun 15 04:54:53 2011
Log: set title
http://code.google.com/p/robotframework/source/detail?r=991225d61de5
Revision: 54379409e704
Author: Jussi Malinen
Date: Wed Jun 15 05:36:56 2011
Log: link to log from details header in suites
http://code.google.com/p/robotframework/source/detail?r=54379409e704
Revision: 85cada4287ee
Author: Jussi Malinen
Date: Wed Jun 15 05:37:44 2011
Log: log title set dynamically. Also fixed unescaping bug in Safari
that pr...
http://code.google.com/p/robotframework/source/detail?r=85cada4287ee
Revision: 424ed4de86db
Author: Jussi Malinen
Date: Wed Jun 15 05:38:18 2011
Log: merge
http://code.google.com/p/robotframework/source/detail?r=424ed4de86db
==============================================================================
Revision: 991225d61de5
Author: Jussi Malinen
Date: Wed Jun 15 04:54:53 2011
Log: set title
http://code.google.com/p/robotframework/source/detail?r=991225d61de5
Modified:
/src/robot/webcontent/report.html
=======================================
--- /src/robot/webcontent/report.html Wed Jun 15 04:28:20 2011
+++ /src/robot/webcontent/report.html Wed Jun 15 04:54:53 2011
@@ -246,7 +246,7 @@
}
function setDocumentTitle(suite){
- document.title = document.title.replace("[SUITE_NAME]",
suite.name, "g");
+ document.title = document.title.replace("[SUITE_NAME]",
window.settings.title, "g");
}
// TODO: This is duplicated in log.html
==============================================================================
Revision: 54379409e704
Author: Jussi Malinen
Date: Wed Jun 15 05:36:56 2011
Log: link to log from details header in suites
http://code.google.com/p/robotframework/source/detail?r=54379409e704
Modified:
/src/robot/webcontent/report.html
=======================================
--- /src/robot/webcontent/report.html Wed Jun 15 04:54:53 2011
+++ /src/robot/webcontent/report.html Wed Jun 15 05:36:56 2011
@@ -158,7 +158,7 @@
function renderDetailsBySuite(name) {
var suite = testdata.suite().findSuiteByName(name);
- $.tmpl(window.templates.suiteDetails,
suite).appendTo('#details_header');
+ $.tmpl(window.templates.suiteDetails, suite, {logURL:
window.settings.logURL}).appendTo('#details_header');
drawTestDetailsTable(suite.allTests())
}
@@ -483,6 +483,12 @@
</script>
<script type="text/html" id="suite_details">
+ {{if $item.logURL}}
+ <tr>
+ <th></th>
+ <td><a href="${$item.logURL}#suite_${fullname}"
id="suite_${fullname}" title="${fullname}">See log</a></td>
+ </tr>
+ {{/if}}
{{if documentation}}
<tr>
<th>Documentation:</th>
==============================================================================
Revision: 85cada4287ee
Author: Jussi Malinen
Date: Wed Jun 15 05:37:44 2011
Log: log title set dynamically. Also fixed unescaping bug in Safari
that prevented hash anchros from working
http://code.google.com/p/robotframework/source/detail?r=85cada4287ee
Modified:
/src/robot/webcontent/log.html
=======================================
--- /src/robot/webcontent/log.html Wed Jun 15 01:12:34 2011
+++ /src/robot/webcontent/log.html Wed Jun 15 05:37:44 2011
@@ -91,20 +91,20 @@
var uuids = [];
if (element.indexOf("suite_")==0) {
element = element.substring("suite_".length);
- uuids = window.testdata.pathToSuite(element);
+ uuids = window.testdata.pathToSuite(unescape(element));
}
if (element.indexOf("test_")==0) {
element = element.substring("test_".length);
- uuids = window.testdata.pathToTest(element);
+ uuids = window.testdata.pathToTest(unescape(element));
}
if (element.indexOf("keyword_")==0) {
element = element.substring("keyword_".length);
- uuids = window.testdata.pathToKeyword(element);
+ uuids = window.testdata.pathToKeyword(unescape(element));
}
for (var i in uuids) {
$("#"+uuids[i]+"_unfoldlink").click();
}
- if (uuids && uuids.length >= 1) {
+ if (uuids && uuids.length > 0) {
expandFailed(window.testdata.find(uuids[uuids.length-1]));
}
}
@@ -119,7 +119,7 @@
}
function setDocumentTitle(suite){
- document.title = document.title.replace("[SUITE_NAME]",
suite.name, "g");
+ document.title = document.title.replace("[SUITE_NAME]",
window.settings.title, "g");
}
function initTemplates() {
==============================================================================
Revision: 424ed4de86db
Author: Jussi Malinen
Date: Wed Jun 15 05:38:18 2011
Log: merge
http://code.google.com/p/robotframework/source/detail?r=424ed4de86db