You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by dp...@apache.org on 2019/08/05 13:16:52 UTC

[ignite-teamcity-bot] branch filter-hist-by-tag updated: IGNITE-10095: Filter suite and test history by build tag finished, Suite History made versioned entity and enforced to rebuild for tags filter, UI bugs fixed

This is an automated email from the ASF dual-hosted git repository.

dpavlov pushed a commit to branch filter-hist-by-tag
in repository https://gitbox.apache.org/repos/asf/ignite-teamcity-bot.git


The following commit(s) were added to refs/heads/filter-hist-by-tag by this push:
     new 3a4127a  IGNITE-10095: Filter suite and test history by build tag finished, Suite History made versioned entity and enforced to rebuild for tags filter, UI bugs fixed
3a4127a is described below

commit 3a4127ab6bcc1dd72db182ca734cf51ab6f83f9f
Author: Dmitriy Pavlov <dp...@apache.org>
AuthorDate: Mon Aug 5 16:16:46 2019 +0300

    IGNITE-10095: Filter suite and test history by build tag finished, Suite History made versioned entity and enforced to rebuild for tags filter, UI bugs fixed
---
 ignite-tc-helper-web/src/main/webapp/current.html | 20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)

diff --git a/ignite-tc-helper-web/src/main/webapp/current.html b/ignite-tc-helper-web/src/main/webapp/current.html
index ac78792..115f358 100644
--- a/ignite-tc-helper-web/src/main/webapp/current.html
+++ b/ignite-tc-helper-web/src/main/webapp/current.html
@@ -110,7 +110,11 @@ function showQueryForm() {
         gVue.$data.count = count;
     }
 
-    gVue.$data.trustedTests = findGetParameter("trustedTests") === "true";
+    let parm = findGetParameter("trustedTests");
+    if (isDefinedAndFilled(parm)) {
+        gVue.$data.trustedTests = parm === "true";
+    }
+
     gVue.$data.checkAllLogs = findGetParameter("checkAllLogs") === "true";
     gVue.$data.hideFlakyFailures = findGetParameter("hideFlakyFailures") === "true";
 
@@ -267,7 +271,7 @@ function loadPartialData() {
 
 function showData(result) {
     let setOfTags = new Set(gVue.$data.tagsPresent);
-    let setOfHistTags = new Set(gVue.$data.tagForHistSelected);
+    let setOfHistTags = new Set(gVue.$data.tagsForHistPresent);
     for (let i = 0; i < result.servers.length; i++) {
         let chain = result.servers[i];
 
@@ -320,7 +324,7 @@ function showData(result) {
                             </option>
                         </select>
 
-                        <span title="Tag filter for filtering history of suites">History tag filter: </span>
+                        &nbsp;&nbsp;&nbsp;<span title="Tag filter for filtering history of suites">History tag filter: </span>
                         <select v-model="tagForHistSelected" @change="formChanged">
                             <option disabled value="">Please select one</option>
 
@@ -334,20 +338,20 @@ function showData(result) {
                             <option value="Failures">Show failures only</option>
                             <option value="AllSuites">Show all suites</option>
                         </select>
-                        <span>Sort: </span>
+                        &nbsp;&nbsp;&nbsp;<span>Sort: </span>
                         <select v-model="sortOption" @change="formChanged">
                             <option value="FailureRate">Failure Rate</option>
                             <option value="SuiteDuration">Suite Duration</option>
                         </select>
-                        <span>Merge Builds: </span>
+                        &nbsp;&nbsp;&nbsp;<span>Merge Builds: </span>
                         <input v-model.number="count" type="number" @change="formChanged">
 
-                        <br>&nbsp;&nbsp;<span title="Show trusted tests count">Trusted tests: </span>
+                        <br><span title="Show trusted tests count">Trusted tests: </span>
                         <input type="checkbox" v-model="trustedTests" @change="formChanged">
-                        &nbsp;&nbsp;<span title="Download and parse all logs">Check logs: </span>
+                        &nbsp;&nbsp;&nbsp;<span title="Download and parse all logs">Check logs: </span>
                         <input type="checkbox" v-model="checkAllLogs" @change="formChanged">
 
-                        <span>Show test longer than, seconds: </span>
+                        &nbsp;&nbsp;&nbsp;<span>Show test longer than, seconds: </span>
                         <input v-model.number="showTestLongerThan" type="number" @change="formChanged">
                     </td>