From 90f3385d236ffce779e3eaa62741500322c20a91 Mon Sep 17 00:00:00 2001 From: huairong Date: Thu, 22 Aug 2024 13:55:49 +0800 Subject: [PATCH] + [task#126576] add ui test file of createstage of programplan. --- .../test/lib/createstage.ui.class.php | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 module/programplan/test/lib/createstage.ui.class.php diff --git a/module/programplan/test/lib/createstage.ui.class.php b/module/programplan/test/lib/createstage.ui.class.php new file mode 100755 index 0000000000..f8176409b8 --- /dev/null +++ b/module/programplan/test/lib/createstage.ui.class.php @@ -0,0 +1,17 @@ +initForm('programplan', 'create' , array('projectID' => 5), 'appIframe-project'); + + //删除除需求外的其他默认阶段行 + for ($i = 6; $i > 1; $i--) + { + $btn = "deleteBtn_$i"; + $programplanForm->dom->$btn->click(); + $programplanForm->wait(1); + } + } +}