capybara-wait_before_click 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0035551bd4ee668708eabad5f2b1efe246a168b6a41edc564b50596e739a3759
4
- data.tar.gz: 7c8140e61f71a5d7a693a05f7f86e8fe869862e73e1ca3db9f625ea1da2c96ab
3
+ metadata.gz: 3c92945a9cdef8a814bfa49c88c7dc0c17e871da7c8ef6d4378645a020695634
4
+ data.tar.gz: 77df11ab96e6601c4704090f954d428b3ec2745c07bde20186fdbbf5b4b865bc
5
5
  SHA512:
6
- metadata.gz: fc9a780be9b35fc980029b81b5a53261421221dd8568f0485cfd0b24b475356248efc8a1187bc9aec3c3569fe240218b7ceca558598c5bf54f79bb07a858b27a
7
- data.tar.gz: 29e66ab3d47b837bda68170975ec5da1bb2870170bffc64180a840177302d6fe4d0b0c29fe92d90cfb196a609260a2fb653d015825ac372fc9165f20a0dbda05
6
+ metadata.gz: 5c3510ff5902c4823924ff1b4e7e32a1346b574b27838217cf46abfd1d5fa1a613597a2919b6d4c0ee2859da6710d2bb76c66e53b7233faee79cdd3144cd8caa
7
+ data.tar.gz: 9895ca295e3181e374072439f923ebdf2bf0cb849fe84042f15c138104dd75c3ff5873d22b142f90c57795abbaf2ea276f3fdd8eb5e94d16a62a5ab87e74e03d
data/.rubocop.yml CHANGED
@@ -18,3 +18,7 @@ Style/StringLiteralsInInterpolation:
18
18
 
19
19
  Layout/LineLength:
20
20
  Max: 120
21
+
22
+ Metrics/BlockLength:
23
+ Exclude:
24
+ - 'spec/**/*'
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- capybara-wait_before_click (0.1.0)
4
+ capybara-wait_before_click (0.2.0)
5
5
  capybara (~> 3.0)
6
6
 
7
7
  GEM
@@ -28,6 +28,8 @@ GEM
28
28
  nio4r (2.5.8)
29
29
  nokogiri (1.14.0-arm64-darwin)
30
30
  racc (~> 1.4)
31
+ nokogiri (1.14.0-x86_64-darwin)
32
+ racc (~> 1.4)
31
33
  nokogiri (1.14.0-x86_64-linux)
32
34
  racc (~> 1.4)
33
35
  parallel (1.22.1)
@@ -96,6 +98,7 @@ GEM
96
98
  PLATFORMS
97
99
  arm64-darwin-21
98
100
  arm64-darwin-22
101
+ x86_64-darwin-22
99
102
  x86_64-linux
100
103
 
101
104
  DEPENDENCIES
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Capybara
4
4
  module WaitBeforeClick
5
- VERSION = "0.1.0"
5
+ VERSION = "0.2.0"
6
6
  end
7
7
  end
@@ -30,6 +30,11 @@ module Capybara
30
30
  super
31
31
  end
32
32
 
33
+ def hover
34
+ _wait_for_image_loading
35
+ super
36
+ end
37
+
33
38
  def _logger
34
39
  @_logger ||= if defined?(Rails)
35
40
  Rails.logger
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capybara-wait_before_click
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - willnet
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-01-17 00:00:00.000000000 Z
11
+ date: 2023-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capybara
@@ -67,7 +67,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  requirements: []
70
- rubygems_version: 3.3.26
70
+ rubygems_version: 3.4.1
71
71
  signing_key:
72
72
  specification_version: 4
73
73
  summary: Reduce click miss in E2E tests and increases test stability