Simple rspec test:
it "should login" do
fill_in 'email', with: '[email protected]'
fill_in 'password', with: '123456'
click_on I18n.t('ui.pages.login')
expect(current_path).to eq('/projects')
end
The problem is: Chrome only enters "12456" and skips the "3" - whatever I do.
I tried the following:
- Putting a sleep time after the email fill_in
- Explicitly naming the email field with an ID (id="password")
no effect on both, still not all characters entered.
My setup:
- Using capybara 2.15.4
- Using rspec-core 3.7.0 Using
- chromedriver-helper 1.1.0
- Using selenium-webdriver 3.7.0