My colleague with a windows machine doesn’t have this issue with the same code.

All my that pass normally when in when run at the point where the user presses save and continue and another form displays on the same page.

The screenshot shows that the first form is filled out but does not show the second form as having appeared.

I’ve tried adding a fixed 5 second sleep to allow for any ajax or js (for investigative purposes) but the problem persists.

enter image description here

How can I figure out what the issue is given I don’t get to see the browser itself with the issue, i just get the screenshot:

enter image description here

The save and continue button is highlighted but the new form hasn’t rendered so the test fails.



Source link https://sqa.stackexchange.com/questions/33224/why-do-rspec-capybara-chrome-tests-run-headless-fail-on-my--and-how-to-diagno

LEAVE A REPLY

Please enter your comment!
Please enter your name here