     @doLogout(browser)
 
     @doLogin(browser, user)
+
+
+  assertMainHeader: (browser, assertLoginLink = yes) ->
+
+    logoSelector = '[testpath=main-header] a#koding-logo'
+    loginLinkSelector = '[testpath=main-header] [testpath=login-link]'
+
+    browser.waitForElementVisible logoSelector, 25000
+
+    if assertLoginLink
+      browser.waitForElementVisible loginLinkSelector, 25000
 
 
   postActivity: (browser, shouldBeginTest = yes) ->

    return data


  openChangeTopFolderMenu: (browser) ->

    browser



  createWorkspace: require './createworkspace'


  deleteWorkspace: (browser, workspaceName) ->

