This commit is contained in:
liumengyi
2024-01-09 09:42:47 +08:00
parent 69f89c9a2c
commit 7553dd6fa7
5 changed files with 17 additions and 8 deletions
+13 -8
View File
@@ -29,14 +29,19 @@ if($confirm != 'yes')
$steps = $run->case->steps;
if(empty($steps))
{
$step = new stdclass();
$step->id = 0;
$step->parent = 0;
$step->case = $run->case->id;
$step->type = 'step';
$step->desc = '';
$step->expect = '';
$steps[] = $step;
$stepTrs[] = h::tr
(
h::td
(
setClass('border'),
set('colspan', '4'),
div
(
setClass('text-center text-gray py-4'),
$lang->testcase->noStep
)
)
);
}
foreach($steps as $key => $step)
{