*[task#130410,done,0.2h] Add ui test files of create struct

This commit is contained in:
sunxiaoqi
2024-10-18 08:51:41 +08:00
committed by 李阳
parent 9b10e5138a
commit 00a7addac2
2 changed files with 14 additions and 1 deletions
+13
View File
@@ -0,0 +1,13 @@
<?php
class structPage extends page
{
public function __construct($webdriver)
{
parent::__construct($webdriver);
$xpath = array(
'createStructBtn' => '/html/body/div[1]/div/div[1]/div[2]/a',
'fstStructName' => '/html/body/div[1]/div/div[2]/div/div/div[2]/div[1]/div/div[3]/div'
);
$this->dom->xpath = array_merge($this->dom->xpath, $xpath);
}
}