From 35f6c910d4ee2bf3af4da74facd43378dcaf9ccb Mon Sep 17 00:00:00 2001 From: sunxiaoqi Date: Wed, 9 Oct 2024 17:13:58 +0000 Subject: [PATCH] *[task#129851,doing,0.3h] Add ui test files of create an api doc --- module/api/test/ui/createapi.php | 0 module/api/test/ui/page/index.php | 14 ++++++++++++++ 2 files changed, 14 insertions(+) create mode 100755 module/api/test/ui/createapi.php create mode 100644 module/api/test/ui/page/index.php diff --git a/module/api/test/ui/createapi.php b/module/api/test/ui/createapi.php new file mode 100755 index 0000000000..e69de29bb2 diff --git a/module/api/test/ui/page/index.php b/module/api/test/ui/page/index.php new file mode 100644 index 0000000000..4e101e8fa1 --- /dev/null +++ b/module/api/test/ui/page/index.php @@ -0,0 +1,14 @@ + '/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); + } +}