         .waitForElementVisible  '.status-bar a.share.active', 20000 # Assertion
 
 
-  endSessionFromStatusBar: (browser) ->
+
+  endSessionFromStatusBar: (browser, shouldAssert = yes) ->
 
     statusBarSelector       = '.status-bar .collab-status'
     buttonContainerSelector = statusBarSelector + ' .button-container'

      .waitForElementVisible  '.with-buttons', 20000
      .waitForElementVisible  buttonsSelector, 20000
      .click                  buttonsSelector + ' button.green'
      .waitForElementVisible  notStartedButtonSelector, 20000 # Assertion


  openChatSettingsMenu: (browser) ->

      .waitForElementVisible  buttonContainerSelector, 20000
      .click                  buttonContainerSelector + ' button.end-session'

    @endSessionModal(browser, shouldAssert)


  endSessionFromChat: (browser) ->
