manageRightsUsersByManager
setTimeout 30000
open restAPI/systemLog?token=dolog&level=WARN&message=----- Selenium manageRightsUsersByManager
open logout
type username jsmith
type password jsmith1
clickAndWait Submit
clickAndWait link=Workspaces
clickAndWait link=testWorkspace1
verifyElementPresent link=Edit
clickAndWait link=Permissions
waitForElementPresent //div[contains(@class, 'jsLocalPermissions')]/*/paper-button
click //div[contains(@class, 'jsLocalPermissions')]/*/paper-button
waitForTextPresent Add a Permission
forceSelectPermissionUsername jdoe
click //h2[text()='Add a Permission']/..//paper-item[text()='Edit']
click //h2[text()='Add a Permission']/..//paper-button[text()='Create']
waitForTextNotPresent Add a Permission
click //paper-button[text()='New']
waitForTextPresent Add a Permission
forceSelectPermissionUsername bree
click //h2[text()='Add a Permission']/..//paper-item[text()='Read']
click //h2[text()='Add a Permission']/..//paper-button[text()='Create']
waitForTextNotPresent Add a Permission
click //paper-button[text()='New']
waitForTextPresent Add a Permission
forceSelectPermissionUsername lbramard
click //h2[text()='Add a Permission']/..//paper-item[text()='Read']
click //h2[text()='Add a Permission']/..//paper-button[text()='Create']
waitForTextNotPresent Add a Permission
click //paper-button[text()='New']
waitForTextPresent Add a Permission
forceSelectPermissionUsername linnet
click //h2[text()='Add a Permission']/..//paper-item[text()='Edit']
click //h2[text()='Add a Permission']/..//paper-button[text()='Create']
waitForTextNotPresent Add a Permission
clickAndWait link=Log Out