| setTimeout |
30000 |
|
| open |
restAPI/systemLog?token=dolog&level=WARN&message=----- Selenium deleteUser |
|
| open |
logout |
|
| type |
username |
Administrator |
| type |
password |
Administrator |
| clickAndWait |
Submit |
|
| verifyTextPresent |
Administrator |
|
| clickAndWait |
Link=Admin Center |
|
| clickAndWait |
Link=Users & Groups |
|
| watchA4jRequests |
|
|
| click |
link=Create a new user |
|
| waitForA4jRequest |
10000 |
|
| type |
//input[@id='createUserView:createUser:nxl_user:nxw_username'] |
carlos |
| type |
//input[@id='createUserView:createUser:nxl_user:nxw_email'] |
sg+carlos@nuxeo.com |
| type |
//input[@id='createUserView:createUser:nxl_user:nxw_firstPassword'] |
carlos1 |
| type |
//input[@id='createUserView:createUser:nxl_user:nxw_secondPassword'] |
carlos1 |
| typeKeys |
css=div[id$='nxw_groups_select2'] input |
members |
| typeKeys |
css=div[id$='nxw_groups_select2'] input |
members |
| waitForJSQueries |
10000 |
|
| clickAt |
css=.select2-result-label |
|
| watchA4jRequests |
|
|
| click |
//input[@value='Save'] |
|
| waitForA4jRequest |
10000 |
|
| verifyTextPresent |
carlos |
|
| clickAndWait |
link=Log out |
|
| type |
username |
carlos |
| type |
password |
carlos1 |
| clickAndWait |
Submit |
|
| verifyTextPresent |
carlos |
|
| clickAndWait |
Link=Home |
|
| clickAndWait |
link=Users & Groups |
|
| type |
//input[@id='usersListingView:searchForm:searchText'] |
carlos |
| watchA4jRequests |
|
|
| click |
//input[@id='usersListingView:searchForm:searchButton'] |
|
| waitForA4jRequest |
10000 |
|
| watchA4jRequests |
|
|
| click |
xpath=id('usersListingView:users_listing')/x:table[1]/x:tbody[1]/x:tr[1]/x:td[1]/x:a[1] |
|
| waitForA4jRequest |
10000 |
|
| verifyTextPresent |
Members group |
|
| clickAndWait |
link=Log out |
|
| type |
username |
Administrator |
| type |
password |
Administrator |
| clickAndWait |
Submit |
|
| verifyTextPresent |
Administrator |
|
| clickAndWait |
Link=Admin Center |
|
| clickAndWait |
link=Users & Groups |
|
| type |
//input[@id='usersListingView:searchForm:searchText'] |
carlos |
| watchA4jRequests |
|
|
| click |
//input[@id='usersListingView:searchForm:searchButton'] |
|
| waitForA4jRequest |
10000 |
|
| watchA4jRequests |
|
|
| click |
xpath=id('usersListingView:users_listing')/x:table[1]/x:tbody[1]/x:tr[1]/x:td[1]/x:a[1] |
|
| waitForA4jRequest |
10000 |
|
| click |
link=Delete |
|
| assertConfirmation |
Delete user? |
|
| waitForTextPresent |
No user matching the entered criteria |
10000 |
| clickAndWait |
link=Log out |
|