+ testcaseBrowse: assign the $browseType variable to the $scene object because it's used in the isClickable method.

This commit is contained in:
liugang
2023-06-10 14:56:23 +08:00
parent 2bab266dc7
commit 8ca14d5837
+1
View File
@@ -361,6 +361,7 @@ foreach($scenes as $scene)
$actionType = $scene->isCase == 1 ? 'testcase' : 'scene';
$config->testcase->dtable->fieldList['actions']['menu'] = $config->$actionType->menu;
$scene->browseType = $browseType;
initTableData(array($scene), $config->testcase->dtable->fieldList, $this->testcase);
if($scene->isCase != 1) continue;