[task#133977, 0.2h] add change requirement xpath.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user