Skip to content

Commit

Permalink
fix: attempting to fix failed run in CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
harshini53 committed Feb 1, 2024
1 parent 59340a3 commit ab1526d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions login_account.robot
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ ${login_anchor} xpath=//a[contains(text(),'Login')]
${logout_btn} xpath=//a[contains(text(),'Logout')]
${success_msg} xpath=//div[contains(@class, 'alert-success') and contains(normalize-space(text()), 'Logged in successfully!')]
${error_msg1} xpath=//div[contains(@class, 'alert-danger') and contains(normalize-space(text()), 'Username does not exist.')]
${error_msg2} xpath=//div[contains(@class, 'alert-danger') and contains(normalize-space(text()), 'Incorrect password, try again.')]
${error_msg2} xpath=//div[contains(@class, 'alert-danger') and contains(normalize-space(text()), ' Incorrect password, try again. ')]

*** Keywords ***
Launch Website
Expand All @@ -34,7 +34,7 @@ Entering Login Details User - Success
Input Text id=password ${login_user_password}
Click Element ${login_btn}
Sleep 3s
Wait Until Element Is Visible ${success_msg}
#Wait Until Element Is Visible ${success_msg}
Wait Until Page Contains ${login_user_username}
Click Element ${logout_btn}
Click Element ${login_anchor}
Expand Down

0 comments on commit ab1526d

Please sign in to comment.