[task#133977, 0.2h] add change requirement xpath.

This commit is contained in:
lijie
2024-12-20 15:57:40 +08:00
committed by 李阳
parent 98adb2e672
commit 420a39bee2
2 changed files with 14 additions and 0 deletions
@@ -0,0 +1,12 @@
<?php
class changePage extends page
{
public function __construct($webdriver)
{
parent::__construct($webdriver);
$xpath = array(
);
$this->dom->xpath = array_merge($this->dom->xpath, $xpath);
}
}
+2
View File
@@ -6,6 +6,8 @@ class viewPage extends page
parent::__construct($webdriver);
$xpath = array(
'storyName' => "//*[@id='mainContent']/div/div/div/span[2]",
'status' => "//*[@id='zin_requirement_view_tabPane']/div/div[6]/div[2]/span",
'parentStoryName' => "//*[@id='zin_requirement_view_tabPane']/div/div[3]/div[2]/div/div/a"
);
$this->dom->xpath = array_merge($this->dom->xpath, $xpath);