Sha256: 88080eace8d0f75adf523ce99e8336779f78875072635d5fe918a75efe3d6c51

Contents?: true

Size: 856 Bytes

Versions: 2

Compression:

Stored size: 856 Bytes

Contents

Feature: opting out of ab tests based on configuration

Background:
    Given I run `ckit new split-test`
    And I cd to "split-test"
    And a file named "beakers/first_beaker.rb" with:
    """
    describe "Split test beaker", :depth => 'shallow' do
      it "would not hit the ab testing end point" do
          @driver.get 'http://the-internet.herokuapp.com/abtest'
          @driver.find_element(css: 'h3').text.should == 'No A/B Test'
      end
    end
    """
    And I overwrite config.yaml with:
      """
      screenshot_on_fail: true
      base_url: 'http://the-internet.herokuapp.com/abtest'
      selenium_connect:
          browser: 'firefox'
      split_testing:
        provider: 'optimizely'
        opt_out: true
      """

  Scenario: opt out is on
    When I run `ckit brew`
    Then the stdout should contain "1 example, 0 failures"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
chemistrykit-3.9.1 features/split_testing.feature
chemistrykit-3.9.0 features/split_testing.feature