1
전달합니다. 이 (오른쪽 마지막 주장 전)이 시험에서 같은 지점에서 발생하는 것 같습니다 발생하면카피 바라 오류 메시지가 테스트 아직도 내가이 오류 메시지가
시험 :
는it "does something with things" do
#....
within('#dialog_box') do
click_button 'Save'
end
puts 'after within'
page.should have_content(thing_attrs[:name])
puts 'after assertion'
end
최종 출력 :
after within
undefined|36|TypeError: Result of expression 'node' [undefined] is not an object.
after assertion
does something with things [pass]
어떻게 좁힐 수 있습니다 무엇이 원인인가? 그것은 추한 테스트 출력 :
와 매우 유사합니다. http://stackoverflow.com/questions/11849683/capybara-webkit-error-in-rspec –