* [task#126383,doing,2h] Add the tutorial of manage test.

This commit is contained in:
xieqiyu
2024-09-04 17:31:41 +08:00
committed by 王于听
parent e9602bf60a
commit da309d506b
7 changed files with 329 additions and 0 deletions
+2
View File
@@ -488,6 +488,8 @@ class testtaskZen extends testtask
*/
protected function getProducts(): array
{
if(commonModel::isTutorialMode()) return $this->loadModel('tutorial')->getProductPairs();
/* 如果是在非弹窗页面的项目或执行应用下打开的测试单,则获取当前项目或执行对应的产品。*/
/* If the testtask is opened under a project or execution application on a non-pop-up page, get the current project or execution corresponding product. */
$tab = $this->app->tab;