Created
October 21, 2014 11:48
-
-
Save jessereynolds/4c2c1ae091aed92f034c to your computer and use it in GitHub Desktop.
vagrant-flapjack flapjack 0.9.6 precise experimental tests
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ FF=true be rake capybara | |
/Users/jesse/.rbenv/versions/2.1.3/bin/ruby -S rspec spec/capybara/01_no_data_spec.rb spec/capybara/02_simulated_data_spec.rb spec/capybara/03_contacts_spec.rb | |
......*Connection to 127.0.0.1 closed. | |
FFFFFFFFOK | |
Connection to 127.0.0.1 closed. | |
Connection to 127.0.0.1 closed. | |
FFFFFOK | |
Connection to 127.0.0.1 closed. | |
Pending: | |
Test Flapjack before data is added Check Internal Statistics | |
# Not yet implemented | |
# ./spec/capybara/01_no_data_spec.rb:62 | |
Failures: | |
1) Simulate a failed check Check Failing Entities | |
Failure/Error: content.each { |c| expect(page).to have_content c } | |
expected to find text "1 failing out of" in "Summary All Entities Failing Entities All Checks Failing Checks Contacts Internal Statistics Failing Entities 0 failing out of 1 No check output has been processed yet, so there are no entities we can show you here. Flapjack version 0.9.6 | Flapjack Website | Flapjack on GitHub" | |
# ./spec/capybara/02_simulated_data_spec.rb:14:in `block (3 levels) in <top (required)>' | |
# ./spec/capybara/02_simulated_data_spec.rb:14:in `each' | |
# ./spec/capybara/02_simulated_data_spec.rb:14:in `block (2 levels) in <top (required)>' | |
2) Simulate a failed check Check Failing Checks | |
Failure/Error: content.each { |c| expect(page).to have_content c } | |
expected to find text "1 failing out of" in "Summary All Entities Failing Entities All Checks Failing Checks Contacts Internal Statistics Failing Checks 0 failing out of 7 Entity Check State Summary Last State Change Last Update Last Notification Flapjack version 0.9.6 | Flapjack Website | Flapjack on GitHub" | |
# ./spec/capybara/02_simulated_data_spec.rb:23:in `block (3 levels) in <top (required)>' | |
# ./spec/capybara/02_simulated_data_spec.rb:23:in `each' | |
# ./spec/capybara/02_simulated_data_spec.rb:23:in `block (2 levels) in <top (required)>' | |
3) Simulate a failed check Loads failing check | |
Failure/Error: content.each { |c| expect(page).to have_content c } | |
expected to find text "foo-app-01" in "" | |
# ./spec/capybara/02_simulated_data_spec.rb:33:in `block (3 levels) in <top (required)>' | |
# ./spec/capybara/02_simulated_data_spec.rb:33:in `each' | |
# ./spec/capybara/02_simulated_data_spec.rb:33:in `block (2 levels) in <top (required)>' | |
4) Simulate a failed check Ends initial Maintenance | |
Failure/Error: within(:css, "#scheduled-maintenance-summary") do | |
Capybara::ElementNotFound: | |
Unable to find css "#scheduled-maintenance-summary" | |
# ./spec/capybara/02_simulated_data_spec.rb:39:in `block (2 levels) in <top (required)>' | |
5) Simulate a failed check Adds and removes scheduled maintenance starting now | |
Failure/Error: within(:css, "#add-unscheduled-maintenance") do | |
Capybara::ElementNotFound: | |
Unable to find css "#add-unscheduled-maintenance" | |
# ./spec/capybara/02_simulated_data_spec.rb:62:in `block (2 levels) in <top (required)>' | |
6) Simulate a failed check Adds and removes future scheduled maintenance | |
Failure/Error: within(:css, "#add-unscheduled-maintenance") do | |
Capybara::ElementNotFound: | |
Unable to find css "#add-unscheduled-maintenance" | |
# ./spec/capybara/02_simulated_data_spec.rb:105:in `block (2 levels) in <top (required)>' | |
7) Simulate a failed check Use unscheduled Maintenance | |
Failure/Error: within(:css, "#add-unscheduled-maintenance") do | |
Capybara::ElementNotFound: | |
Unable to find css "#add-unscheduled-maintenance" | |
# ./spec/capybara/02_simulated_data_spec.rb:144:in `block (2 levels) in <top (required)>' | |
8) Simulate a failed check Decommission check | |
Failure/Error: click_button 'Decommission Check' | |
Capybara::ElementNotFound: | |
Unable to find button "Decommission Check" | |
# ./spec/capybara/02_simulated_data_spec.rb:179:in `block (2 levels) in <top (required)>' | |
9) Contact Management Add contact | |
Failure/Error: NAME.values.each { |v| expect(page).to have_content v } | |
expected to find text "Test" in "Summary All Entities Failing Entities All Checks Failing Checks Contacts Internal Statistics Edit Contacts First Name Last Name Actions New Contact First name Last name Create Cancel Add contact Flapjack version 0.9.6 | Flapjack Website | Flapjack on GitHub" | |
# ./spec/capybara/03_contacts_spec.rb:32:in `block (3 levels) in <top (required)>' | |
# ./spec/capybara/03_contacts_spec.rb:32:in `each' | |
# ./spec/capybara/03_contacts_spec.rb:32:in `block (2 levels) in <top (required)>' | |
10) Contact Management Adds media to contact | |
Failure/Error: first('tr.contact_list_item').hover | |
NoMethodError: | |
undefined method `hover' for nil:NilClass | |
# ./spec/capybara/03_contacts_spec.rb:39:in `block (2 levels) in <top (required)>' | |
11) Contact Management Adds entity to contact | |
Failure/Error: first('tr.contact_list_item').hover | |
NoMethodError: | |
undefined method `hover' for nil:NilClass | |
# ./spec/capybara/03_contacts_spec.rb:56:in `block (2 levels) in <top (required)>' | |
12) Contact Management Checks media and entity were added to contact | |
Failure/Error: click_link "#{NAME[:first_name]} #{NAME[:last_name]}" | |
Capybara::ElementNotFound: | |
Unable to find link "Test Guy" | |
# ./spec/capybara/03_contacts_spec.rb:77:in `block (2 levels) in <top (required)>' | |
13) Contact Management Delete contact | |
Failure/Error: first('tr.contact_list_item').hover | |
NoMethodError: | |
undefined method `hover' for nil:NilClass | |
# ./spec/capybara/03_contacts_spec.rb:97:in `block (2 levels) in <top (required)>' | |
Finished in 1 minute 13.71 seconds | |
20 examples, 13 failures, 1 pending | |
Failed examples: | |
rspec ./spec/capybara/02_simulated_data_spec.rb:10 # Simulate a failed check Check Failing Entities | |
rspec ./spec/capybara/02_simulated_data_spec.rb:17 # Simulate a failed check Check Failing Checks | |
rspec ./spec/capybara/02_simulated_data_spec.rb:26 # Simulate a failed check Loads failing check | |
rspec ./spec/capybara/02_simulated_data_spec.rb:36 # Simulate a failed check Ends initial Maintenance | |
rspec ./spec/capybara/02_simulated_data_spec.rb:54 # Simulate a failed check Adds and removes scheduled maintenance starting now | |
rspec ./spec/capybara/02_simulated_data_spec.rb:97 # Simulate a failed check Adds and removes future scheduled maintenance | |
rspec ./spec/capybara/02_simulated_data_spec.rb:136 # Simulate a failed check Use unscheduled Maintenance | |
rspec ./spec/capybara/02_simulated_data_spec.rb:176 # Simulate a failed check Decommission check | |
rspec ./spec/capybara/03_contacts_spec.rb:23 # Contact Management Add contact | |
rspec ./spec/capybara/03_contacts_spec.rb:35 # Contact Management Adds media to contact | |
rspec ./spec/capybara/03_contacts_spec.rb:52 # Contact Management Adds entity to contact | |
rspec ./spec/capybara/03_contacts_spec.rb:75 # Contact Management Checks media and entity were added to contact | |
rspec ./spec/capybara/03_contacts_spec.rb:93 # Contact Management Delete contact | |
/Users/jesse/.rbenv/versions/2.1.3/bin/ruby -S rspec spec/capybara/01_no_data_spec.rb spec/capybara/02_simulated_data_spec.rb spec/capybara/03_contacts_spec.rb failed | |
jesse@Limiting-Factor vagrant-flapjack $ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ rake serverspec | |
/Users/jesse/.rbenv/versions/2.1.3/bin/ruby -I/Users/jesse/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/rspec-support-3.1.1/lib:/Users/jesse/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/rspec-core-3.1.5/lib /Users/jesse/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/rspec-core-3.1.5/exe/rspec --pattern spec/serverspec/\*_spec.rb | |
......F.....FFFF............................ | |
Failures: | |
1) Process "flapjack" args should match /\/opt\/flapjack\/bin\/flapjack server start/ | |
Failure/Error: its(:args) { should match /\/opt\/flapjack\/bin\/flapjack server start/ } | |
expected "/opt/flapjack/embedded/bin/ruby /opt/flapjack/bin/flapjack start" to match /\/opt\/flapjack\/bin\/flapjack server start/ | |
Diff: | |
@@ -1,2 +1,2 @@ | |
-/\/opt\/flapjack\/bin\/flapjack server start/ | |
+"/opt/flapjack/embedded/bin/ruby /opt/flapjack/bin/flapjack start" | |
# ./spec/serverspec/flapjack_spec.rb:19:in `block (2 levels) in <top (required)>' | |
2) Command "/opt/flapjack/bin/flapjack receiver httpbroker --help" should return stderr /port/ | |
Failure/Error: it { should return_stderr /port/ } | |
expected Command "/opt/flapjack/bin/flapjack receiver httpbroker --help" to return stderr /port/ | |
# ./spec/serverspec/flapjack_spec.rb:40:in `block (2 levels) in <top (required)>' | |
3) Command "/opt/flapjack/bin/flapjack receiver httpbroker --help" should return stderr /server/ | |
Failure/Error: it { should return_stderr /server/ } | |
expected Command "/opt/flapjack/bin/flapjack receiver httpbroker --help" to return stderr /server/ | |
# ./spec/serverspec/flapjack_spec.rb:41:in `block (2 levels) in <top (required)>' | |
4) Command "/opt/flapjack/bin/flapjack receiver httpbroker --help" should return stderr /database/ | |
Failure/Error: it { should return_stderr /database/ } | |
expected Command "/opt/flapjack/bin/flapjack receiver httpbroker --help" to return stderr /database/ | |
# ./spec/serverspec/flapjack_spec.rb:42:in `block (2 levels) in <top (required)>' | |
5) Command "/opt/flapjack/bin/flapjack receiver httpbroker --help" should return stderr /interval/ | |
Failure/Error: it { should return_stderr /interval/ } | |
expected Command "/opt/flapjack/bin/flapjack receiver httpbroker --help" to return stderr /interval/ | |
# ./spec/serverspec/flapjack_spec.rb:43:in `block (2 levels) in <top (required)>' | |
Finished in 7.89 seconds (files took 0.58399 seconds to load) | |
44 examples, 5 failures | |
Failed examples: | |
rspec ./spec/serverspec/flapjack_spec.rb:19 # Process "flapjack" args should match /\/opt\/flapjack\/bin\/flapjack server start/ | |
rspec ./spec/serverspec/flapjack_spec.rb:40 # Command "/opt/flapjack/bin/flapjack receiver httpbroker --help" should return stderr /port/ | |
rspec ./spec/serverspec/flapjack_spec.rb:41 # Command "/opt/flapjack/bin/flapjack receiver httpbroker --help" should return stderr /server/ | |
rspec ./spec/serverspec/flapjack_spec.rb:42 # Command "/opt/flapjack/bin/flapjack receiver httpbroker --help" should return stderr /database/ | |
rspec ./spec/serverspec/flapjack_spec.rb:43 # Command "/opt/flapjack/bin/flapjack receiver httpbroker --help" should return stderr /interval/ | |
/Users/jesse/.rbenv/versions/2.1.3/bin/ruby -I/Users/jesse/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/rspec-support-3.1.1/lib:/Users/jesse/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/rspec-core-3.1.5/lib /Users/jesse/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/rspec-core-3.1.5/exe/rspec --pattern spec/serverspec/\*_spec.rb failed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment