Dylan Richards
Dylan Richards

Reputation: 786

Test Rails app manually, in the test environment

I am using Capybara, RSpec, and Selenium to test the filling out and submission of a form in my application. However, despite filling out the form completely, it results in validation errors.

Is there a way to test the form manually in the browser, in the test environment?

Upvotes: 0

Views: 82

Answers (1)

anks
anks

Reputation: 313

Manual testing using automation test is contradictory. Better debug the test :) You can view what's happening in the browser by entering BROWSER=chrome at the beginning of the spec callout in terminal. And next thing - if you get validation errors, maybe there's something wrong with your input? Can you show the test and the error here?

Upvotes: 1

Related Questions