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 +4 -4
- data/Gemfile +1 -0
- data/Gemfile.lock +5 -4
- data/capybara-wait_before_click.gemspec +5 -0
- data/lib/capybara/wait_before_click/version.rb +1 -1
- data/lib/capybara/wait_before_click.rb +1 -1
- metadata +7 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e820dee03755731b1b753c159c83819df55c0567e420499888aa16e90298dff0
|
4
|
+
data.tar.gz: '04628b57ebb3f88c26354b95c4061583407a1308dfbaac91355e3b2aa8c47de8'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1da420b4231774e9f5865287a38398867c3a651877e34d8c4335c59821da068de8479080f9cc5be7be988d63f4f2e989170bbdb79ac2461a289cc9044374c94
|
7
|
+
data.tar.gz: fb71f0d429226bbdb061f5bdc37de460fbaa42aeae2d15d4bb0c80f5e5814de2309f47c24b462f9ccbc414336ebc696a020c2af897cc67cf24107eb03b4e801f
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
capybara-wait_before_click (0.2.
|
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.
|
10
|
+
addressable (2.8.4)
|
11
11
|
public_suffix (>= 2.0.2, < 6.0)
|
12
12
|
ast (2.4.2)
|
13
|
-
capybara (3.
|
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
|
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
|
@@ -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.
|
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-
|
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.
|
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
|