调整RoleUI自动化代码

This commit is contained in:
byb11
2021-04-13 14:38:41 +08:00
parent 783443473c
commit 458e0890e3

View File

@@ -258,10 +258,10 @@ RolesCreateNameMinSize
[Tags] Boundary UI Administration Roles
${list} Create list //*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[1]/div/i
... //*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[2]/div/i
CreateRoles @ 自动化测试 ${list}
CreateRoles qwqe 自动化测试 ${list}
Wait Until Element Is Enabled id=profilesTabs_Profile_Insert ${sleep_Wait}
RoleSearch @
Assertion //*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[1]/div/div/span/span @
RoleSearch qwqe
Assertion //*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[1]/div/div/span/span qwqe
RolesDelete
RolesCreateNameMaxSize
@@ -299,4 +299,4 @@ RolesCreateNameNull
sleep ${sleep_min}
click element id=rolesOk
sleep ${sleep_min}
Assertion //*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[1]/div/div[3] Please enter the content
Assertion //*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[1]/div/div[3] The length of the name is at most 128 characters and cannot be less than 4 characters