From 379d6cf442ca30a2870b8f3bfa690d41f89883bf Mon Sep 17 00:00:00 2001 From: huairong Date: Thu, 22 Aug 2024 14:33:47 +0800 Subject: [PATCH] + [task#126576] modify ui test file of createstage. --- module/programplan/test/lib/createstage.ui.class.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/module/programplan/test/lib/createstage.ui.class.php b/module/programplan/test/lib/createstage.ui.class.php index 75f7fcc1e8..a296ec7433 100755 --- a/module/programplan/test/lib/createstage.ui.class.php +++ b/module/programplan/test/lib/createstage.ui.class.php @@ -64,4 +64,12 @@ class createStageTester extends tester } return $this->failed('创建阶段表单页提示信息不正确'); } + + $executionPage = $this->loadPage('project', 'execution'); + if($executionPage->dom->name->getText() != $waterfall['name_0']) return $this->failed('阶段名称错误'); + if($executionPage->dom->begin->getText() != $waterfall['begin_0']) return $this->failed('阶段计划开始错误'); + if($executionPage->dom->end->getText() != $waterfall['end_0']) return $this->failed('阶段计划完成错误'); + + return $this->success(); + } }