@@ -159,21 +159,17 @@ function showOutput(id, name) {
159159<p  class =" attribute" strong >Start Time:</strong > {{ start_time }}</p >
160160<p  class =" attribute" strong >Duration:</strong > {{ duration }}</p >
161161<p  class =" attribute" strong >Status:</strong > 
162-     Total: {{ stats.total }}
163-     Pass: {{ stats.passes }}
164-     Skip: {{ stats.skipped }}
165-     Failures: {{ stats.failures }}
166-     Errors: {{ stats.errors}}</p >
162+     Total: {{ stats.total }} 
163+     Pass: {{ stats.passes }} 
164+     Skip: {{ stats.skipped }} 
165+     Failures: {{ stats.failures }} 
166+     Errors: {{ stats.errors}} 
167+     </p >
167168
168169</div >
169170
170171
171172
172- <p  id =" show_detail_line" 
173- <a  href =" javascript:showCase(0)" a >
174- <a  href =" javascript:showCase(1)" a >
175- <a  href =" javascript:showCase(2)" a >
176- </p >
177173<table  id =" result_table" 
178174<colgroup >
179175<col  align =" left" 
@@ -228,8 +224,14 @@ function showOutput(id, name) {
228224            {%  set  test_status ="Error"  %} 
229225        {% - endif  %} 
230226        {% - set  description  = test .shortDescription  -%} 
227+         
228+         {%  if  test_status =="Pass"  or  test_status =="Skip"  %} 
229+             <tr  id =' {{ class + test.name }}' class =' testcase' style =' display none ;' 
230+         {% - else  -%} 
231+             <tr  id =' {{ class + test.name }}' class =' testcase' 
232+         {% - endif  %} 
233+ 
231234
232-         <tr  id =' {{ class + test.name }}' class =' testcase' 
233235            <td  class =" {{ test_status.lower() }}Case" 
234236                {{ test.name }}
235237                {%  if  test .shortDescription  %} 
@@ -258,7 +260,90 @@ function showOutput(id, name) {
258260        {% - endfor  -%} 
259261    {% - endfor  -%} 
260262
263+ <!-- 
264+ <tr class="passClass"> 
265+     <td>SalesForce: Sales Force QueueSize Check</td> 
266+     <td>1</td> 
267+     <td>1</td> 
268+     <td>0</td> 
269+     <td>0</td> 
270+     <td><a href="javascript:showClassDetail('c1',1)">Detail</a></td> 
271+ </tr> 
272+ 
273+ <tr id="pt1.1" class="hiddenRow"> 
274+     <td class="none"><div class="testcase">test_ASG1: Salesforce Queue Size for ASG-1</div></td> 
275+     <td colspan="5" align="center">pass</td> 
276+ </tr> 
277+ 
278+ <tr class="failClass"> 
279+     <td>AmazonEvents: AWS events check</td> 
280+     <td>2</td> 
281+     <td>1</td> 
282+     <td>1</td> 
283+     <td>0</td> 
284+     <td><a href="javascript:showClassDetail('c2',2)">Detail</a></td> 
285+ </tr> 
286+ 
287+ <tr id="pt2.1" class="hiddenRow"> 
288+     <td class="none"><div class="testcase">test_check_aws_events: Check amazon instances events</div></td> 
289+     <td colspan="5" align="center">pass</td> 
290+ </tr> 
291+ 
292+ <tr id="ft2.2" class="none"> 
293+     <td class="failCase"><div class="testcase">test_prepaid_aws_instance: Check pre-paid aws instances</div></td> 
294+     <td colspan="5" align="center"> 
261295
296+     <!-css div popup start-> 
297+     <a class="popup_link" onfocus="this.blur();" href="javascript:showTestDetail('div_ft2.2')"> 
298+         fail</a> 
299+ 
300+     <div id="div_ft2.2" class="popup_window"> 
301+         <div style="text-align: right; color:red;cursor:pointer"> 
302+         <a onfocus="this.blur();" onclick="document.getElementById('div_ft2.2').style.display = 'none' "> 
303+            [x]</a> 
304+         </div> 
305+         <pre> 
306+          
307+ ft2.2: AssertionError: { 
308+     "us-west-1": { 
309+         "c4.8xlarge": { 
310+             "count": 21,  
311+             "name": [ 
312+                 "canary273a-copes1-aca.rtc.citrixonline.com",  
313+                 "canary273a-copes2-aca.rtc.citrixonline.com",  
314+                 "canary273a-edge5-aca.rtc.citrixonline.com",  
315+                 "canary273a-edge6-aca.rtc.citrixonline.com",  
316+                 "canary273a-edge7-aca.rtc.citrixonline.com",  
317+                 "canary273a-edge8-aca.rtc.citrixonline.com",  
318+                 "canary273a-edge9-aca.rtc.citrixonline.com",  
319+                 "canary273a-manager1-aca.rtc.citrixonline.com",  
320+                 "canary273a-manager2-aca.rtc.citrixonline.com",  
321+                 "canary273a-mixer1-aca.rtc.citrixonline.com",  
322+                 "canary273a-mixer2-aca.rtc.citrixonline.com",  
323+                 "canary273b-copes1-aca.rtc.citrixonline.com",  
324+                 "canary273b-copes2-aca.rtc.citrixonline.com",  
325+                 "canary273b-edge1-aca.rtc.citrixonline.com",  
326+                 "canary273b-edge2-aca.rtc.citrixonline.com",  
327+                 "canary273b-edge3-aca.rtc.citrixonline.com",  
328+                 "canary273b-edge4-aca.rtc.citrixonline.com",  
329+                 "canary273b-edge5-aca.rtc.citrixonline.com",  
330+                 "canary273b-manager1-aca.rtc.citrixonline.com",  
331+                 "canary273b-manager2-aca.rtc.citrixonline.com",  
332+                 "canary273b-mixer1-aca.rtc.citrixonline.com" 
333+             ],  
334+             "error": 1 
335+         } 
336+     } 
337+ } 
338+ 
339+ 
340+         </pre> 
341+     </div> 
342+     <!-css div popup end-> 
343+ 
344+     </td> 
345+ </tr> 
346+ --> 
262347<tr  id =" total_row" 
263348    <td >Total</td >
264349    <td >13</td >
0 commit comments