   reinitializeTeamStack: (browser, done) ->
     browser
       .waitForElementVisible '.StackEditor-ShareModal.kdmodal footer', 20000
+      .waitForElementVisible '.kdcustomcheckbox input[type="checkbox"]'
+      .click '.kdcustomcheckbox input[type="checkbox"]'
+      .pause 3000
       .click shareButton
       .waitForElementVisible '.ContentModal.content-modal main', 20000
       .click shareButton, ->



  makeStackTeamDefault: (browser, done) ->
    console.log('testtt')
    browser.elements 'css selector', makeTeamDefaultButton, (result) ->
      result.value.map (value) ->
        browser.elementIdText value.ELEMENT, (res) ->

    wrongCustomVariable    = "foo: '"
    correctCustomVariable  = "foo: 'bar'"

    @gotoStackTemplate browser, =>
      browser.waitForElementVisible stackTemplateNameArea, 2000
      @switchTabOnStackCatalog browser, 'variables'
