完善UI自动化用例,调整用例顺序
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user