kendo-page-object-widgets 0.2.11 → 0.2.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/kendo-page-object-widgets.gemspec +2 -1
- data/lib/version.rb +1 -1
- data/lib/widgets/kendo_cascading_select_list.rb +4 -4
- metadata +19 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 200c04615d11e631f0e6e667d8729f318c48b5b094c2cd3359a0c8d2b877cb0c
|
4
|
+
data.tar.gz: d56aa7391923d15c26884ddfd8cdb018201d7c4bec4579771a389507d49cfaa8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9737406f967cd1600fdde1960aed351bdcfedeabd71a7c9b6600ced275bac7a01f8d97fb84083ff4f1214bbe8d103b1ad6ff40a145ce3134496a76a4c6ca3440
|
7
|
+
data.tar.gz: e0a147dc5e5ce8c4d1f3f3e43262fb657bbdd585be55a34a4b9b783aa18373a922b1b00154677afdf44a76369a13d15cae41c69d0bc0bb7102b76de88c2a10bc
|
data/Gemfile
CHANGED
@@ -19,10 +19,11 @@ Gem::Specification.new do |spec|
|
|
19
19
|
#spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
20
20
|
spec.require_paths = ["lib"]
|
21
21
|
|
22
|
-
spec.add_development_dependency "bundler", "~>
|
22
|
+
spec.add_development_dependency "bundler", "~> 2.0"
|
23
23
|
spec.add_development_dependency "rake", "~> 12.3"
|
24
24
|
spec.add_development_dependency "cucumber"
|
25
25
|
spec.add_development_dependency "rspec"
|
26
|
+
spec.add_development_dependency "ffi"
|
26
27
|
spec.add_dependency "page-object"
|
27
28
|
spec.add_dependency "require_all", "= 1.4"
|
28
29
|
end
|
data/lib/version.rb
CHANGED
@@ -10,15 +10,14 @@ module KendoPageObjectWidgets
|
|
10
10
|
accessor.send :define_method, "#{name}=" do |value|
|
11
11
|
wait_until { self.send("is_#{name}_enabled?") }
|
12
12
|
self.send("click_opener_for_#{name}")
|
13
|
+
|
13
14
|
unless value.empty?
|
14
15
|
options = self.send("get_#{name}_options")
|
15
16
|
list_item = options.list_item_element(:text => value.strip)
|
16
17
|
list_item.click
|
17
18
|
end
|
18
|
-
|
19
|
-
|
20
|
-
self.send("#{name}_options_hidden?")
|
21
|
-
}
|
19
|
+
|
20
|
+
sleep 0.5 # wait until animation closes
|
22
21
|
end
|
23
22
|
|
24
23
|
accessor.send :define_method, "#{name}_options" do
|
@@ -42,6 +41,7 @@ module KendoPageObjectWidgets
|
|
42
41
|
|
43
42
|
accessor.send :define_method, "click_opener_for_#{name}" do
|
44
43
|
self.send("#{name}_element").parent.span_element(:class => 'k-select').click
|
44
|
+
sleep 0.5 # wait for animation
|
45
45
|
end
|
46
46
|
|
47
47
|
accessor.send :define_method, "#{name}_options_list" do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kendo-page-object-widgets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mosaic Team
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-10-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '2.0'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '2.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,6 +66,20 @@ dependencies:
|
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: ffi
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: page-object
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -135,8 +149,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
135
149
|
- !ruby/object:Gem::Version
|
136
150
|
version: '0'
|
137
151
|
requirements: []
|
138
|
-
|
139
|
-
rubygems_version: 2.7.6
|
152
|
+
rubygems_version: 3.0.6
|
140
153
|
signing_key:
|
141
154
|
specification_version: 4
|
142
155
|
summary: Kendo Widgets
|