uia 0.1.2.1 → 0.1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/uia/finder.rb +2 -0
- data/lib/uia/version.rb +1 -1
- data/spec/uia/element_spec.rb +5 -0
- metadata +4 -4
data/lib/uia/finder.rb
CHANGED
data/lib/uia/version.rb
CHANGED
data/spec/uia/element_spec.rb
CHANGED
@@ -112,6 +112,11 @@ describe Uia::Element do
|
|
112
112
|
Then { element.find(title: /Group.*of radio/i) != nil }
|
113
113
|
end
|
114
114
|
|
115
|
+
context 'handle' do
|
116
|
+
Given(:child_handle) { element.find(id: 'textField').handle }
|
117
|
+
Then { element.find(handle: child_handle).id == 'textField' }
|
118
|
+
end
|
119
|
+
|
115
120
|
context 'invalid' do
|
116
121
|
When(:bad_locator) { element.find(bad_locator: 123) }
|
117
122
|
Then { bad_locator.should have_failed BadLocator, "{:bad_locator=>123} is not a valid locator" }
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: uia
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.2.
|
4
|
+
version: 0.1.2.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-02-
|
12
|
+
date: 2014-02-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: ffi
|
@@ -250,7 +250,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
250
250
|
version: '0'
|
251
251
|
segments:
|
252
252
|
- 0
|
253
|
-
hash:
|
253
|
+
hash: 869511917
|
254
254
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
255
255
|
none: false
|
256
256
|
requirements:
|
@@ -259,7 +259,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
259
259
|
version: '0'
|
260
260
|
segments:
|
261
261
|
- 0
|
262
|
-
hash:
|
262
|
+
hash: 869511917
|
263
263
|
requirements: []
|
264
264
|
rubyforge_project:
|
265
265
|
rubygems_version: 1.8.24
|