       .waitForElementVisible  '.with-buttons', 20000
       .waitForElementVisible  buttonsSelector, 20000
       .click                  buttonsSelector + ' button.green'
-      .waitForElementVisible  notStartedButtonSelector, 20000 # Assertion
+      .pause                  5000
+
+    if shouldAssert
+      browser.waitForElementVisible  notStartedButtonSelector, 20000 # Assertion
 
 
   openChatSettingsMenu: (browser) ->

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

    @endSessionModal(browser)


  endSessionFromChat: (browser) ->

    @endSessionModal(browser)


  endSessionModal: (browser, shouldAssert = yes) ->

    buttonsSelector = '.kdmodal .kdmodal-buttons'

