Page 1 of 1

Test specification's status filter field in execution mode

PostPosted: Mon Mar 11, 2019 10:26 am
by annheln
(Version 1.9.18)
(PHP version: 7.3.2)
(Windows 10)
(Server version: 10.1.38-MariaDB)

Please see the picture below for simple illustration.

The test specification-page have a filter where you can filter on status. This is all imported from the file inc_filter_panel.tpl and the field is enabled in config.inc.php (I think? Let me know if I'm wrong).

Same file (inc_filter_panel.tpl) is imported to handle the field in the execute test-page, but some fields are disabled or seem to lack the ability to be enabled. Including the status field.

Is there a configuration or known way to enable this field in the execute test-page?

Image

Re: Test specification's status filter field in execute test

PostPosted: Wed Mar 13, 2019 7:55 am
by annheln
Update:

I have managed to add the status-field in execution mode by...

1) Adding $tlCfg->tree_filter_cfg->testcases->execution_mode->filter_workflow_status = ENABLED; to config.inc.php.
2) Adding 'filter_workflow_status' to the array $all_filters in tlTestCaseFilterControl.class.php.
3) Adding 'filter_workflow_status' to the array $mode_filter_mapping in tlTestCaseFilterControl.class.php.

However, the status field is just added and not functional at the moment. There are obviously further steps to take. I suspect that the reason it doesn't work is because the tree menu need to be altered as well, perhaps specifically the execTreeMenu-files.