Skip to content

Instantly share code, notes, and snippets.

@proppy
Created August 23, 2010 17:37
Show Gist options
  • Save proppy/545935 to your computer and use it in GitHub Desktop.
Save proppy/545935 to your computer and use it in GitHub Desktop.
(in /home/proppy/Desktop/playground/watir-webdriver)
All dependencies seem to be installed.
trying 0.0.0.0:2000...
[2010-08-23 19:31:16] INFO WEBrick 1.3.1
[2010-08-23 19:31:16] INFO ruby 1.8.7 (2010-01-10) [x86_64-linux]
trying 0.0.0.0:2000...
trying 0.0.0.0:2000...
trying 0.0.0.0:2000...
trying 0.0.0.0:2000...
trying 0.0.0.0:2000...
trying 0.0.0.0:2000...
trying 0.0.0.0:2000...
trying 0.0.0.0:2000...
trying 0.0.0.0:2000...
trying 0.0.0.0:2000...
[2010-08-23 19:31:21] INFO WEBrick::HTTPServer#start: pid=3525 port=2000
trying 0.0.0.0:2000...
......................................................localhost - - [23/Aug/2010:19:31:38 CEST] "GET /forms_with_input_elements.html HTTP/1.1" 200 9324
- -> /forms_with_input_elements.html
localhost - - [23/Aug/2010:19:31:38 CEST] "GET /watirspec.css HTTP/1.1" 200 0
Referer -> /watirspec.css
localhost - - [23/Aug/2010:19:31:38 CEST] "GET /javascript/helpers.js HTTP/1.1" 200 356
Referer -> /javascript/helpers.js
localhost - - [23/Aug/2010:19:31:38 CEST] "GET /images/button.jpg HTTP/1.1" 200 1480
Referer -> /images/button.jpg
localhost - - [23/Aug/2010:19:31:38 CEST] "GET /favicon.ico HTTP/1.1" 404 420
- -> /favicon.ico
localhost - - [23/Aug/2010:19:31:39 CEST] "POST /post_to_me HTTP/1.1" 200 6738
Referer -> /post_to_me
..localhost - - [23/Aug/2010:19:31:39 CEST] "GET /favicon.ico HTTP/1.1" 404 420
- -> /favicon.ico
localhost - - [23/Aug/2010:19:31:39 CEST] "GET /favicon.ico HTTP/1.1" 404 420
- -> /favicon.ico
........................................................................................................................................localhost - - [23/Aug/2010:19:32:18 CEST] "POST /post_to_me HTTP/1.1" 200 2138
Referer -> /post_to_me
.......................................................................................localhost - - [23/Aug/2010:19:32:47 CEST] "GET /nested_frames.html HTTP/1.1" 200 242
- -> /nested_frames.html
localhost - - [23/Aug/2010:19:32:48 CEST] "GET /nested_frame_1.html HTTP/1.1" 200 7
Referer -> /nested_frame_1.html
localhost - - [23/Aug/2010:19:32:48 CEST] "GET /nested_frame_2.html HTTP/1.1" 200 202
Referer -> /nested_frame_2.html
localhost - - [23/Aug/2010:19:32:48 CEST] "GET /nested_frame_3.html HTTP/1.1" 200 331
Referer -> /nested_frame_3.html
localhost - - [23/Aug/2010:19:32:48 CEST] "GET /definition_lists.html HTTP/1.1" 200 1313
Referer -> /definition_lists.html
.............................................F............................F.........F...........................................................................................................................................................................................................................................................................................F...................................localhost - - [23/Aug/2010:19:34:43 CEST] "GET /plain_text HTTP/1.1" 200 18
- -> /plain_text
......localhost - - [23/Aug/2010:19:34:48 CEST] "GET /plain_text HTTP/1.1" 200 18
- -> /plain_text
.localhost - - [23/Aug/2010:19:34:48 CEST] "GET /non_control_elements.html HTTP/1.1" 200 7659
- -> /non_control_elements.html
localhost - - [23/Aug/2010:19:34:48 CEST] "GET /javascript/helpers.js HTTP/1.1" 304 0
Referer -> /javascript/helpers.js
..localhost - - [23/Aug/2010:19:34:53 CEST] "GET / HTTP/1.1" 200 17
- -> /
.....localhost - - [23/Aug/2010:19:34:55 CEST] "GET /tables.html HTTP/1.1" 200 5135
- -> /tables.html
..localhost - - [23/Aug/2010:19:34:56 CEST] "GET /forms_with_input_elements.html HTTP/1.1" 304 0
- -> /forms_with_input_elements.html
localhost - - [23/Aug/2010:19:34:56 CEST] "GET /watirspec.css HTTP/1.1" 304 0
Referer -> /watirspec.css
localhost - - [23/Aug/2010:19:34:56 CEST] "GET /images/button.jpg HTTP/1.1" 304 0
Referer -> /images/button.jpg
localhost - - [23/Aug/2010:19:34:56 CEST] "GET /definition_lists.html HTTP/1.1" 304 0
- -> /definition_lists.html
..............................................................................F............................................................................................................
1)
'Span#exist? returns true if the 'span' exists' FAILED
expected #<Watir::Span:0x7f764d5e1698 located=false selector={:tag_name=>"span", :text=>/Dubito, ergo cogito, ergo sum/}> to exist
./spec/watirspec/span_spec.rb:16:
2)
'Strong#exist? returns true if the element exists' FAILED
expected #<Watir::HTMLElement:0x7f764d52f330 located=false selector={:tag_name=>"strong", :text=>/Dubito, ergo cogito, ergo sum/}> to exist
./spec/watirspec/strong_spec.rb:16:
3)
'Strong#text returns the text of the element' FAILED
expected: "Dubito, ergo cogito, ergo sum.",
got: "Dubito, ergo cogito , ergo sum." (using ==)
./spec/watirspec/strong_spec.rb:75:
4)
'Link#exist? strips spaces from href attribute when locating elements' FAILED
expected #<Watir::Anchor:0x7f764d572400 located=false selector={:tag_name=>"a", :href=>/strip_space$/}> to exist
./spec/watirspec/link_spec.rb:30:
5)
'Radio#exists? returns true if the radio button exists' FAILED
expected #<Watir::Radio:0x7f764d54c098 located=false selector={:type=>"radio", :tag_name=>"input", :index=>0}> to exist
./spec/watirspec/radio_spec.rb:24:
Finished in 277.539918 seconds
886 examples, 5 failures
WatirSpec guards for this implementation:
not_compliant : {:file=>"./spec/watirspec/image_spec.rb:127"}
not_compliant : {:file=>"./spec/watirspec/image_spec.rb:139"}
not_compliant : {:file=>"./spec/watirspec/image_spec.rb:173"}
not_compliant : {:file=>"./spec/watirspec/image_spec.rb:194"}
bug : {:file=>"./spec/watirspec/table_spec.rb:65", :key=>"http://github.com/jarib/watir-webdriver/issues/#issue/2"}
bug : {:file=>"./spec/watirspec/table_spec.rb:79", :key=>"http://github.com/jarib/watir-webdriver/issues/#issue/2"}
bug : {:file=>"./spec/watirspec/table_spec.rb:89", :key=>"http://github.com/jarib/watir-webdriver/issues/#issue/2"}
bug : {:file=>"./spec/watirspec/table_spec.rb:103", :key=>"http://github.com/jarib/watir-webdriver/issues/#issue/2"}
bug : {:file=>"./spec/watirspec/table_spec.rb:124", :key=>"http://github.com/jarib/watir-webdriver/issues/issue/26"}
bug : {:file=>"./spec/watirspec/table_spec.rb:131", :key=>"http://github.com/jarib/watir-webdriver/issues/#issue/2"}
bug : {:file=>"./spec/watirspec/table_spec.rb:144", :key=>"http://github.com/jarib/watir-webdriver/issues/#issue/2"}
bug : {:file=>"./spec/watirspec/table_spec.rb:155", :key=>"http://github.com/jarib/watir-webdriver/issues/#issue/2"}
bug : {:file=>"./spec/watirspec/table_spec.rb:166", :key=>"http://github.com/jarib/watir-webdriver/issues/#issue/2"}
bug : {:file=>"./spec/watirspec/table_spec.rb:176", :key=>"http://github.com/jarib/watir-webdriver/issues/#issue/2"}
bug : {:file=>"./spec/watirspec/frames_spec.rb:4", :key=>"http://github.com/jarib/watir-webdriver/issues#issue/17"}
bug : {:file=>"./spec/watirspec/table_body_spec.rb:54", :key=>"http://github.com/jarib/watir-webdriver/issues/#issue/2"}
bug : {:file=>"./spec/watirspec/table_body_spec.rb:66", :key=>"http://github.com/jarib/watir-webdriver/issues/#issue/2"}
bug : {:file=>"./spec/watirspec/table_body_spec.rb:82", :key=>"http://github.com/jarib/watir-webdriver/issues/#issue/2"}
bug : {:file=>"./spec/watirspec/frame_spec.rb:48", :key=>"http://github.com/jarib/watir-webdriver/issues#issue/17"}
bug : {:file=>"./spec/watirspec/table_header_spec.rb:54", :key=>"http://github.com/jarib/watir-webdriver/issues/#issue/2"}
bug : {:file=>"./spec/watirspec/table_header_spec.rb:66", :key=>"http://github.com/jarib/watir-webdriver/issues/#issue/2"}
bug : {:file=>"./spec/watirspec/table_header_spec.rb:82", :key=>"http://github.com/jarib/watir-webdriver/issues/#issue/2"}
bug : {:file=>"./spec/watirspec/table_footer_spec.rb:53", :key=>"http://github.com/jarib/watir-webdriver/issues/#issue/2"}
bug : {:file=>"./spec/watirspec/table_footer_spec.rb:65", :key=>"http://github.com/jarib/watir-webdriver/issues/#issue/2"}
bug : {:file=>"./spec/watirspec/table_footer_spec.rb:81", :key=>"http://github.com/jarib/watir-webdriver/issues/#issue/2"}
not_compliant : {:file=>"./spec/watirspec/select_list_spec.rb:167"}
deviates : {:file=>"./spec/watirspec/select_list_spec.rb:173"}
bug : {:file=>"./spec/watirspec/table_cell_spec.rb:59", :key=>"http://github.com/jarib/watir-webdriver/issues#issue/25"}
not_compliant : {:file=>"./spec/watirspec/browser_spec.rb:52"}
not_compliant : {:file=>"./spec/watirspec/div_spec.rb:178"}
bug : {:file=>"./spec/watirspec/table_row_spec.rb:45", :key=>"http://github.com/jarib/watir-webdriver/issues/#issue/2"}
bug : {:file=>"./spec/watirspec/table_row_spec.rb:64", :key=>"http://github.com/jarib/watir-webdriver/issues/issue/26"}
bug : {:file=>"./spec/watirspec/table_row_spec.rb:72", :key=>"http://github.com/jarib/watir-webdriver/issues/#issue/2"}
bug : {:file=>"./spec/watirspec/table_row_spec.rb:87", :key=>"http://github.com/jarib/watir-webdriver/issues/#issue/2"}
bug : {:file=>"./spec/watirspec/frame_spec.rb:23", :key=>"http://github.com/jarib/watir-webdriver/issues#issue/17"}
bug : {:file=>"./spec/watirspec/frame_spec.rb:59", :key=>"http://github.com/jarib/watir-webdriver/issues#issue/17"}
not_compliant : {:file=>"./spec/watirspec/select_list_spec.rb:18"}
bug : {:file=>"./spec/watirspec/button_spec.rb:108", :key=>"http://github.com/jarib/watir-webdriver/issues/issue/27"}
bug : {:file=>"./spec/watirspec/element_spec.rb:28", :key=>"http://github.com/jarib/watir-webdriver/issues/issue/20"}
bug : {:file=>"./spec/watirspec/forms_spec.rb:17", :key=>"http://github.com/jarib/watir-webdriver/issues/issue/27"}
rake aborted!
Command /usr/bin/ruby1.8 -I"lib:lib:spec" "/var/lib/gems/1.8/gems/rspec-1.3.0/bin/spec" "spec/watirspec/pre_spec.rb" "spec/watirspec/tables_spec.rb" "spec/watirspec/strongs_spec.rb" "spec/watirspec/hn_spec.rb" "spec/watirspec/filefield_spec.rb" "spec/watirspec/radios_spec.rb" "spec/watirspec/dts_spec.rb" "spec/watirspec/em_spec.rb" "spec/watirspec/ins_spec.rb" "spec/watirspec/image_spec.rb" "spec/watirspec/table_headers_spec.rb" "spec/watirspec/hns_spec.rb" "spec/watirspec/li_spec.rb" "spec/watirspec/label_spec.rb" "spec/watirspec/button_spec.rb" "spec/watirspec/table_spec.rb" "spec/watirspec/element_spec.rb" "spec/watirspec/frames_spec.rb" "spec/watirspec/labels_spec.rb" "spec/watirspec/del_spec.rb" "spec/watirspec/area_spec.rb" "spec/watirspec/hiddens_spec.rb" "spec/watirspec/table_body_spec.rb" "spec/watirspec/images_spec.rb" "spec/watirspec/spans_spec.rb" "spec/watirspec/frame_spec.rb" "spec/watirspec/collections_spec.rb" "spec/watirspec/map_spec.rb" "spec/watirspec/dl_spec.rb" "spec/watirspec/table_bodies_spec.rb" "spec/watirspec/span_spec.rb" "spec/watirspec/meta_spec.rb" "spec/watirspec/dels_spec.rb" "spec/watirspec/strong_spec.rb" "spec/watirspec/divs_spec.rb" "spec/watirspec/dls_spec.rb" "spec/watirspec/ps_spec.rb" "spec/watirspec/ols_spec.rb" "spec/watirspec/checkbox_spec.rb" "spec/watirspec/links_spec.rb" "spec/watirspec/inses_spec.rb" "spec/watirspec/text_fields_spec.rb" "spec/watirspec/font_spec.rb" "spec/watirspec/table_rows_spec.rb" "spec/watirspec/dd_spec.rb" "spec/watirspec/table_header_spec.rb" "spec/watirspec/ul_spec.rb" "spec/watirspec/checkboxes_spec.rb" "spec/watirspec/areas_spec.rb" "spec/watirspec/dt_spec.rb" "spec/watirspec/table_footer_spec.rb" "spec/watirspec/text_field_spec.rb" "spec/watirspec/hidden_spec.rb" "spec/watirspec/option_spec.rb" "spec/watirspec/select_list_spec.rb" "spec/watirspec/link_spec.rb" "spec/watirspec/uls_spec.rb" "spec/watirspec/table_cell_spec.rb" "spec/watirspec/browser_spec.rb" "spec/watirspec/buttons_spec.rb" "spec/watirspec/dds_spec.rb" "spec/watirspec/maps_spec.rb" "spec/watirspec/ol_spec.rb" "spec/watirspec/div_spec.rb" "spec/watirspec/table_footers_spec.rb" "spec/watirspec/ems_spec.rb" "spec/watirspec/table_row_spec.rb" "spec/watirspec/radio_spec.rb" "spec/watirspec/metas_spec.rb" "spec/watirspec/p_spec.rb" "spec/watirspec/select_lists_spec.rb" "spec/watirspec/table_cells_spec.rb" "spec/watirspec/lis_spec.rb" "spec/watirspec/pres_spec.rb" "spec/watirspec/form_spec.rb" "spec/watirspec/forms_spec.rb" "spec/watirspec/filefields_spec.rb" "spec/element_spec.rb" "spec/input_spec.rb" "spec/container_spec.rb" "spec/browser_spec.rb" failed
(See full trace by running task with --trace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment