*[task#129851,doing,0.3h] Add ui test files of create an api doc

This commit is contained in:
sunxiaoqi
2024-10-18 08:51:41 +08:00
committed by 李阳
parent 8461863662
commit 35f6c910d4
2 changed files with 14 additions and 0 deletions
View File
+14
View File
@@ -0,0 +1,14 @@
<?php
class indexPage extends page
{
public function __construct($webdriver)
{
parent::__construct($webdriver);
$xpath = array(
'createLibBtn' => '/html/body/div/div/div[1]/div[2]/a',
'createApiBtn' => '/html/body/div[1]/div/div[1]/div[2]/a[5]',
'fstDocPath' => '/html/body/div[1]/div/div[2]/div[2]/div/div/div[2]/ul/li/div/a/span[2]',
);
$this->dom->xpath = array_merge($this->dom->xpath, $xpath);
}
}