open |
/nuxeo/logout |
|
type |
username |
Administrator |
type |
password |
Administrator |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as Administrator |
|
clickAndWait |
Link=Users & groups |
|
clickAndWait |
link=Create a new user |
|
type |
//input[@id='createUser:nxl_user:nxw_username'] |
susan |
type |
//input[@id='createUser:nxl_user:nxw_firstname'] |
Susan |
type |
//input[@id='createUser:nxl_user:nxw_lastname'] |
Myers |
type |
//input[@id='createUser:nxl_user:nxw_company'] |
Nuxeo |
type |
//input[@id='createUser:nxl_user:nxw_email'] |
sg+susan@nuxeo.com |
type |
//input[@id='createUser:nxl_user:nxw_firstPassword'] |
susan1 |
type |
//input[@id='createUser:nxl_user:nxw_secondPassword'] |
susan1 |
clickAndWait |
//input[@value='Save'] |
|
verifyElementPresent |
link=Edit |
|
verifyElementPresent |
link=Change password |
|
verifyElementPresent |
link=Delete |
|
verifyTextPresent |
Myers |
|
clickAndWait |
link=Groups |
|
clickAndWait |
link=Create a new group |
|
type |
//input[@id='createGroup:nxl_group:nxw_groupname'] |
sub-admins |
typeKeys |
//input[@name='createGroup:nxl_group:nxw_members_suggest'] |
sus |
waitForCondition |
selenium.browserbot.getCurrentWindow().document.getElementById('createGroup:nxl_group:nxw_members_suggestionBox').style.display != 'none' |
10000 |
verifyText |
//*[@id='createGroup:nxl_group:nxw_members_suggestionBox:suggest']/x:tbody/x:tr[1]/x:td[2] |
Susan Myers |
click |
//*[@id='createGroup:nxl_group:nxw_members_suggestionBox:suggest']/x:tbody/x:tr[1]/x:td[2] |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().document.getElementById('createGroup:nxl_group:nxw_members_list:0:nxw_members_listItem') != null |
10000 |
clickAndWait |
//input[@value='Save'] |
|
verifyTextPresent |
sub-admins |
|
verifyTextPresent |
Group's members |
|
verifyElementPresent |
link=View |
|
verifyElementPresent |
link=Edit |
|
clickAndWait |
link=Back to the list |
|
type |
//input[@id='searchForm:searchText'] |
admi |
clickAndWait |
//input[@id='searchForm:searchButton'] |
|
clickAndWait |
link=administrators |
|
clickAndWait |
link=Edit |
|
typeKeys |
//input[@name='editGroup:nxl_group:nxw_subgroups_suggest'] |
sub |
waitForCondition |
selenium.browserbot.getCurrentWindow().document.getElementById('editGroup:nxl_group:nxw_subgroups_suggestionBox').style.display != 'none' |
10000 |
verifyText |
//*[@id='editGroup:nxl_group:nxw_subgroups_suggestionBox:suggest']/x:tbody/x:tr[1]/x:td[2] |
sub-admins |
click |
//*[@id='editGroup:nxl_group:nxw_subgroups_suggestionBox:suggest']/x:tbody/x:tr[1]/x:td[2] |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().document.getElementById('editGroup:nxl_group:nxw_subgroups_list:0:nxw_subgroups_listItem') != null |
10000 |
clickAndWait |
//input[@value='Save'] |
|
verifyTextPresent |
Group's members |
|
verifyElementPresent |
link=View |
|
verifyElementPresent |
link=Edit |
|
verifyTextPresent |
sub-admins |
|
verifyTextNotPresent |
susan |
|
clickAndWait |
link=Users |
|
type |
//input[@id='searchForm:searchText'] |
susan |
clickAndWait |
//input[@id='searchForm:searchButton'] |
|
clickAndWait |
link=susan |
|
verifyTextPresent |
sub-admins |
|
verifyTextNotPresent |
administrators |
|
clickAndWait |
link=Log out |
|
type |
username |
susan |
type |
password |
susan1 |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as susan |
|
clickAndWait |
//div[@class='breadcrumbs']/form/a |
|
verifyTextPresent |
Domains on default server |
|
verifyElementPresent |
link=Create a new domain |
|
clickAndWait |
link=Default domain |
|
clickAndWait |
Link=Workspaces |
|
verifyElementPresent |
link=Vocabularies |
|
clickAndWait |
link=Users & groups |
|
verifyElementPresent |
link=Create a new user |
|
clickAndWait |
link=Create a new user |
|
verifyTextPresent |
New user |
|
clickAndWait |
link=Groups |
|
verifyElementPresent |
link=Create a new group |
|
clickAndWait |
link=Create a new group |
|
verifyTextPresent |
New group |
|
verifyElementPresent |
link=testWorskspace1 |
|
verifyElementPresent |
link=testWorkspace2 |
|
clickAndWait |
link=Workspaces |
|
verifyElementNotPresent |
link=Access rights |
|
verifyElementPresent |
link=Edit |
|
verifyElementPresent |
link=Create a new workspace |
|
verifyElementNotPresent |
link=Subscriptions |
|
verifyElementNotPresent |
link=My subscriptions |
|
verifyElementPresent |
link=Edit |
|
verifyElementNotPresent |
//img[@title='Email'] |
|
verifyElementNotPresent |
link=History |
|
verifyElementNotPresent |
link=Theme |
|
clickAndWait |
link=testWorskspace1 |
|
verifyElementNotPresent |
link=Subscriptions |
|
verifyElementPresent |
link=My subscriptions |
|
clickAndWait |
link=testFolder1 |
|
clickAndWait |
link=Note to be modified |
|
verifyElementPresent |
//img[@title='Email'] |
|
verifyElementPresent |
link=Publish |
|
verifyElementPresent |
link=Lock |
|
verifyElementPresent |
link=Edit |
|
clickAndWait |
link=Workflow |
|
verifyTextPresent |
Start a workflow |
|
clickAndWait |
link=Edit |
|
clickAndWait |
link=Files |
|
clickAndWait |
link=Relations |
|
verifyElementPresent |
link=Add a new relation |
|
clickAndWait |
link=Comments |
|
verifyElementPresent |
link=Add a comment |
|
clickAndWait |
link=History |
|
verifyTextPresent |
Event log |
|
verifyTextPresent |
Archived versions |
|
verifyElementPresent |
//input[@value='Restore'] |
|
verifyElementPresent |
//input[@value='View archived version'] |
|
clickAndWait |
Link=Sections |
|
verifyElementPresent |
link=Create a new section |
|
verifyElementPresent |
link=testSection1 |
|
clickAndWait |
link=testSection1 |
|
verifyElementPresent |
link=New document |
|
verifyElementNotPresent |
link=Access rights |
|
verifyElementPresent |
link=Edit |
|
verifyElementNotPresent |
link=Theme |
|
verifyElementNotPresent |
//img[@title='Email'] |
|
verifyElementPresent |
link=My subscriptions |
|
verifyElementNotPresent |
link=Subscriptions |
|
verifyElementPresent |
link=History |
|
clickAndWait |
link=Log out |
|