       .waitForElementVisible  buttonContainerSelector, 20000
       .click                  buttonContainerSelector + ' button.end-session'
 
-    @endSessionModal(browser)
+    @endSessionModal(browser, shouldAssert)
 
 
   endSessionFromChat: (browser) ->

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


  openChatSettingsMenu: (browser) ->

        .waitForElementVisible  '.status-bar a.share.active', 20000 # Assertion



  endSessionFromStatusBar: (browser, shouldAssert = yes) ->

    statusBarSelector       = '.status-bar .collab-status'
    buttonContainerSelector = statusBarSelector + ' .button-container'
