summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlijinjin <[email protected]>2023-03-31 15:45:07 +0800
committerlijinjin <[email protected]>2023-03-31 15:45:07 +0800
commit7c0b802869fc4f05ded9e1a7db3308639b45fd60 (patch)
treee4c36094fcab172a02c32fb6d5ebb7df249817eb
parente916cc4761d58b841a79bb260b3193dd64db656a (diff)
修改dataset测试数据和定位
-rw-r--r--other/data/reports/datasets_data.yaml9
-rw-r--r--other/data/template/page_template.yaml10
2 files changed, 9 insertions, 10 deletions
diff --git a/other/data/reports/datasets_data.yaml b/other/data/reports/datasets_data.yaml
index 284cbaa..4cce98b 100644
--- a/other/data/reports/datasets_data.yaml
+++ b/other/data/reports/datasets_data.yaml
@@ -1,6 +1,5 @@
#正向用例
-datasets_data:
-
+datasets_data:
#创建datasetgroupby(2)+filter(2个OrCondition)
-
-
@@ -783,7 +782,7 @@ datasets_data:
operatingType: open
SearchName: 自动化测试2
Delete: click
- PageAssert: This data is referenced by chart libraries and cannot be deleted
+ PageAssert: This data is referenced by chart libraries and cannot be operated
NoButton: click
#翻页
@@ -798,12 +797,12 @@ datasets_data:
operatingType: open
ColumnSetup:
-
- Operating: click
+ Operation: click
-
OkButton: click
ColumnAssert:
-
- Operating: Reference Count
+ Operation: Vsys ID
datasets_negative_data:
#反向用例
#输入框小于4个字符
diff --git a/other/data/template/page_template.yaml b/other/data/template/page_template.yaml
index 2644a42..8559908 100644
--- a/other/data/template/page_template.yaml
+++ b/other/data/template/page_template.yaml
@@ -12440,7 +12440,7 @@ datasets_page:
value: SearchName
-
type: combination
- position: xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[5]/div/div/span/span
+ position: id=reportDataset_copy1011
value: Copy
data:
-
@@ -12456,7 +12456,7 @@ datasets_page:
value: Delete
-
type: click
- position: xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[6]/div/div/div
+ position: xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[7]/div/div/div
value: ReferenceCount
-
type: click
@@ -12478,8 +12478,8 @@ datasets_page:
data:
-
type: click
- position: //*[@id="app"]/div/div[last()-1]/div/div/div[2]/ul/li[5]
- value: Operating
+ position: //*[@id="app"]/div/div[last()-1]/div/div/div[2]/ul/li[6]
+ value: Operation
data: null
-
type: click
@@ -12494,7 +12494,7 @@ datasets_page:
-
type: assert
position: xpath=//*[@id="ly-table1-listcontent"]/div/div[2]/table/thead/tr/th[5]/div/div/span[1]
- value: Operating
+ value: Operation
data: null
-
type: click