]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - tests/PHPUnit/Extensions/Story/ResultPrinter/Template/scenarios.html.dist
Added unit tests.
[Github/sugarcrm.git] / tests / PHPUnit / Extensions / Story / ResultPrinter / Template / scenarios.html.dist
1 <html>
2  <head>
3   <style type ="text/css">
4   body { font-family: Andale Mono, monospace; }
5   .header { font-size: large; font-weight: bold; }
6   .scenarioSuccess { color: green; }
7   .scenario { color: black; }
8   .scenarioFailed { color: red; }
9   .scenarioSkipped { color: teal; }
10   .scenarioIncomplete { color: gray; }
11   .scenarioStepsTable { margin-left: 10px; display: none; }
12   .stepName { }
13   </style>
14   <script type="text/javascript">
15   function showHide(nodeId, linkObj)
16   {
17     var subObj = document.getElementById('stepContainer' + nodeId);
18
19     if (linkObj.innerHTML.indexOf('+')>0) {
20       linkObj.innerHTML = linkObj.innerHTML.replace('+','-');
21       subObj.style.display='block';
22       subObj.style.width = '100%';
23     } else {
24       linkObj.innerHTML = linkObj.innerHTML.replace('-','+');
25       subObj.style.display='none';
26     }
27   }
28   </script>
29  </head>
30  <body>
31   <table border="0">
32 {scenarios}
33    <tr>
34     <td>
35      <p style="margin-top: 20px;" id="Summary" onclick="showHide('Summary', this)">[+] Summary:</p>
36      <div style="margin-left: 10px; display:none" id="stepContainerSummary">
37       <table border="0">
38        <tr>
39         <td width="250" class="scenarioSuccess">Successful scenarios:</td>
40         <td class="scenarioSuccessValue">{successfulScenarios}</td>
41        </tr>
42        <tr>
43         <td class="scenarioFailed">Failed scenarios:</td>
44         <td class="scenarioFailedValue">{failedScenarios}</td>
45        </tr>
46        <tr>
47         <td class="scenarioSkipped">Skipped scenarios:</td>
48         <td class="scenarioSkippedValue">{skippedScenarios}</td>
49        </tr>
50        <tr>
51         <td class="scenarioIncomplete">Incomplete scenarios:</td>
52         <td class="scenarioIncompleteValue">{incompleteScenarios}</td>
53        </tr>
54       </table>
55      </div>
56     </td>
57    </tr>
58   </table>
59  </body>
60 </html>