setTimeout |
120000 |
|
open |
/nuxeo/logout |
|
open |
/nuxeo/nxpath/default/default-domain/workspaces/testworskspace1/testfolder1/testnote1@view_documents |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as jdoe |
|
clickAndWait |
link=Workflow |
|
click |
//table[@class='dataInput']/tbody/tr/td[2]/span/table//tr[1]//input |
|
click |
//input[@value='workflowDocumentModificationNotAllowed'] |
|
clickAndWait |
//input[@value='Start'] |
|
verifyTextPresent |
Parallel workflow |
|
verifyTextPresent |
Modification not allowed |
|
verifyElementNotPresent |
link=Modification |
|
verifyElementNotPresent |
//input[@value='Start the workflow'] |
|
clickAndWait |
link=Log out |
|
open |
/nuxeo/nxpath/default/default-domain/workspaces/testworskspace1/testfolder1/testnote1@view_documents |
|
type |
username |
jsmith |
type |
password |
jsmith1 |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as jsmith |
|
verifyElementNotPresent |
//div[@id='lock_unlock_button'] |
|
verifyElementNotPresent |
link=Modification |
|
clickAndWait |
link=Workflow |
|
verifyTextNotPresent |
You can add reviewers using the form above. |
|
clickAndWait |
link=Log out |
|
open |
/nuxeo/nxpath/default/default-domain/workspaces/testworskspace1/testfolder1/testnote1@view_documents |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as jdoe |
|
clickAndWait |
link=Workflow |
|
verifyVisible |
//div[@class='tabsContent']/div/div[2]//div[@class='boxBody']//form |
|
type |
//div[@class='tabsContent']/div/div[2]//div[@class='boxBody']//td[@class='labelField']//input |
jsmith |
submitAndWait |
//div[@class='tabsContent']//form/ |
|
verifyTextPresent |
John Smith |
|
click |
link=Add to selection |
|
waitForCondition |
var value = selenium.getText('//div[@class='tabsContent']/div/div[2]//div[@class='boxBody']//table[@class='rightsAddManager']'); value.match(/Remove/); |
15000 |
select |
//table[@class='dataInput']//tr[2]//select |
label=Opinion |
type |
//div[@class='tabsContent']/div/div[2]//div[@class='boxBody']//table//textarea |
Comment 2 for jsmith |
clickAndWait |
//input[@value='Add'] |
|
verifyTextPresent |
Comment 2 for jsmith |
|
verifyElementPresent |
//input[@value='Start the workflow'] |
|
type |
//div[@class='tabsContent']/div/div[2]//div[@class='boxBody']//td[@class='labelField']//input |
jdoe |
submitAndWait |
//div[@class='tabsContent']//form/ |
|
verifyTextPresent |
John Doe |
|
click |
link=Add to selection |
|
waitForCondition |
var value = selenium.getText('//div[@class='tabsContent']/div/div[2]//div[@class='boxBody']//table[@class='rightsAddManager']'); value.match(/Remove/); |
15000 |
select |
//table[@class='dataInput']//tr[2]//select |
label=Opinion |
type |
//div[@class='tabsContent']/div/div[2]//div[@class='boxBody']//table//textarea |
Comment 2 for jdoe |
clickAndWait |
//input[@value='Add'] |
|
verifyTextPresent |
Comment 2 for jdoe |
|
clickAndWait |
//input[@value='Start the workflow'] |
|
clickAndWait |
link=Summary |
|
verifyTextNotPresent |
Review |
|
verifyTextPresent |
Project |
|
clickAndWait |
link=testFolder1 |
|
verifyTextNotPresent |
Workflow |
|
clickAndWait |
link=Log out |
|
type |
username |
jsmith |
type |
password |
jsmith1 |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as jsmith |
|
clickAndWait |
link=Dashboard |
|
verifyTextPresent |
Comment 2 for jsmith |
|
clickAndWait |
link=testNote1 |
|
verifyElementNotPresent |
//input[@value='Start the workflow'] |
|
verifyTextNotPresent |
Abandon workflow |
|
verifyTextNotPresent |
Participants management |
|
verifyNotVisible |
//div[@class='tabsContent']/div/div[2]//div[@class='boxBody']//form |
|
click |
link=Select reviewers |
|
waitForVisible |
//div[@class='tabsContent']/div/div[2]//div[@class='boxBody']//form |
|
type |
//div[@class='tabsContent']/div/div[2]//div[@class='boxBody']//td[@class='labelField']//input |
bree |
submitAndWait |
//div[@class='tabsContent']//form/ |
|
verifyTextPresent |
Bree Van de Kaamp |
|
click |
link=Add to selection |
|
waitForCondition |
var value = selenium.getText('//div[@class='tabsContent']/div/div[2]//div[@class='boxBody']//table[@class='rightsAddManager']'); value.match(/Remove/); |
15000 |
select |
//table[@class='dataInput']//tr[2]//select |
label=Diffusion |
type |
//div[@class='tabsContent']/div/div[2]//div[@class='boxBody']//table//textarea |
Comment 2 for bree |
clickAndWait |
//input[@value='Add'] |
|
verifyTextPresent |
Comment 2 for bree |
|
verifyElementPresent |
link=Remove |
|
clickAndWait |
link=Log out |
|
type |
username |
bree |
type |
password |
bree1 |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as bree |
|
clickAndWait |
link=Dashboard |
|
verifyTextPresent |
Comment 2 for bree |
|
clickAndWait |
link=testNote1 |
|
verifyElementNotPresent |
//input[@value='Start the workflow'] |
|
verifyTextNotPresent |
Abandon workflow |
|
verifyTextNotPresent |
Participants management |
|
verifyNotVisible |
//div[@class='tabsContent']/div/div[2]//div[@class='boxBody']//form |
|
click |
link=Select reviewers |
|
waitForVisible |
//div[@class='tabsContent']/div/div[2]//div[@class='boxBody']//form |
|
type |
//div[@class='tabsContent']/div/div[2]//div[@class='boxBody']//td[@class='labelField']//input |
lbramard |
submitAndWait |
//div[@class='tabsContent']//form/ |
|
verifyTextPresent |
Lucien Bramard |
|
click |
link=Add to selection |
|
waitForCondition |
var value = selenium.getText('//div[@class='tabsContent']/div/div[2]//div[@class='boxBody']//table[@class='rightsAddManager']'); value.match(/Remove/); |
15000 |
select |
//table[@class='dataInput']//tr[2]//select |
label=Diffusion |
type |
//div[@class='tabsContent']/div/div[2]//div[@class='boxBody']//table//textarea |
Comment 2 for lbramard |
clickAndWait |
//input[@value='Add'] |
|
verifyTextPresent |
Comment 2 for lbramard |
|
verifyElementPresent |
link=Remove |
|
clickAndWait |
link=Log out |
|
type |
username |
lbramard |
type |
password |
lbramard1 |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as lbramard |
|
clickAndWait |
link=Dashboard |
|
verifyTextPresent |
Comment 2 for lbramard |
|
clickAndWait |
link=testNote1 |
|
verifyElementNotPresent |
//input[@value='Start the workflow'] |
|
verifyTextNotPresent |
Abandon workflow |
|
verifyTextNotPresent |
Participants management |
|
verifyNotVisible |
//div[@class='tabsContent']/div/div[2]//div[@class='boxBody']//form |
|
verifyElementPresent |
link=Remove |
|
clickAndWait |
link=Remove |
|
verifyTextNotPresent |
Comment 2 for bree |
|
click |
link=Select reviewers |
|
waitForVisible |
//div[@class='tabsContent']/div/div[2]//div[@class='boxBody']//form |
|
type |
//div[@class='tabsContent']/div/div[2]//div[@class='boxBody']//td[@class='labelField']//input |
jdoe |
submitAndWait |
//div[@class='tabsContent']//form/ |
|
verifyTextPresent |
John Doe |
|
click |
link=Add to selection |
|
waitForCondition |
var value = selenium.getText('//div[@class='tabsContent']/div/div[2]//div[@class='boxBody']//table[@class='rightsAddManager']'); value.match(/Remove/); |
15000 |
select |
//table[@class='dataInput']//tr[2]//select |
label=Diffusion |
type |
//div[@class='tabsContent']/div/div[2]//div[@class='boxBody']//table//textarea |
Comment for jdoe |
clickAndWait |
//input[@value='Add'] |
|
verifyTextPresent |
Comment for jdoe |
|
verifyTextPresent |
Comment 2 for jdoe |
|
clickAndWait |
link=Log out |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as jdoe |
|
clickAndWait |
link=Dashboard |
|
clickAndWait |
link=testNote1 |
|
clickAndWait |
link=Workflow |
|
clickAndWait |
link=Remove |
|
verifyTextNotPresent |
Comment 2 for lbramard |
|
type |
//div[@class='tabsContent']//div[5]/form//textarea |
Abandon parallel review 2 |
clickAndWait |
//input[@value='Abandon workflow'] |
|
clickAndWait |
link=Workflow |
|
verifyTextPresent |
Start a workflow |
|
clickAndWait |
link=Dashboard |
|
verifyTextNotPresent |
Comment for myself |
|
verifyTextPresent |
Your dashboard is empty. |
|
clickAndWait |
link=Log out |
|