From bd45f43a21c3b21fd2a7971e4aec6d3e05069f1c Mon Sep 17 00:00:00 2001 From: huairong Date: Mon, 9 Jun 2025 15:58:04 +0800 Subject: [PATCH] + [task#144954,doing,0.1h,0.4h] Modify element xpath of create page. --- module/programplan/test/ui/page/create.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/module/programplan/test/ui/page/create.php b/module/programplan/test/ui/page/create.php index 5eb8d20c88..70709bef7b 100644 --- a/module/programplan/test/ui/page/create.php +++ b/module/programplan/test/ui/page/create.php @@ -6,11 +6,11 @@ class createPage extends page parent::__construct($webdriver); $xpath = array( 'settings' => "//*[@id='navbar']/menu/li[14]/a/span", - 'deleteBtn_2' => "//*[@id='zin_programplan_create_formBatch']/div[1]/table/tbody/tr[2]/td[19]/button[3]", - 'deleteBtn_3' => "//*[@id='zin_programplan_create_formBatch']/div[1]/table/tbody/tr[3]/td[19]/button[3]", - 'deleteBtn_4' => "//*[@id='zin_programplan_create_formBatch']/div[1]/table/tbody/tr[4]/td[19]/button[3]", - 'deleteBtn_5' => "//*[@id='zin_programplan_create_formBatch']/div[1]/table/tbody/tr[5]/td[19]/button[3]", - 'deleteBtn_6' => "//*[@id='zin_programplan_create_formBatch']/div[1]/table/tbody/tr[6]/td[19]/button[3]", + 'deleteBtn_2' => "//*[@id='zin_programplan_create_formBatch']/div[1]/table/tbody/tr[2]/td[19]/button[4]", + 'deleteBtn_3' => "//*[@id='zin_programplan_create_formBatch']/div[1]/table/tbody/tr[3]/td[19]/button[4]", + 'deleteBtn_4' => "//*[@id='zin_programplan_create_formBatch']/div[1]/table/tbody/tr[4]/td[19]/button[4]", + 'deleteBtn_5' => "//*[@id='zin_programplan_create_formBatch']/div[1]/table/tbody/tr[5]/td[19]/button[4]", + 'deleteBtn_6' => "//*[@id='zin_programplan_create_formBatch']/div[1]/table/tbody/tr[6]/td[19]/button[4]", 'begin' => "//*[@id='begin_0']/div/input[2]", 'end' => "//*[@id='end_0']/div/input[2]", 'submitBtn' => "//*[@id='zin_programplan_create_formBatch']/div[2]/button",