Skip to content

Commit

Permalink
v1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
rajatthareja committed Mar 3, 2018
1 parent 6e71838 commit de2dff9
Show file tree
Hide file tree
Showing 9 changed files with 47 additions and 47 deletions.
2 changes: 1 addition & 1 deletion report_builder.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Gem::Specification.new do |s|
s.name = 'report_builder'
s.version = '1.4'
s.version = '1.5'
s.bindir = 'bin'
s.summary = 'ReportBuilder'
s.description = 'Ruby gem to merge Cucumber JSON reports and build mobile-friendly HTML Test Report, JSON report and retry file.'
Expand Down
4 changes: 2 additions & 2 deletions sample/group_report.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href="https://cdn.datatables.net/1.10.16/css/jquery.dataTables.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/css/materialize.min.css" media="screen,projection"/>
<link href="https://cdn.rawgit.com/rajatthareja/ReportBuilder/v1.4/css/report.builder.min.css" rel="stylesheet">
<link href="https://cdn.rawgit.com/rajatthareja/ReportBuilder/v1.5/css/report.builder.min.css" rel="stylesheet">
</head><body>
<script type="text/javascript" src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/js/materialize.min.js"></script>
Expand Down Expand Up @@ -944,7 +944,7 @@ <h5 class="truncate white-text tooltipped" data-tooltip="My Test Results">My Tes
<a class="white-text text-lighten-4 right" href="http://reportbuilder.rajatthareja.com">Generated by Report Builder</a>
</div>
</div>
</footer><script type="text/javascript" src="https://cdn.rawgit.com/rajatthareja/ReportBuilder/v1.4/js/report.builder.min.js"></script>
</footer><script type="text/javascript" src="https://cdn.rawgit.com/rajatthareja/ReportBuilder/v1.5/js/report.builder.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/annyang/2.6.0/annyang.min.js"></script>
<script>
var commands = {
Expand Down
68 changes: 34 additions & 34 deletions sample/report.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,28 @@
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href="https://cdn.datatables.net/1.10.16/css/jquery.dataTables.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/css/materialize.min.css" media="screen,projection"/>
<link href="https://cdn.rawgit.com/rajatthareja/ReportBuilder/v1.4/css/report.builder.min.css" rel="stylesheet">
<link href="https://cdn.rawgit.com/rajatthareja/ReportBuilder/v1.5/css/report.builder.min.css" rel="stylesheet">
</head><body>
<script type="text/javascript" src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/js/materialize.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.0/Chart.min.js"></script>
<script type="text/javascript" src="https://cdn.datatables.net/1.10.16/js/jquery.dataTables.min.js"></script><header class="deep-purple lighten-5">
<div class="row deep-purple lighten-1">
<script type="text/javascript" src="https://cdn.datatables.net/1.10.16/js/jquery.dataTables.min.js"></script><header class="brown lighten-5">
<div class="row brown lighten-1">
<div class="col m6 hide-on-small-only">
<h5 class="truncate white-text tooltipped" data-tooltip="My Test Results">My Test Results</h5>
</div><div class="col m6 s12 deep-purple lighten-1">
<ul class="tabs deep-purple lighten-1 row" style="overflow-x: hidden">
</div><div class="col m6 s12 brown lighten-1">
<ul class="tabs brown lighten-1 row" style="overflow-x: hidden">
<li class="tab col s3">
<a class="deep-purple lighten-3 active blue-text waves-effect waves-light tooltipped" data-tooltip="Results Overview" href="#overview"><i class="material-icons">assessment</i> Overview</a>
<a class="brown lighten-3 active blue-text waves-effect waves-light tooltipped" data-tooltip="Results Overview" href="#overview"><i class="material-icons">assessment</i> Overview</a>
</li>
<li class="tab col s3">
<a class="deep-purple lighten-3 white-text waves-effect waves-light tooltipped" data-tooltip="Scenarios by Features" href="#features"><i class="material-icons">view_headline</i> Features</a>
<a class="brown lighten-3 white-text waves-effect waves-light tooltipped" data-tooltip="Scenarios by Features" href="#features"><i class="material-icons">view_headline</i> Features</a>
</li>
<li class="tab col s3">
<a class="deep-purple lighten-3 white-text waves-effect waves-light tooltipped" data-tooltip="Scenarios Summary Table" href="#summary"><i class="material-icons">view_comfy</i> Summary</a>
<a class="brown lighten-3 white-text waves-effect waves-light tooltipped" data-tooltip="Scenarios Summary Table" href="#summary"><i class="material-icons">view_comfy</i> Summary</a>
</li>
<li class="tab col s3">
<a class="deep-purple lighten-3 white-text waves-effect waves-light tooltipped" data-tooltip="Failed Scenarios" href="#errors"><i class="material-icons">bug_report</i> Errors</a>
<a class="brown lighten-3 white-text waves-effect waves-light tooltipped" data-tooltip="Failed Scenarios" href="#errors"><i class="material-icons">bug_report</i> Errors</a>
</li>
</ul>
</div>
Expand Down Expand Up @@ -406,8 +406,8 @@ <h5 class="truncate white-text tooltipped" data-tooltip="My Test Results">My Tes
<script type="text/javascript">
$(document).ready(function () {$('#g0f0s0').modal();$('#g0f0s1').modal();$('#g0f0s2').modal();$('#g0f0s3').modal();$('#g0f0s4').modal();$('#g0f1s0').modal();$('#g0f1s1').modal();$('#g0f1s2').modal();$('#g0f1s3').modal();$('#g0f1s4').modal();$('#g0f1s5').modal();$('#g0f2s0').modal();$('#g0f2s1').modal();$('#g0f2s2').modal();$('#g0f2s3').modal();$('#g0f2s4').modal();$('#g0f2s5').modal();$('#g0f3s0').modal();$('#g0f3s1').modal();$('#g0f3s2').modal();$('#g0f3s3').modal();$('#g0f3s4').modal();$('#g0f3s5').modal();$('#g0f4s0').modal();$('#g0f4s1').modal();$('#g0f4s2').modal();$('#g0f4s3').modal();$('#g0f4s4').modal();});
</script>
<main class="deep-purple lighten-5">
<div class="row"><div id="overview" class="col s12 deep-purple lighten-5">
<main class="brown lighten-5">
<div class="row"><div id="overview" class="col s12 brown lighten-5">
<div class="row">
<div class="col m4 s12">
<canvas id="featuresDoughnut" width="400" height="400"></canvas>
Expand All @@ -434,13 +434,13 @@ <h5 class="truncate white-text tooltipped" data-tooltip="My Test Results">My Tes
</tr></tbody>
</table>
</div>
</div></div><div id="features" class="col s12 deep-purple lighten-5 white-text">
</div></div><div id="features" class="col s12 brown lighten-5 white-text">
<ul class="featureList collapsible popout" data-collapsible="expandable">
<li class="feature working">
<div class="collapsible-header deep-purple lighten-1 waves-effect waves-light">
<div class="collapsible-header brown lighten-1 waves-effect waves-light">
<i class="material-icons">featured_play_list</i>
<b>Feature</b>&nbsp;I am some feature for testing some functionality&nbsp;(0.002s)
</div><div class="collapsible-body deep-purple lighten-4">
</div><div class="collapsible-body brown lighten-4">
<ul class="collection scenarioList"><li class="collection-item scenario passed">
<a class="waves-effect waves-light modal-trigger white-text" href="#g0f0s0">
<b>Scenario</b> I am some testing scenario of some functionality&nbsp;(0.000s)
Expand All @@ -460,10 +460,10 @@ <h5 class="truncate white-text tooltipped" data-tooltip="My Test Results">My Tes
</li></ul>
</div>
</li><li class="feature broken">
<div class="collapsible-header deep-purple lighten-1 waves-effect waves-light">
<div class="collapsible-header brown lighten-1 waves-effect waves-light">
<i class="material-icons">featured_play_list</i>
<b>Feature</b>&nbsp;I am some other feature for testing some broken functionality&nbsp;(13.173s)
</div><div class="collapsible-body deep-purple lighten-4">
</div><div class="collapsible-body brown lighten-4">
<ul class="collection scenarioList"><li class="collection-item scenario failed">
<a class="waves-effect waves-light modal-trigger white-text" href="#g0f1s0">
<b>Scenario</b> I am some failed testing scenario of some functionality&nbsp;(13.171s)
Expand All @@ -487,10 +487,10 @@ <h5 class="truncate white-text tooltipped" data-tooltip="My Test Results">My Tes
</li></ul>
</div>
</li><li class="feature broken">
<div class="collapsible-header deep-purple lighten-1 waves-effect waves-light">
<div class="collapsible-header brown lighten-1 waves-effect waves-light">
<i class="material-icons">featured_play_list</i>
<b>Feature</b>&nbsp;I am some other feature for testing some functionality&nbsp;(0.002s)
</div><div class="collapsible-body deep-purple lighten-4">
</div><div class="collapsible-body brown lighten-4">
<ul class="collection scenarioList"><li class="collection-item scenario passed">
<a class="waves-effect waves-light modal-trigger white-text" href="#g0f2s0">
<b>Scenario</b> I am some testing scenario of other functionality&nbsp;(0.000s)
Expand All @@ -514,10 +514,10 @@ <h5 class="truncate white-text tooltipped" data-tooltip="My Test Results">My Tes
</li></ul>
</div>
</li><li class="feature working">
<div class="collapsible-header deep-purple lighten-1 waves-effect waves-light">
<div class="collapsible-header brown lighten-1 waves-effect waves-light">
<i class="material-icons">featured_play_list</i>
<b>Feature</b>&nbsp;I am some other feature for testing tag functionality&nbsp;(11.237s)
</div><div class="collapsible-body deep-purple lighten-4">
</div><div class="collapsible-body brown lighten-4">
<ul class="collection scenarioList"><li class="collection-item scenario passed">
<a class="waves-effect waves-light modal-trigger white-text" href="#g0f3s0">
<b>Scenario</b> I am some testing scenario with two tags of some functionality&nbsp;(0.000s)
Expand All @@ -541,10 +541,10 @@ <h5 class="truncate white-text tooltipped" data-tooltip="My Test Results">My Tes
</li></ul>
</div>
</li><li class="feature broken">
<div class="collapsible-header deep-purple lighten-1 waves-effect waves-light">
<div class="collapsible-header brown lighten-1 waves-effect waves-light">
<i class="material-icons">featured_play_list</i>
<b>Feature</b>&nbsp;This is a feature with table in step&nbsp;(0.002s)
</div><div class="collapsible-body deep-purple lighten-4">
</div><div class="collapsible-body brown lighten-4">
<ul class="collection scenarioList"><li class="collection-item scenario passed">
<a class="waves-effect waves-light modal-trigger white-text" href="#g0f4s0">
<b>Scenario</b> I have table in one of my step&nbsp;(0.000s)
Expand All @@ -564,8 +564,8 @@ <h5 class="truncate white-text tooltipped" data-tooltip="My Test Results">My Tes
</li></ul>
</div>
</li>
</ul></div><div id="summary" class="col s12 deep-purple lighten-5">
<table id="summaryTable" class="bordered deep-purple lighten-1 white-text" width="100%">
</ul></div><div id="summary" class="col s12 brown lighten-5">
<table id="summaryTable" class="bordered brown lighten-1 white-text" width="100%">
<thead>
<tr>
<th class="hide-on-small-only">Feature</th>
Expand Down Expand Up @@ -806,17 +806,17 @@ <h5 class="truncate white-text tooltipped" data-tooltip="My Test Results">My Tes
failed
</td><td class="hide-on-small-only">I am some error (RuntimeError)</td></tr>
</tbody>
</table></div><div id="errors" class="col s12 deep-purple lighten-5">
</table></div><div id="errors" class="col s12 brown lighten-5">
<ul class="errorList collapsible popout" data-collapsible="expandable"><li class="error">
<div class="collapsible-header red lighten-2 white-text waves-effect waves-light">
<i class="material-icons">bug_report</i>I am some error (RuntimeError)
</div><div class="collapsible-body deep-purple lighten-4">
</div><div class="collapsible-body brown lighten-4">
<ul class="collection failedScenarioList">
<li class="collection-item failedScenario deep-purple lighten-5 red-text">
<li class="collection-item failedScenario brown lighten-5 red-text">
<i class="material-icons">highlight_off</i>&nbsp;<a class="modal-trigger red-text" href="#g0f1s0">I am some failed testing scenario of some functionality</a>
</li><li class="collection-item failedScenario deep-purple lighten-5 red-text">
</li><li class="collection-item failedScenario brown lighten-5 red-text">
<i class="material-icons">highlight_off</i>&nbsp;<a class="modal-trigger red-text" href="#g0f2s3">I am some testing scenario of some functionality</a>
</li><li class="collection-item failedScenario deep-purple lighten-5 red-text">
</li><li class="collection-item failedScenario brown lighten-5 red-text">
<i class="material-icons">highlight_off</i>&nbsp;<a class="modal-trigger red-text" href="#g0f4s3">I am some testing scenario of other functionality</a>
</li>
</ul>
Expand All @@ -825,22 +825,22 @@ <h5 class="truncate white-text tooltipped" data-tooltip="My Test Results">My Tes
<li class="error">
<div class="collapsible-header red lighten-2 white-text waves-effect waves-light">
<i class="material-icons">bug_report</i>TODO (Cucumber::Pending)
</div><div class="collapsible-body deep-purple lighten-4">
</div><div class="collapsible-body brown lighten-4">
<ul class="collection failedScenarioList">
<li class="collection-item failedScenario deep-purple lighten-5 red-text">
<li class="collection-item failedScenario brown lighten-5 red-text">
<i class="material-icons">highlight_off</i>&nbsp;<a class="modal-trigger red-text" href="#g0f1s2">I am some pending testing scenario of some functionality</a>
</li>
</ul>
</div>
</li>
</ul></div>
</div>
</main><footer class="page-footer deep-purple lighten-4">
<div class="footer-copyright deep-purple lighten-1">
</main><footer class="page-footer brown lighten-4">
<div class="footer-copyright brown lighten-1">
<div class="container">
Happy Reporting!
<a class="white-text text-lighten-4 right" href="http://reportbuilder.rajatthareja.com">Generated by Report Builder</a>
</div>
</div>
</footer><script type="text/javascript" src="https://cdn.rawgit.com/rajatthareja/ReportBuilder/v1.4/js/report.builder.min.js"></script></body>
</footer><script type="text/javascript" src="https://cdn.rawgit.com/rajatthareja/ReportBuilder/v1.5/js/report.builder.min.js"></script></body>
</html>
2 changes: 1 addition & 1 deletion template/footer.erb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</div>
</footer>

<script type="text/javascript" src="https://cdn.rawgit.com/rajatthareja/ReportBuilder/v1.4/js/report.builder.min.js"></script>
<script type="text/javascript" src="https://cdn.rawgit.com/rajatthareja/ReportBuilder/v1.5/js/report.builder.min.js"></script>

<% if options[:voice_commands] %>
<script src="//cdnjs.cloudflare.com/ajax/libs/annyang/2.6.0/annyang.min.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion template/head.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href="https://cdn.datatables.net/1.10.16/css/jquery.dataTables.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/css/materialize.min.css" media="screen,projection"/>
<link href="https://cdn.rawgit.com/rajatthareja/ReportBuilder/v1.4/css/report.builder.min.css" rel="stylesheet">
<link href="https://cdn.rawgit.com/rajatthareja/ReportBuilder/v1.5/css/report.builder.min.css" rel="stylesheet">

<% if options[:additional_css] %>
<% if options[:additional_css] =~ /^http(|s):\/\/.*\.css$/ %>
Expand Down
4 changes: 2 additions & 2 deletions testing/fixtures/combined.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href="https://cdn.datatables.net/1.10.16/css/jquery.dataTables.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/css/materialize.min.css" media="screen,projection"/>
<link href="https://cdn.rawgit.com/rajatthareja/ReportBuilder/v1.4/css/report.builder.min.css" rel="stylesheet">
<link href="https://cdn.rawgit.com/rajatthareja/ReportBuilder/v1.5/css/report.builder.min.css" rel="stylesheet">
</head><body>
<script type="text/javascript" src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/js/materialize.min.js"></script>
Expand Down Expand Up @@ -836,5 +836,5 @@ <h5 class="truncate white-text tooltipped" data-tooltip="Test Results">Test Resu
<a class="white-text text-lighten-4 right" href="http://reportbuilder.rajatthareja.com">Generated by Report Builder</a>
</div>
</div>
</footer><script type="text/javascript" src="https://cdn.rawgit.com/rajatthareja/ReportBuilder/v1.4/js/report.builder.min.js"></script></body>
</footer><script type="text/javascript" src="https://cdn.rawgit.com/rajatthareja/ReportBuilder/v1.5/js/report.builder.min.js"></script></body>
</html>
4 changes: 2 additions & 2 deletions testing/fixtures/combined_g.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href="https://cdn.datatables.net/1.10.16/css/jquery.dataTables.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/css/materialize.min.css" media="screen,projection"/>
<link href="https://cdn.rawgit.com/rajatthareja/ReportBuilder/v1.4/css/report.builder.min.css" rel="stylesheet">
<link href="https://cdn.rawgit.com/rajatthareja/ReportBuilder/v1.5/css/report.builder.min.css" rel="stylesheet">
</head><body>
<script type="text/javascript" src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/js/materialize.min.js"></script>
Expand Down Expand Up @@ -907,5 +907,5 @@ <h5 class="truncate white-text tooltipped" data-tooltip="Test Results">Test Resu
<a class="white-text text-lighten-4 right" href="http://reportbuilder.rajatthareja.com">Generated by Report Builder</a>
</div>
</div>
</footer><script type="text/javascript" src="https://cdn.rawgit.com/rajatthareja/ReportBuilder/v1.4/js/report.builder.min.js"></script></body>
</footer><script type="text/javascript" src="https://cdn.rawgit.com/rajatthareja/ReportBuilder/v1.5/js/report.builder.min.js"></script></body>
</html>
4 changes: 2 additions & 2 deletions testing/fixtures/combined_g_r1.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href="https://cdn.datatables.net/1.10.16/css/jquery.dataTables.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/css/materialize.min.css" media="screen,projection"/>
<link href="https://cdn.rawgit.com/rajatthareja/ReportBuilder/v1.4/css/report.builder.min.css" rel="stylesheet">
<link href="https://cdn.rawgit.com/rajatthareja/ReportBuilder/v1.5/css/report.builder.min.css" rel="stylesheet">
</head><body>
<script type="text/javascript" src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/js/materialize.min.js"></script>
Expand Down Expand Up @@ -907,5 +907,5 @@ <h5 class="truncate white-text tooltipped" data-tooltip="Test Results">Test Resu
<a class="white-text text-lighten-4 right" href="http://reportbuilder.rajatthareja.com">Generated by Report Builder</a>
</div>
</div>
</footer><script type="text/javascript" src="https://cdn.rawgit.com/rajatthareja/ReportBuilder/v1.4/js/report.builder.min.js"></script></body>
</footer><script type="text/javascript" src="https://cdn.rawgit.com/rajatthareja/ReportBuilder/v1.5/js/report.builder.min.js"></script></body>
</html>
Loading

0 comments on commit de2dff9

Please sign in to comment.