capybaraでselectにfill_inを利用していたらタイトルのエラーが発生
1 2 3 4 5 | # OK select('1990', from: 'payment_year') # だめ fill_in '1990', with: 'payment_year' |
上記の方法で対応できます
参考記事
Capybara::ElementNotFound: Unable to find visible select box
capybaraでselectにfill_inを利用していたらタイトルのエラーが発生
1 2 3 4 5 | # OK select('1990', from: 'payment_year') # だめ fill_in '1990', with: 'payment_year' |
上記の方法で対応できます
Capybara::ElementNotFound: Unable to find visible select box