From e76cdcd8909e1ed7e03bd981dca8819a773f54ff Mon Sep 17 00:00:00 2001 From: yulujie Date: Fri, 6 Sep 2024 14:00:32 +0800 Subject: [PATCH] * [task#128088,doing,1h,3h] Add function. --- .../test/lib/allexecution.ui.class.php | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 module/execution/test/lib/allexecution.ui.class.php diff --git a/module/execution/test/lib/allexecution.ui.class.php b/module/execution/test/lib/allexecution.ui.class.php new file mode 100755 index 0000000000..0064462818 --- /dev/null +++ b/module/execution/test/lib/allexecution.ui.class.php @@ -0,0 +1,23 @@ +initForm('execution', 'all', '', 'appIframe-execution'); + $selectedTab = $tab . 'Tab'; + $form->dom->$selectedTab->click(); + $form->wait(1); + if($form->dom->num->getText() == $expectNum) return $this->success($tab . '标签下显示条数正确'); + return $this->failed($tab . '标签下显示条数不正确'); + } +}