Wiki source code of Test Cases
Last modified by Michael Hamann on 2025/09/25 15:08
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | {{velocity}} | ||
| 2 | #set($discard = $xwiki.ssx.use("QA.WebHome")) | ||
| 3 | #set($discard = $xwiki.jsx.use("QA.WebHome" ,{'minify':false,'defer':false})) | ||
| 4 | #set($columns = ['deprecated','doc.title', 'doc.space', 'wikiType', 'userType', 'product', 'browsers', 'databases', 'servletContainers', 'javas', 'distributions', 'automated']) | ||
| 5 | #set($columnsProperties = { | ||
| 6 | 'doc.title' :{'type': 'text', 'link': 'view', 'size': 10, 'filterable': true, 'sortable': true}, | ||
| 7 | 'doc.space' :{'type': 'text', 'link': 'space', 'size': 10, 'filterable': true, 'sortable': true}, | ||
| 8 | 'wikiType' :{'type': 'list', 'class': 'QA.TestClass'}, | ||
| 9 | 'userType' :{'type': 'list', 'class': 'QA.TestClass'}, | ||
| 10 | 'product' :{'type': 'text', 'html' :true, 'filterable': false, 'sortable': false}, | ||
| 11 | 'browsers' :{'type': 'text', 'html': true, 'filterable': false, 'sortable': false}, | ||
| 12 | 'databases' :{'type': 'text', 'html': true, 'filterable': false, 'sortable': false}, | ||
| 13 | 'servletContainers' :{'type': 'text', 'html': true, 'filterable': false, 'sortable': false}, | ||
| 14 | 'javas' :{'type': 'text', 'html': true, 'filterable': false, 'sortable': false}, | ||
| 15 | 'distributions' :{'type': 'text', 'html': true, 'filterable': false, 'sortable': false}, | ||
| 16 | 'automated' :{'type': 'list', 'class': 'QA.TestClass'}, | ||
| 17 | 'deprecated' :{'type': 'list', 'class': 'QA.TestClass'} | ||
| 18 | }) | ||
| 19 | #set($options = { | ||
| 20 | 'resultPage' : 'QA.LiveTableResults', | ||
| 21 | 'tagCloud': true, | ||
| 22 | "translationPrefix" : "qaapp.WebHome.LiveTable.", | ||
| 23 | 'rowCount': 15, | ||
| 24 | 'maxPages': 10, | ||
| 25 | 'selectedColumn': 'doc.title', | ||
| 26 | 'defaultOrder': 'asc', | ||
| 27 | 'javascriptName' : 'qaHomePageLiveTable' | ||
| 28 | }) | ||
| 29 | #if(!$isGuest) | ||
| 30 | #set($discard = $columns.add('_actions')) | ||
| 31 | #set($discard = $columnsProperties.put('_actions', { 'actions' : ['runTest'] })) | ||
| 32 | #end | ||
| 33 | (%class="buttonwrapper"%)[[$services.localization.render('qaapp.WebHome.addTest.button')>>QA.AddTest]] [[$services.localization.render('qaapp.WebHome.hallOfFame.button')>>QA.HallOfFame]] [[$services.localization.render('qaapp.WebHome.management.button')>>QA.Management]]#livetable('qa' $columns $columnsProperties $options) | ||
| 34 | {{/velocity}} |