features/reporting.feature in chemistrykit-3.9.1 vs features/reporting.feature in chemistrykit-3.10.0
- old
+ new
@@ -3,11 +3,11 @@
In order to quickly know the status of the application
As a chemistry kit harness user
I want a detailed HTML report of failures
Background:
- Given I run `ckit new reporting-test`
+ Given I run `bundle exec ckit new reporting-test`
And I cd to "reporting-test"
And a file named "beakers/first_beaker.rb" with:
"""
describe "Reporting Beaker 1", :depth => 'shallow' do
it "loads an external web page, from 1, example 1" do
@@ -47,11 +47,11 @@
selenium_connect:
browser: 'firefox'
"""
Scenario: I can run the tests
- When I run `ckit brew`
+ When I run `bundle exec ckit brew`
Then the stdout should contain "5 examples, 3 failures, 1 pending"
And the following files should exist:
| evidence/final_results.html |
Scenario: I can run the tests local with concurrency
@@ -60,11 +60,11 @@
concurrency: 2
screenshot_on_fail: true
selenium_connect:
browser: 'chrome'
"""
- When I run `ckit brew`
+ When I run `bundle exec ckit brew`
Then the stdout should contain "5 examples, 3 failures, 1 pending"
And the following files should exist:
| evidence/final_results.html |
Scenario: I can run the tests with concurrency
@@ -77,11 +77,11 @@
browser: 'firefox'
sauce_username: 'testing_arrgyle'
sauce_api_key: 'ab7a6e17-16df-42d2-9ef6-c8d2539cc38a'
description: 'concurrency check'
"""
- When I run `ckit brew`
+ When I run `bundle exec ckit brew`
Then the stdout should contain "2 processes for 3 beakers"
And the following files should exist:
| evidence/final_results.html |
Scenario: I can run a passing suite
@@ -92,11 +92,11 @@
@driver.get "http://www.google.com"
@driver.title.should include("Google")
end
end
"""
- When I run `ckit brew --beakers=beakers/fourth_beaker.rb`
+ When I run `bundle exec ckit brew --beakers=beakers/fourth_beaker.rb`
And the following files should exist:
| evidence/final_results.html |
Scenario: I capture the dom from all open windows
Given a file named "beakers/fifth_beaker.rb" with:
@@ -107,9 +107,9 @@
@driver.find_element(css: '.example a').click
@driver.title.should include("Google")
end
end
"""
- When I run `ckit brew --beakers=beakers/fifth_beaker.rb`
+ When I run `bundle exec ckit brew --beakers=beakers/fifth_beaker.rb`
And the following files should exist:
| evidence/final_results.html |