-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
153 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
<#import "layouts/main-layout.ftl.html" as main> | ||
<@main.page> | ||
<div class="container-fluid"> | ||
<form method="post" action="/search" role="form" class="form-horizontal"> | ||
<div class="row"> | ||
<div class="col-md-12 text-center"> | ||
<h3>Search Testcase</h3> | ||
<br/> | ||
</div> | ||
</div> | ||
<div class="form-group"> | ||
<div class="col-md-8"> | ||
<input type="text" name="searchKey" value="<#if searchKey??>${searchKey}</#if>" class="form-control" placeholder="Search Testcase Name Or Description" required> | ||
</div> | ||
<div class="col-md-4"> | ||
<button type="submit" name="action" value="searchtestcase" class="btn btn-primary btn-block">Search Testcase</button> | ||
</div> | ||
<br/> | ||
<br/> | ||
<br/> | ||
</div> | ||
|
||
<#if testCaseLst??> | ||
<div class="row"> | ||
<div class="col-md-12"> | ||
<table id="testcase-ele" class="table table-striped table-bordered" width="100%" cellspacing="0"> | ||
<thead> | ||
<tr> | ||
<th>Testcase ID</th> | ||
<th>Test Folder</th> | ||
<th>Test Name</th> | ||
<th>Product</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<#list testCaseLst as tc> | ||
<tr> | ||
<td> | ||
${tc.id?c} | ||
</td> | ||
<td> | ||
<a href="/testcase?nodeId=${tc.folderId.id?c}"> | ||
${tc.folderId.name} | ||
</a> | ||
</td> | ||
<td><a href="/testcase_edit?testcaseId=${tc.id?c}">${tc.name}</a></td> | ||
<td> | ||
${tc.product} | ||
</td> | ||
</tr> | ||
</#list> | ||
|
||
</tbody> | ||
</table> | ||
<br/> | ||
</div> | ||
</div> | ||
</#if> | ||
</form> | ||
</div> | ||
</@main.page> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
<#import "layouts/main-layout.ftl.html" as main> | ||
<@main.page> | ||
|
||
<div class="container-fluid"> | ||
<div class="row"> | ||
<div class="col-md-12 left"> | ||
<h3>Active Test Plans</h3> | ||
<br/> | ||
</div> | ||
</div> | ||
|
||
<table class="table table-striped table-bordered" width="100%" cellspacing="0"> | ||
<thead> | ||
<tr> | ||
<th>ID</th> | ||
<th>Name</th> | ||
<th>Enabled</th> | ||
<th>Release</th> | ||
<th>Schedule</th> | ||
<th>Leader</th> | ||
<th>Start date</th> | ||
<th>End Date</th> | ||
<th>Pass Rate</th> | ||
<th>Progress Rate</th> | ||
</tr> | ||
</thead> | ||
|
||
<tbody> | ||
<#list testPlanLst as testPlan> | ||
<tr> | ||
<td>${testPlan.id}</td> | ||
<td><a href="/testplan_view?testplanId=${testPlan.id?c}">${testPlan.name}</a></td> | ||
<td>${testPlan.enabled?c}</td> | ||
<td><#if testPlan.releaseName??>${testPlan.releaseName}</#if></td> | ||
<td><#if testPlan.schedule??>${testPlan.schedule}</#if></td> | ||
<td><#if testPlan.leader??>${testPlan.leader}</#if></td> | ||
<td><#if testPlan.startDate??>${testPlan.startDate}</#if></td> | ||
<td><#if testPlan.endDate??>${testPlan.endDate}</#if></td> | ||
<td> | ||
<#list testPlanMetricsLst as tpm> | ||
<#if tpm.testPlanId == testPlan.id> | ||
${tpm.passRate}% | ||
</#if> | ||
</#list> | ||
</td> | ||
<td> | ||
<#list testPlanMetricsLst as tpm> | ||
<#if tpm.testPlanId == testPlan.id> | ||
${tpm.progressRate}% | ||
</#if> | ||
</#list> | ||
</td> | ||
|
||
</tr> | ||
</#list> | ||
|
||
</tbody> | ||
</table> | ||
|
||
<div class="row"> | ||
<div class="col-md-12 text-center"> | ||
<br/> | ||
<br/> | ||
<a href="/testplan_add" title="Add Test Step" class="btn btn-info" ><i class="fa fa-plus-square"></i> Add Test Plan</a> | ||
</div> | ||
</div> | ||
<br/> | ||
</div> | ||
</@main.page> |