完善UI自动化用例,调整用例顺序

This commit is contained in:
byb11
2021-02-23 15:23:23 +08:00
parent 03e9306d0e
commit 6d96e5488e
21 changed files with 286 additions and 142 deletions

View File

@@ -554,7 +554,7 @@ AdminTurnPage
Should Not Be Equal ${text3} ${text4}
Should Not Be Equal ${text1} ${text5}
PagingDisplay
AdministrationPagingDisplay
[Arguments] ${Number}
[Documentation]
... ${Number}: 设置页面显示数据条数 20、5、30、50、100
@@ -582,7 +582,7 @@ PagingDisplay
${quzheng} Evaluate int(${qumo})
${b} Set Variable ${1}
${Page1} Evaluate ${quzheng}+${b}
${Page} Set Variable if "${qumo}" != "0" ${Page1} ${qumo}
${Page} Set Variable if "${quyu}" != "0" ${Page1} ${quzheng}
sleep 1
${text} Get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div/div/ul/li[last()]
Should Be Equal As Strings ${text} ${Page}
@@ -613,7 +613,7 @@ AuditLogs-PagingDisplay
${quzheng} Evaluate int(${qumo})
${b} Set Variable ${1}
${Page1} Evaluate ${quzheng}+${b}
${Page} Set Variable if "${qumo}" != "0" ${Page1} ${qumo}
${Page} Set Variable if "${quyu}" != "0" ${Page1} ${quzheng}
sleep 1
${text} Get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[4]/div/ul/li[last()]
Should Be Equal As Strings ${text} ${Page}