1
0
Fork 0
mirror of https://github.com/thoughtbot/capybara-webkit synced 2023-03-27 23:22:28 -04:00
capybara-webkit/spec
Masataka Pocke Kuwabara 41c4306267 [Bug fix] Support :numpad8 for send_keys method
`:numpad9` is duplicated instead of `:numpad8`, so `send_keys` method raises an error when it receives `:numpad8`.
We can reproduce this behaviour with the added test case.

This pull request fixes the problem.

Note
===

I found this bug with `RUBYOPT=-w`.  For example: (The second warning)

```
$ ruby -Ilib -rcapybara-webkit -e ''
/path/to/lib/ruby/gems/2.6.0/gems/addressable-2.5.2/lib/addressable/idna/pure.rb:154: warning: assigned but unused variable - startercc
/path/to/lib/capybara/webkit/node.rb:217: warning: duplicated when clause is ignored
```
2018-07-21 10:01:20 -04:00
..
fixtures Test for AsynchronousCloseException text when done running 2017-10-18 10:42:36 -07:00
integration Skip Capybaras download tests - unsupported 2018-06-19 09:26:19 -07:00
support Remove extraneous quotes and fix test 2017-11-09 08:10:04 -08:00
browser_spec.rb Allow JavaScript errors to be raised as exceptions (#988) 2017-03-17 14:54:36 +00:00
capybara_webkit_builder_spec.rb Update to modern RSpec 2017-02-06 10:56:58 -08:00
configuration_spec.rb Introduce API for global configuration 2015-06-26 13:13:23 -04:00
connection_spec.rb Update to modern RSpec 2017-02-06 10:56:58 -08:00
cookie_jar_spec.rb Update to modern RSpec 2017-02-06 10:56:58 -08:00
driver_rendering_spec.rb Update to modern RSpec 2017-02-06 10:56:58 -08:00
driver_resize_window_spec.rb Update to modern RSpec 2017-02-06 10:56:58 -08:00
driver_spec.rb [Bug fix] Support :numpad8 for send_keys method 2018-07-21 10:01:20 -04:00
errors_spec.rb Update to modern RSpec 2017-02-06 10:56:58 -08:00
node_spec.rb Don't check node ancestors for CSS visibility setting 2018-01-04 17:38:22 -08:00
selenium_compatibility_spec.rb Update to modern RSpec 2017-02-06 10:56:58 -08:00
self_signed_ssl_cert.rb Remove some unused global variables. 2011-10-14 17:18:33 -04:00
server_spec.rb Remove extraneous quotes and fix test 2017-11-09 08:10:04 -08:00
spec_helper.rb No support for fullscreen mode 2018-07-09 16:26:26 -07:00