appium_lib 8.2.1 → 9.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/android_tests/lib/android/specs/common/device_touchaction.rb +2 -2
- data/appium_lib.gemspec +2 -2
- data/docs/android_docs.md +245 -212
- data/docs/docs.md +17 -15
- data/docs/index_paths.md +2 -2
- data/docs/ios_docs.md +422 -240
- data/docs/ios_xcuitest.md +25 -0
- data/ios_tests/Gemfile +2 -0
- data/ios_tests/appium.txt +2 -1
- data/ios_tests/lib/common.rb +98 -4
- data/ios_tests/lib/ios/specs/common/helper.rb +24 -28
- data/ios_tests/lib/ios/specs/common/patch.rb +1 -1
- data/ios_tests/lib/ios/specs/device/device.rb +17 -11
- data/ios_tests/lib/ios/specs/device/multi_touch.rb +22 -1
- data/ios_tests/lib/ios/specs/device/touch_actions.rb +14 -5
- data/ios_tests/lib/ios/specs/driver.rb +13 -9
- data/ios_tests/lib/ios/specs/ios/element/alert.rb +12 -8
- data/ios_tests/lib/ios/specs/ios/element/button.rb +6 -3
- data/ios_tests/lib/ios/specs/ios/element/text.rb +5 -3
- data/ios_tests/lib/ios/specs/ios/element/textfield.rb +12 -8
- data/ios_tests/lib/ios/specs/ios/helper.rb +9 -3
- data/ios_tests/lib/ios/specs/ios/patch.rb +9 -1
- data/ios_tests/readme.md +3 -2
- data/lib/appium_lib/common/error.rb +5 -0
- data/lib/appium_lib/common/version.rb +2 -2
- data/lib/appium_lib/device/device.rb +7 -1
- data/lib/appium_lib/device/multi_touch.rb +27 -9
- data/lib/appium_lib/device/touch_actions.rb +12 -5
- data/lib/appium_lib/driver.rb +29 -1
- data/lib/appium_lib/ios/element/button.rb +50 -24
- data/lib/appium_lib/ios/element/generic.rb +20 -4
- data/lib/appium_lib/ios/element/text.rb +48 -24
- data/lib/appium_lib/ios/element/textfield.rb +80 -40
- data/lib/appium_lib/ios/helper.rb +107 -33
- data/lib/appium_lib/ios/mobile_methods.rb +1 -0
- data/lib/appium_lib/ios/patch.rb +5 -2
- data/readme.md +1 -0
- data/release_notes.md +10 -0
- metadata +16 -2
@@ -10,6 +10,7 @@ module Appium
|
|
10
10
|
def extended(_mod)
|
11
11
|
Selenium::WebDriver::SearchContext.class_eval do
|
12
12
|
Selenium::WebDriver::SearchContext::FINDERS[:uiautomation] = '-ios uiautomation'
|
13
|
+
Selenium::WebDriver::SearchContext::FINDERS[:predicate] = '-ios predicate string'
|
13
14
|
end
|
14
15
|
end
|
15
16
|
end # class << self
|
data/lib/appium_lib/ios/patch.rb
CHANGED
@@ -14,8 +14,11 @@ module Appium
|
|
14
14
|
|
15
15
|
# Cross platform way of entering text into a textfield
|
16
16
|
def type(text)
|
17
|
-
|
18
|
-
|
17
|
+
if $driver.automation_name_is_xcuitest?
|
18
|
+
send_keys text
|
19
|
+
else
|
20
|
+
$driver.execute_script %(au.getElement('#{ref}').setValue('#{text}');)
|
21
|
+
end
|
19
22
|
end # def type
|
20
23
|
end # Selenium::WebDriver::Element.class_eval
|
21
24
|
end # def patch_webdriver_element
|
data/readme.md
CHANGED
@@ -54,6 +54,7 @@ gem install --no-rdoc --no-ri appium_lib
|
|
54
54
|
- [Overview](https://github.com/appium/ruby_lib/blob/master/docs/docs.md)
|
55
55
|
- [Ruby Android methods](https://github.com/appium/ruby_lib/blob/master/docs/android_docs.md)
|
56
56
|
- [Ruby iOS methods](https://github.com/appium/ruby_lib/blob/master/docs/ios_docs.md)
|
57
|
+
- [Tips for XCUITest for iOS](https://github.com/appium/ruby_lib/blob/master/docs/ios_xcuitest.md)
|
57
58
|
- [Appium Server docs](https://github.com/appium/appium/tree/master/docs)
|
58
59
|
|
59
60
|
#### Logging
|
data/release_notes.md
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
#### v9.0.0 2016-12-09
|
2
|
+
|
3
|
+
- [54ff9c4](https://github.com/appium/ruby_lib/commit/54ff9c45df80ce901b718347e79e761f93a4316b) Release 9.0.0
|
4
|
+
- [930d4c7](https://github.com/appium/ruby_lib/commit/930d4c701865cfab603c5030bd92d6049bb8b5ad) add documentations (#410)
|
5
|
+
- [e765d1f](https://github.com/appium/ruby_lib/commit/e765d1f437a842c942e3efde0a33e15327571ced) Fix tests for xcuitest strategy (#408)
|
6
|
+
- [cfabca1](https://github.com/appium/ruby_lib/commit/cfabca11933247e7fba6946d3128cf58035bd820) Feature/xcuitest (#388)
|
7
|
+
- [75dd133](https://github.com/appium/ruby_lib/commit/75dd133d3279233312926aff66ec026a7c2e8766) Release 8 2 1 (#407)
|
8
|
+
- [ad91ee4](https://github.com/appium/ruby_lib/commit/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a) Release 8.2.1
|
9
|
+
|
10
|
+
|
1
11
|
#### v8.2.1 2016-11-29
|
2
12
|
|
3
13
|
- [ad91ee4](https://github.com/appium/ruby_lib/commit/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a) Release 8.2.1
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: appium_lib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 9.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- code@bootstraponline.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-12-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: selenium-webdriver
|
@@ -71,6 +71,9 @@ dependencies:
|
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '1.6'
|
76
|
+
- - ">="
|
74
77
|
- !ruby/object:Gem::Version
|
75
78
|
version: 1.6.6
|
76
79
|
type: :runtime
|
@@ -78,6 +81,9 @@ dependencies:
|
|
78
81
|
version_requirements: !ruby/object:Gem::Requirement
|
79
82
|
requirements:
|
80
83
|
- - "~>"
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '1.6'
|
86
|
+
- - ">="
|
81
87
|
- !ruby/object:Gem::Version
|
82
88
|
version: 1.6.6
|
83
89
|
- !ruby/object:Gem::Dependency
|
@@ -113,6 +119,9 @@ dependencies:
|
|
113
119
|
requirement: !ruby/object:Gem::Requirement
|
114
120
|
requirements:
|
115
121
|
- - "~>"
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: '5.3'
|
124
|
+
- - ">="
|
116
125
|
- !ruby/object:Gem::Version
|
117
126
|
version: 5.3.4
|
118
127
|
type: :development
|
@@ -120,6 +129,9 @@ dependencies:
|
|
120
129
|
version_requirements: !ruby/object:Gem::Requirement
|
121
130
|
requirements:
|
122
131
|
- - "~>"
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: '5.3'
|
134
|
+
- - ">="
|
123
135
|
- !ruby/object:Gem::Version
|
124
136
|
version: 5.3.4
|
125
137
|
- !ruby/object:Gem::Dependency
|
@@ -224,6 +236,7 @@ files:
|
|
224
236
|
- docs/docs.md
|
225
237
|
- docs/index_paths.md
|
226
238
|
- docs/ios_docs.md
|
239
|
+
- docs/ios_xcuitest.md
|
227
240
|
- docs/migration.md
|
228
241
|
- docs_gen/docs_from_js.md
|
229
242
|
- docs_gen/make_docs.rb
|
@@ -310,6 +323,7 @@ files:
|
|
310
323
|
- lib/appium_lib/android/mobile_methods.rb
|
311
324
|
- lib/appium_lib/android/patch.rb
|
312
325
|
- lib/appium_lib/common/element/window.rb
|
326
|
+
- lib/appium_lib/common/error.rb
|
313
327
|
- lib/appium_lib/common/helper.rb
|
314
328
|
- lib/appium_lib/common/patch.rb
|
315
329
|
- lib/appium_lib/common/version.rb
|