简体   繁体   中英

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 ?

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?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM