Collaboration view: consultation by non member
setTimeout 120000
open restAPI/systemLog?token=dolog&level=WARN&message=-----Selenium consultationByNonMember
open logout
type username nonMemberSW
type password pwd
clickAndWait Submit
waitForOpensocialGadgetsToLoad nxDocumentListData,content 60000
click id=addGadgetButton
selectFrame //iframe[@id='fancybox-frame']
waitForElementPresent //div[@id='gadgetListContainer']//div[@gadget-name='publicsocialworkspaces']
click //div[@id='gadgetListContainer']//div[@gadget-name='publicsocialworkspaces']
selectWindow null
selectOpenSocialGadgetFrame publicsocialworkspaces
waitForElementPresent //a[@title='SocialWorkspace_SocialCollaborationView_Visibility']
assignId //a[@title='SocialWorkspace_SocialCollaborationView_Visibility'] selectedElementId
selectWindow null
clickAndWait selectedElementId
waitForElementPresent link=Go to Articles
clickAndWait link=Go to Articles
verifyTextNotPresent make public
verifyTextNotPresent restrict to the Social Workspace
clickAndWait id=title_Two
verifyTextNotPresent make public
verifyTextNotPresent restrict to the Social Workspace