capybara-wait_before_click 0.2.0 → 0.2.2

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: 3c92945a9cdef8a814bfa49c88c7dc0c17e871da7c8ef6d4378645a020695634
4
- data.tar.gz: 77df11ab96e6601c4704090f954d428b3ec2745c07bde20186fdbbf5b4b865bc
3
+ metadata.gz: e820dee03755731b1b753c159c83819df55c0567e420499888aa16e90298dff0
4
+ data.tar.gz: '04628b57ebb3f88c26354b95c4061583407a1308dfbaac91355e3b2aa8c47de8'
5
5
  SHA512:
6
- metadata.gz: 5c3510ff5902c4823924ff1b4e7e32a1346b574b27838217cf46abfd1d5fa1a613597a2919b6d4c0ee2859da6710d2bb76c66e53b7233faee79cdd3144cd8caa
7
- data.tar.gz: 9895ca295e3181e374072439f923ebdf2bf0cb849fe84042f15c138104dd75c3ff5873d22b142f90c57795abbaf2ea276f3fdd8eb5e94d16a62a5ab87e74e03d
6
+ metadata.gz: f1da420b4231774e9f5865287a38398867c3a651877e34d8c4335c59821da068de8479080f9cc5be7be988d63f4f2e989170bbdb79ac2461a289cc9044374c94
7
+ data.tar.gz: fb71f0d429226bbdb061f5bdc37de460fbaa42aeae2d15d4bb0c80f5e5814de2309f47c24b462f9ccbc414336ebc696a020c2af897cc67cf24107eb03b4e801f
data/Gemfile CHANGED
@@ -9,5 +9,6 @@ gem "puma"
9
9
  gem "rake", "~> 13.0"
10
10
  gem "rspec", "~> 3.0"
11
11
  gem "rubocop", "~> 1.21"
12
+ gem "selenium-webdriver"
12
13
  gem "sinatra", "~> 3.0"
13
14
  gem "webdrivers"
data/Gemfile.lock CHANGED
@@ -1,16 +1,16 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- capybara-wait_before_click (0.2.0)
4
+ capybara-wait_before_click (0.2.2)
5
5
  capybara (~> 3.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- addressable (2.8.1)
10
+ addressable (2.8.4)
11
11
  public_suffix (>= 2.0.2, < 6.0)
12
12
  ast (2.4.2)
13
- capybara (3.38.0)
13
+ capybara (3.39.1)
14
14
  addressable
15
15
  matrix
16
16
  mini_mime (>= 0.1.3)
@@ -42,7 +42,7 @@ GEM
42
42
  rack (2.2.6)
43
43
  rack-protection (3.0.5)
44
44
  rack
45
- rack-test (2.0.2)
45
+ rack-test (2.1.0)
46
46
  rack (>= 1.3)
47
47
  rainbow (3.1.1)
48
48
  rake (13.0.6)
@@ -107,6 +107,7 @@ DEPENDENCIES
107
107
  rake (~> 13.0)
108
108
  rspec (~> 3.0)
109
109
  rubocop (~> 1.21)
110
+ selenium-webdriver
110
111
  sinatra (~> 3.0)
111
112
  webdrivers
112
113
 
@@ -30,4 +30,9 @@ Gem::Specification.new do |spec|
30
30
  spec.require_paths = ["lib"]
31
31
 
32
32
  spec.add_dependency "capybara", "~> 3.0"
33
+ spec.post_install_message = <<~MESSAGE
34
+ The 'capybara-wait_before_click' gem has been deprecated and has been replaced by 'capybara-wait_images'.
35
+ See: https://rubygems.org/gems/capybara-wait_images
36
+ And: https://github.com/willnet/capybara-wait_images
37
+ MESSAGE
33
38
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Capybara
4
4
  module WaitBeforeClick
5
- VERSION = "0.2.0"
5
+ VERSION = "0.2.2"
6
6
  end
7
7
  end
@@ -19,7 +19,7 @@ module Capybara
19
19
  _logger.debug "[capybara-wait_before_click]Timeout::Error"
20
20
  rescue Capybara::NotSupportedByDriverError
21
21
  # It comes here when you run it in rack-test, but you can ignore it
22
- rescue Selenium::WebDriver::Error::StaleElementReferenceError
22
+ rescue ::Selenium::WebDriver::Error::StaleElementReferenceError
23
23
  _logger.debug "[capybara-wait_before_click]Selenium::WebDriver::Error::StaleElementReferenceError"
24
24
  reload
25
25
  _wait_for_image_loading
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.2.0
4
+ version: 0.2.2
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-18 00:00:00.000000000 Z
11
+ date: 2023-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capybara
@@ -52,7 +52,10 @@ metadata:
52
52
  homepage_uri: https://github.com/willnet/capybara-wait_before_click
53
53
  source_code_uri: https://github.com/willnet/capybara-wait_before_click
54
54
  changelog_uri: https://github.com/willnet/capybara-wait_before_click/releases
55
- post_install_message:
55
+ post_install_message: |
56
+ The 'capybara-wait_before_click' gem has been deprecated and has been replaced by 'capybara-wait_images'.
57
+ See: https://rubygems.org/gems/capybara-wait_images
58
+ And: https://github.com/willnet/capybara-wait_images
56
59
  rdoc_options: []
57
60
  require_paths:
58
61
  - lib
@@ -67,7 +70,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
67
70
  - !ruby/object:Gem::Version
68
71
  version: '0'
69
72
  requirements: []
70
- rubygems_version: 3.4.1
73
+ rubygems_version: 3.4.12
71
74
  signing_key:
72
75
  specification_version: 4
73
76
  summary: Reduce click miss in E2E tests and increases test stability