*[task#126285,done,0.5h] Add ui test files of projectview in the module of program

This commit is contained in:
sunxiaoqi
2024-09-03 09:23:06 +08:00
committed by 李阳
parent 9bf29640cd
commit 121423b1fc
@@ -0,0 +1,14 @@
<?php
class projectViewPage extends page
{
public function __construct($webdriver)
{
parent::__construct($webdriver);
$xpath = array(
'allTab' => '//*[@id="featureBar"]/menu/li[1]/a[1]',
'fstProgram' => '/html/body/div/div/div[2]/div/div/div[2]/div[1]/div/div[2]/div[1]/a',
'addProject' => '/html/body/div/div/div[1]/div[2]/a[1]',
);
$this->dom->xpath = array_merge($this->dom->xpath, $xpath);
}
}