[task#127805, 0.3h] add xpath of review story used.
This commit is contained in:
Executable
+13
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
class reviewPage extends page
|
||||
{
|
||||
public function __construct($webdriver)
|
||||
{
|
||||
parent::__construct($webdriver);
|
||||
|
||||
$xpath = array(
|
||||
'result' => "/html/body/div[1]/div/div/div[2]/div/form/div[2]/div/div/div"
|
||||
);
|
||||
$this->dom->xpath = array_merge($this->dom->xpath, $xpath);
|
||||
}
|
||||
}
|
||||
@@ -14,7 +14,8 @@ class viewPage extends page
|
||||
'reviewer' => "/html/body/div[1]/div/div/div/div[2]/div[2]/div[1]/div[2]/div[2]/div/div[3]/div[2]/div/span",
|
||||
'assignToONE' => "/html/body/div/div/div/div/div[2]/div[2]/div[1]/div[2]/div[2]/div/div[2]/div[2]",
|
||||
'activate' => "//*[@type='submit']",
|
||||
'assignToBtn' => "//*[@type='submit']"
|
||||
'assignToBtn' => "//*[@type='submit']",
|
||||
'reviewer' => "/html/body/div[1]/div/div/div[1]/div[2]/div[2]/div[1]/div[2]/div[2]/div/div[3]/div[2]/div/span"
|
||||
);
|
||||
$this->dom->xpath = array_merge($this->dom->xpath, $xpath);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user