From dbc39caa371951a3181c2bf5cbb80b892e4d2802 Mon Sep 17 00:00:00 2001 From: yulujie Date: Tue, 3 Sep 2024 10:21:04 +0800 Subject: [PATCH] * [task#127262,doing,0.5h,4h] Add new function of ui test to manage products. --- .../test/lib/manageproducts.ui.class.php | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 module/execution/test/lib/manageproducts.ui.class.php diff --git a/module/execution/test/lib/manageproducts.ui.class.php b/module/execution/test/lib/manageproducts.ui.class.php new file mode 100644 index 0000000000..7c170e8f08 --- /dev/null +++ b/module/execution/test/lib/manageproducts.ui.class.php @@ -0,0 +1,20 @@ +initForm('execution', 'manageproducts', array('execution' => $execution['id']), 'appIframe-execution'); + if($execution['operate'] == 'link') $form->dom->productb->click(); + if($execution['operate'] == 'unlink') $form->dom->producta->click(); + $form->dom->btn($this->lang->save)->click(); + } +}