     professionalSelector = '.professional .plan-price cite'
     buttonSelector       = '.interval-toggle button.clean-gray:not(.toggle)'
     pricingSelector      = '.content-page.pricing section.plans'
+    selectBox            = '.interval-toggle .kdselectbox'
+    selectBoxArrow       = "#{selectBox} span.arrows"
+    monthOption          = "#{selectBox} option[value=month]"
 
     browser
       .url                    helpers.getUrl() + '/Pricing'

helpers = require '../helpers/helpers.js'
assert  = require 'assert'

module.exports =


      .assert.containsText    hobbyistSelector, '9.95' # Assertion
      .assert.containsText    developerSelector, '19.95' # Assertion
      .assert.containsText    professionalSelector, '39.95' # Assertion

      if HUBSPOT
        browser
          .waitForElementVisible  selectBox, 20000
          .waitForElementVisible  selectBoxArrow, 20000
          .click                  selectBoxArrow
          .waitForElementVisible  monthOption, 20000
          .click                  monthOption
      else
        browser
          .waitForElementVisible  buttonSelector, 20000
          .click                  buttonSelector

      browser
        .assert.containsText    hobbyistSelector, '12.50' # Assertion
        .assert.containsText    developerSelector, '24.50' # Assertion
        .assert.containsText    professionalSelector, '49.50' # Assertion
        .end()
