summaryrefslogtreecommitdiff
path: root/case
diff options
context:
space:
mode:
authorLihe <[email protected]>2022-10-11 09:56:16 +0800
committerLihe <[email protected]>2022-10-11 09:56:16 +0800
commit95dccbb39fa497815b3fad71d5f2f27c1ed078e8 (patch)
tree71b5b22f4d35b4913fe5d536a6145e7a4455945e /case
parent2cbc99bc85a00f0db2e1c494f346268815a8a1f2 (diff)
补充login profiles测试数据
Diffstat (limited to 'case')
-rw-r--r--case/admin_area/login_profile.robot31
1 files changed, 16 insertions, 15 deletions
diff --git a/case/admin_area/login_profile.robot b/case/admin_area/login_profile.robot
index d380ef7..8214749 100644
--- a/case/admin_area/login_profile.robot
+++ b/case/admin_area/login_profile.robot
@@ -28,20 +28,21 @@ login_profile
END
-# login_profile_negtive
- # log ${TEST NAME}
+login_profile_negtive
+ log ${TEST NAME}
# # 读取模板文件内容
- # ${yamltemplate} YamlLoad ${path}/data/template/page_template.yaml
- # ${objtemplate} Get From Dictionary ${yamltemplate} login_profile_page
+ ${yamltemplate} YamlLoad ${path}/data/template/page_template.yaml
+ ${objtemplate} Get From Dictionary ${yamltemplate} login_profile_page
# # 读取数据文件内容
- # ${yamlData} YamlLoad ${path}/data/admin_area/login_profile_data.yaml
- # ${objDataList} Get From Dictionary ${yamlData} ${TEST NAME}_data
-
- # # 读取模板文件中OpenCreateOrEditPageIds中的数据(打开页面)
- # ${openCreateOrEditPageIds} Get From Dictionary ${objtemplate} openCreateOrEditPage
- # # 读取模板文件中PageData中的数据(打开页面)
- # ${tempData} Get From Dictionary ${objtemplate} templateData
- # ${positionData} Get From Dictionary ${objtemplate} positionData
- # FOR ${objData} IN @{objDataList}
- # Run Keyword And Continue On Failure CreateOrEditPageNegtive ${tempData} ${objData} ${openCreateOrEditPageIds} ${positionData}
- # END \ No newline at end of file
+ ${yamlData} YamlLoad ${path}/data/admin_area/login_profile_data.yaml
+ ${objDataList} Get From Dictionary ${yamlData} ${TEST NAME}_data
+
+ # # 读取模板文件中OpenCreateOrEditPageIds中的数据(打开页面)
+ ${openCreateOrEditPageIds} Get From Dictionary ${objtemplate} openCreateOrEditPage
+ # # 读取模板文件中PageData中的数据(打开页面)
+ ${tempData} Get From Dictionary ${objtemplate} templateData
+ ${positionData} Get From Dictionary ${objtemplate} positionData
+ OpenAdminAreaPage
+ FOR ${objData} IN @{objDataList}
+ Run Keyword And Continue On Failure CreateOrEditPageNegtive ${tempData} ${objData} ${openCreateOrEditPageIds} ${positionData}
+ END \ No newline at end of file