Skip to content

Instantly share code, notes, and snippets.

@saberma
Created July 20, 2011 07:41
Show Gist options
  • Save saberma/1094530 to your computer and use it in GitHub Desktop.
Save saberma/1094530 to your computer and use it in GitHub Desktop.
all integration error puts here
Failures:
1) Shop::Shops GET /products should show product
Failure/Error: choose '普通快递-¥10.0' #选择配送方式
Capybara::ElementNotFound:
cannot choose field, no radio button with id, name, or label '普通快递-¥10.0' found
# (eval):2:in `choose'
# ./spec/requests/shop/shops_spec.rb:53:in `block (3 levels) in <top (required)>'
2) Guides Task Payment should be complete
Failure/Error: find('.guide-outer.above').has_content?('下一步是 设置您的物流费用').should be_true
expected false to be true
# ./spec/requests/guides_spec.rb:166:in `block (4 levels) in <top (required)>'
3) Guides Task Shipping should show check off
Failure/Error: has_content?('在此页面您可以添加商品发送至任何地区的运费').should be_true
expected false to be true
# ./spec/requests/guides_spec.rb:181:in `block (4 levels) in <top (required)>'
4) Guides Task Shipping should pick another
Failure/Error: click_on '选择其他步骤'
Capybara::ElementNotFound:
no link or button '选择其他步骤' found
# (eval):2:in `click_on'
# ./spec/requests/guides_spec.rb:187:in `block (4 levels) in <top (required)>'
5) Guides Task Shipping should be complete
Failure/Error: click_on '我已经完成此步骤'
Capybara::ElementNotFound:
no link or button '我已经完成此步骤' found
# (eval):2:in `click_on'
# ./spec/requests/guides_spec.rb:195:in `block (4 levels) in <top (required)>'
6) Guides Task Domain should show check off
Failure/Error: find('#task-checkoff').visible?.should be_true
expected false to be true
# ./spec/requests/guides_spec.rb:215:in `block (4 levels) in <top (required)>'
7) Guides Task Domain should pick another
Failure/Error: click_on '选择其他步骤'
Capybara::ElementNotFound:
no link or button '选择其他步骤' found
# (eval):2:in `click_on'
# ./spec/requests/guides_spec.rb:220:in `block (4 levels) in <top (required)>'
8) Guides Task Domain should be complete
Failure/Error: click_on '我已经完成此步骤'
Capybara::ElementNotFound:
no link or button '我已经完成此步骤' found
# (eval):2:in `click_on'
# ./spec/requests/guides_spec.rb:228:in `block (4 levels) in <top (required)>'
9) Guides Launch should be launch
Failure/Error: click_on '启用我的商店'
Capybara::ElementNotFound:
no link or button '启用我的商店' found
# (eval):2:in `click_on'
# ./spec/requests/guides_spec.rb:248:in `block (3 levels) in <top (required)>'
Finished in 2602.78 seconds
211 examples, 9 failures
Failed examples:
rspec ./spec/requests/shop/shops_spec.rb:31 # Shop::Shops GET /products should show product
rspec ./spec/requests/guides_spec.rb:161 # Guides Task Payment should be complete
rspec ./spec/requests/guides_spec.rb:180 # Guides Task Shipping should show check off
rspec ./spec/requests/guides_spec.rb:186 # Guides Task Shipping should pick another
rspec ./spec/requests/guides_spec.rb:194 # Guides Task Shipping should be complete
rspec ./spec/requests/guides_spec.rb:213 # Guides Task Domain should show check off
rspec ./spec/requests/guides_spec.rb:219 # Guides Task Domain should pick another
rspec ./spec/requests/guides_spec.rb:227 # Guides Task Domain should be complete
rspec ./spec/requests/guides_spec.rb:245 # Guides Launch should be launch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment