ruby on rails - Jenkins + Rspec + Capybara integration test fail -


i've configured ci server jenkins in order run test after each push git. have integration tests , there 1 fails. output given capybara can't find element if run test in local works.

i've research bit , found headless gem doesn't work. tried set capybara.default_wait_time = 5 nothing.

does know kind of configuration should set in order jenkins green?

thank in advance

the failure find may element within environment. using 'save_and_open' method show exact state of page trying rendered in ci server environment. can add test as:

it 'should register successfully'   visit registration_page   save_and_open_page   fill_in 'username', :with => 'mruser' end 

this assumes can view page on ci server or alternatively headless version file should saved review later.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -