Test specification's status filter field in execution mode

LATEST Official version.
Questions and discussions - NO ISSUES
FOR ISSUES => http://mantis.testlink.org

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
annheln
TestLink user
Posts: 3
Joined: Sat Mar 09, 2019 11:28 am
Location: Sweden

Test specification's status filter field in execution mode

Post 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
Last edited by annheln on Wed Mar 13, 2019 8:06 am, edited 2 times in total.

Code: Select all

Version 1.9.18
PHP version: 7.3.2
Server version: 10.1.38-MariaDB
Windows 10
annheln
TestLink user
Posts: 3
Joined: Sat Mar 09, 2019 11:28 am
Location: Sweden

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

Post 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.

Code: Select all

Version 1.9.18
PHP version: 7.3.2
Server version: 10.1.38-MariaDB
Windows 10
Post Reply