should_change_password | ||
open | /sonar/sessions/login | |
type | id=login | account-user |
type | id=password | password |
clickAndWait | commit | |
waitForElementPresent | css=.js-user-authenticated | |
open | /sonar/account/security | |
waitForElementPresent | id=change-password | |
type | id=old_password | password |
type | id=password | new_password |
type | id=password_confirmation | new_password |
click | id=change-password | |
waitForElementPresent | css=.alert-success | |
open | /sonar/sessions/logout | |
open | /sonar/sessions/login | |
type | id=login | account-user |
type | id=password | new_password |
clickAndWait | commit | |
waitForText | id=global-navigation | *User With Account* |