*[task#126441] Modify xpath of instance view.
This commit is contained in:
@@ -5,8 +5,8 @@ class viewPage extends page
|
||||
{
|
||||
parent::__construct($webdriver);
|
||||
$xpath = array(
|
||||
'passwdCopy' => "//*[@id='password']/following-sibling::button",
|
||||
'tokenCopy' => "//*[@id='token']/following-sibling::button"
|
||||
'copyButton' => "//div[@id='instanceInfoContainer']//button",
|
||||
'toast' => "//div[text()='复制成功']"
|
||||
);
|
||||
|
||||
$this->dom->xpath = array_merge($this->dom->xpath, $xpath);
|
||||
|
||||
Reference in New Issue
Block a user