From 22cdfdcc813ceafffa9caac646a32116bb3f1049 Mon Sep 17 00:00:00 2001 From: yulujie Date: Mon, 28 Oct 2024 11:20:36 +0800 Subject: [PATCH] * [task#131194,doing,0.1h,3h] Modify xpath. --- module/execution/test/ui/page/grouptask.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module/execution/test/ui/page/grouptask.php b/module/execution/test/ui/page/grouptask.php index d90dc91788..05f8a7e61f 100755 --- a/module/execution/test/ui/page/grouptask.php +++ b/module/execution/test/ui/page/grouptask.php @@ -15,7 +15,8 @@ class managemembersPage extends page 'closedBy' => "//*[@data-id='execution-grouptask']/../div[3]//li[6]", 'type' => "//*[@data-id='execution-grouptask']/../div[3]//li[7]" /* 全部展开时左侧区块统计 */ - 'tasks' => "//div[@id='tasksTable']//tbody/tr[1]/td/div/div/div/strong", + 'group' => "//*[@id='tasksTable']/table/tbody/tr[1]/td[1]/div/a", + 'tasks' => "//*[@id='tasksTable']/table/tbody/tr[1]/td[1]/div/div/div[1]/strong", 'waiting' => "//*[@id='tasksTable']/table/tbody/tr[1]/td[1]/div/div/div[1]/text()[2]", 'doing' => "//*[@id='tasksTable']/table/tbody/tr[1]/td[1]/div/div/div[1]/text()[3]", 'estimates' => "//*[@id='tasksTable']/table/tbody/tr[1]/td[1]/div/div/div[2]/strong",