appium_lib 9.3.5 → 9.3.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -1
- data/docs/android_docs.md +237 -229
- data/docs/ios_docs.md +256 -248
- data/ios_tests/lib/ios/specs/common/command.rb +1 -0
- data/lib/appium_lib/common/command.rb +2 -1
- data/lib/appium_lib/common/version.rb +2 -2
- data/lib/appium_lib/device/device.rb +10 -0
- data/release_notes.md +9 -0
- metadata +2 -2
@@ -36,6 +36,7 @@ describe 'common/command.rb' do
|
|
36
36
|
Selenium::WebDriver::Remote::Bridge.method_defined?(:pull_file).must_equal true
|
37
37
|
Selenium::WebDriver::Remote::Bridge.method_defined?(:pull_folder).must_equal true
|
38
38
|
Selenium::WebDriver::Remote::Bridge.method_defined?(:touch_id).must_equal true
|
39
|
+
Selenium::WebDriver::Remote::Bridge.method_defined?(:toggle_touch_id_enrollment).must_equal true
|
39
40
|
Selenium::WebDriver::Remote::Bridge.method_defined?(:get_settings).must_equal true
|
40
41
|
Selenium::WebDriver::Remote::Bridge.method_defined?(:update_settings).must_equal true
|
41
42
|
Selenium::WebDriver::Remote::Bridge.method_defined?(:touch_actions).must_equal true
|
@@ -53,7 +53,8 @@ module Appium
|
|
53
53
|
get_performance_data: [:post, 'session/:session_id/appium/getPerformanceData'.freeze],
|
54
54
|
|
55
55
|
# iOS
|
56
|
-
touch_id: [:post, 'session/:session_id/appium/simulator/touch_id'.freeze]
|
56
|
+
touch_id: [:post, 'session/:session_id/appium/simulator/touch_id'.freeze],
|
57
|
+
toggle_touch_id_enrollment: [:post, 'session/:session_id/appium/simulator/toggle_touch_id_enrollment'.freeze]
|
57
58
|
}.merge(COMMAND_NO_ARG).merge(::Selenium::WebDriver::Remote::Bridge::COMMANDS).freeze
|
58
59
|
end
|
59
60
|
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
module Appium
|
2
2
|
# Version and Date are defined on the 'Appium' module, not 'Appium::Common'
|
3
|
-
VERSION = '9.3.
|
4
|
-
DATE = '2017-03-
|
3
|
+
VERSION = '9.3.6'.freeze unless defined? ::Appium::VERSION
|
4
|
+
DATE = '2017-03-31'.freeze unless defined? ::Appium::DATE
|
5
5
|
end
|
@@ -114,6 +114,9 @@ module Appium
|
|
114
114
|
# touch_id false #=> Simulate invalid fingerprint
|
115
115
|
# ```
|
116
116
|
|
117
|
+
# @!method toggle_touch_id_enrollment
|
118
|
+
# iOS Simulator only: Toggle touch id enrollment on an iOS Simulator.
|
119
|
+
|
117
120
|
# @!method end_coverage
|
118
121
|
# Android only; Ends the test coverage and writes the results to the given path on device.
|
119
122
|
# @param [String] path Path on the device to write too.
|
@@ -339,6 +342,13 @@ module Appium
|
|
339
342
|
end
|
340
343
|
end
|
341
344
|
|
345
|
+
# TODO: TEST ME
|
346
|
+
add_endpoint_method(:toggle_touch_id_enrollment) do
|
347
|
+
def toggle_touch_id_enrollment
|
348
|
+
execute :toggle_touch_id_enrollment, {}
|
349
|
+
end
|
350
|
+
end
|
351
|
+
|
342
352
|
# TODO: TEST ME
|
343
353
|
add_endpoint_method(:end_coverage) do
|
344
354
|
def end_coverage(path, intent)
|
data/release_notes.md
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
#### v9.3.5 2017-03-26
|
2
|
+
|
3
|
+
- [c652bb3](https://github.com/appium/ruby_lib/commit/c652bb3332016a3c8ba7502e31477a330ab1c1ab) Release 9 3 5 (#520)
|
4
|
+
- [c8ae26d](https://github.com/appium/ruby_lib/commit/c8ae26d6c9c400c5f40c3d1b620a3a5ba09c5932) Add some android commands (#517)
|
5
|
+
- [e0db50e](https://github.com/appium/ruby_lib/commit/e0db50e5635dc359620eec9f79609f55af6ba529) Add class chain (#515)
|
6
|
+
- [43ea919](https://github.com/appium/ruby_lib/commit/43ea919e4830477751f98aa6cf2475a54bcecb8e) [WIP]add scrollable index param into scroll_uiselector (#507)
|
7
|
+
- [80f8071](https://github.com/appium/ruby_lib/commit/80f80715dcee6de968700ece40894222af41579a) add clearing actions after calling perform (#512)
|
8
|
+
|
9
|
+
|
1
10
|
#### v9.3.4 2017-03-16
|
2
11
|
|
3
12
|
- [2b01065](https://github.com/appium/ruby_lib/commit/2b01065d0b2c2287ed9568cb23de5e459082ef62) Release 9 3 4 (#509)
|
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: 9.3.
|
4
|
+
version: 9.3.6
|
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: 2017-03-
|
11
|
+
date: 2017-03-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: selenium-webdriver
|