1212 .summary-content { { display : flex; gap : 30px ; align-items : center; }}
1313 .stats-column { { flex : 1 ; }}
1414 .chart-column { { flex : 0 0 300px ; text-align : center; }}
15- .stats { { display : grid; grid-template-columns : repeat (2 , 1fr ); gap : 15px ; }}
16- .stat-item { { background : white; padding : 15px ; border-radius : 8px ; text-align : center; border-left : 4px solid # 007bff ; }}
17- .stat-item .success { { border-left-color : # 28a745 ; }}
18- .stat-item .failure { { border-left-color : # dc3545 ; }}
15+ .summary-table { { width : 60% ; border-collapse : collapse; margin : 20px 0 ; }}
16+ .summary-table td { { padding : 12px ; text-align : left; border-bottom : 1px solid # ddd ; }}
17+ .summary-table .success { { color : # 28a745 ; font-weight : bold; }}
18+ .summary-table .failure { { color : # dc3545 ; font-weight : bold; }}
19+ .summary-table .neutral { { color : # 007bff ; font-weight : bold; }}
1920 .collapsible { { background-color : # 007bff ; color : white; cursor : pointer; padding : 15px ; border : none; text-align : left; outline : none; font-size : 16px ; border-radius : 5px ; margin : 5px 0 ; width : 100% ; }}
2021 .collapsible : hover { { background-color : # 0056b3 ; }}
2122 .collapsible .active { { background-color : # 0056b3 ; }}
@@ -38,32 +39,20 @@ <h1>🧪 Q CLI E2E Test Report</h1>
3839 < h2 > 📊 Summary</ h2 >
3940 < div class ="summary-content ">
4041 < div class ="stats-column ">
41- < div class ="stats ">
42- < div class ="stat-item success ">
43- < h3 > {success_rate}%</ h3 >
44- < p > Success Rate</ p >
45- </ div >
46- < div class ="stat-item ">
47- < h3 > {total_features}</ h3 >
48- < p > Features Tested</ p >
49- </ div >
50- < div class ="stat-item success ">
51- < h3 > {features_100_pass}</ h3 >
52- < p > Features 100% Pass</ p >
53- </ div >
54- < div class ="stat-item failure ">
55- < h3 > {features_failed}</ h3 >
56- < p > Features with Failures</ p >
57- </ div >
58- < div class ="stat-item success ">
59- < h3 > {tests_passed}</ h3 >
60- < p > Tests Passed</ p >
61- </ div >
62- < div class ="stat-item failure ">
63- < h3 > {tests_failed}</ h3 >
64- < p > Tests Failed</ p >
65- </ div >
66- </ div >
42+ < table class ="summary-table ">
43+ < tr >
44+ < td > Features Tested</ td >
45+ < td class ="neutral "> {total_features}</ td >
46+ </ tr >
47+ < tr >
48+ < td > Tests Passed</ td >
49+ < td class ="success "> {tests_passed}</ td >
50+ </ tr >
51+ < tr >
52+ < td > Tests Failed</ td >
53+ < td class ="failure "> {tests_failed}</ td >
54+ </ tr >
55+ </ table >
6756 </ div >
6857 < div class ="chart-column ">
6958 < canvas id ="successChart " width ="250 " height ="250 "> </ canvas >
0 commit comments