调整Ui自动化代码

This commit is contained in:
byb11
2021-04-28 11:42:59 +08:00
parent 394154396c
commit ff24ca2b53
4 changed files with 7 additions and 18 deletions

View File

@@ -70,8 +70,8 @@ MyAccountPasswordNotModified
[Tags] Negtive UI Administration My Account
OpenMyAccountPage
EditMyAccount ${username} ${password} ${password}
Wait Until Element Is Enabled xpath=//*[@id="app"]/following-sibling::div/p ${sleep_Wait}
Assertion //*[@id="app"]/following-sibling::div/p The password setting cannot be the same as the previous one.
Wait Until Page Contains Element xpath=//*[@id="app"]/following-sibling::div/p ${sleep_Wait}
Assertion /html/body/div[last()]/p The password setting cannot be the same as the previous one.
MyAccountTwoPasswordsAreInconsistent
[Tags] Negtive UI Administration My Account