appium_lib 12.0.0.rc3 → 12.0.0.rc4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/appium_lib.gemspec +2 -2
- data/lib/appium_lib/version.rb +2 -2
- metadata +6 -8
- data/docs/index_paths.md +0 -26
- data/docs/travis.sample.yml +0 -24
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a8d7d7fcbce0bf73c13c462fa4cb83da298c19230d976ebff717684d56465e2d
|
4
|
+
data.tar.gz: fa87321a4d2bbf7647aa0683072fa20a6c40efc034dd778494e903acd06e7bf9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21e5285ece74a226157d0957f0dd49c9ea7207cb7c6296a8c2565c1dbae2ad771342c187c00a0bc989f33ea6c90e2370996cb5053d2257352f2a40ed9d9a7aab
|
7
|
+
data.tar.gz: 341f87e156a134a0ca6204299b9647f9d8f02ef07b5c68b16d54cd05b4b31abd7ee64f671ffdbb6a194ad060ea20eeb226ad5f590e4a69c3075e20df3c881000
|
data/appium_lib.gemspec
CHANGED
@@ -14,7 +14,7 @@ Gem::Specification.new do |s|
|
|
14
14
|
s.homepage = 'https://github.com/appium/ruby_lib' # published as appium_lib
|
15
15
|
s.require_paths = ['lib']
|
16
16
|
|
17
|
-
s.add_runtime_dependency 'appium_lib_core', '5.0.0.
|
17
|
+
s.add_runtime_dependency 'appium_lib_core', '5.0.0.rc8'
|
18
18
|
s.add_runtime_dependency 'nokogiri', '~> 1.8', '>= 1.8.1'
|
19
19
|
s.add_runtime_dependency 'tomlrb', '>= 1.1', '< 3.0'
|
20
20
|
|
@@ -24,7 +24,7 @@ Gem::Specification.new do |s|
|
|
24
24
|
s.add_development_dependency 'posix-spawn', '~> 0.3'
|
25
25
|
s.add_development_dependency 'pry'
|
26
26
|
s.add_development_dependency 'rake', '~> 13.0'
|
27
|
-
s.add_development_dependency 'rubocop', '1.22.
|
27
|
+
s.add_development_dependency 'rubocop', '1.22.3'
|
28
28
|
s.add_development_dependency 'spec', '~> 5.3', '>= 5.3.4'
|
29
29
|
s.add_development_dependency 'yard', '~> 0.9.11'
|
30
30
|
|
data/lib/appium_lib/version.rb
CHANGED
@@ -14,6 +14,6 @@
|
|
14
14
|
|
15
15
|
module Appium
|
16
16
|
# Version and Date are defined on the 'Appium' module, not 'Appium::Common'
|
17
|
-
VERSION = '12.0.0.
|
18
|
-
DATE = '2021-
|
17
|
+
VERSION = '12.0.0.rc4' unless defined? ::Appium::VERSION
|
18
|
+
DATE = '2021-11-01' unless defined? ::Appium::DATE
|
19
19
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: appium_lib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 12.0.0.
|
4
|
+
version: 12.0.0.rc4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- code@bootstraponline.com
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2021-
|
12
|
+
date: 2021-11-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: appium_lib_core
|
@@ -17,14 +17,14 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - '='
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 5.0.0.
|
20
|
+
version: 5.0.0.rc8
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - '='
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 5.0.0.
|
27
|
+
version: 5.0.0.rc8
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: nokogiri
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -161,14 +161,14 @@ dependencies:
|
|
161
161
|
requirements:
|
162
162
|
- - '='
|
163
163
|
- !ruby/object:Gem::Version
|
164
|
-
version: 1.22.
|
164
|
+
version: 1.22.3
|
165
165
|
type: :development
|
166
166
|
prerelease: false
|
167
167
|
version_requirements: !ruby/object:Gem::Requirement
|
168
168
|
requirements:
|
169
169
|
- - '='
|
170
170
|
- !ruby/object:Gem::Version
|
171
|
-
version: 1.22.
|
171
|
+
version: 1.22.3
|
172
172
|
- !ruby/object:Gem::Dependency
|
173
173
|
name: spec
|
174
174
|
requirement: !ruby/object:Gem::Requirement
|
@@ -228,12 +228,10 @@ files:
|
|
228
228
|
- docs/android_docs.md
|
229
229
|
- docs/android_uiautomator.md
|
230
230
|
- docs/docs.md
|
231
|
-
- docs/index_paths.md
|
232
231
|
- docs/ios_docs.md
|
233
232
|
- docs/ios_xcuitest.md
|
234
233
|
- docs/migration.md
|
235
234
|
- docs/parallel.md
|
236
|
-
- docs/travis.sample.yml
|
237
235
|
- docs/w3c.md
|
238
236
|
- lib/appium_lib.rb
|
239
237
|
- lib/appium_lib/android/android.rb
|
data/docs/index_paths.md
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
**Deprecated** Because iOS driver for UIAutomation is deprecated.
|
2
|
-
|
3
|
-
# Index Paths on iOS
|
4
|
-
|
5
|
-
Elements on iOS have an [index path attribute](https://github.com/appium/appium-uiauto/blob/2cf1e30801263dfc01627ded28a1be5af1083bc5/uiauto/lib/element-patch/tree-patch.js#L9)
|
6
|
-
that appium calculates when the page source is requested. Note this is not the same as xpath.
|
7
|
-
|
8
|
-
> <UIAStaticText name="Alerts" label="Alerts" value="Alerts" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/1/1/10/0" x="17.578125" y="596" width="53.90625" height="25.78125">
|
9
|
-
|
10
|
-
The index path can be used by calling [getElementByIndexPath]( https://github.com/appium/appium-uiauto/blob/af1befa8208074686cd38b845ddefabc057106fc/uiauto/lib/mechanic-ext/xpath-ext.js#L239):
|
11
|
-
|
12
|
-
```ruby
|
13
|
-
# ruby example # For Appium(automation name), not XCUITest
|
14
|
-
execute_script('$.getElementByIndexPath("/0/1/1/10/0")').text # Alerts
|
15
|
-
```
|
16
|
-
|
17
|
-
Internally what happens is `/0/1/1/10/0` is transformed into `1/1/10/0` and executed as follows:
|
18
|
-
|
19
|
-
```ruby
|
20
|
-
# ruby example # For Appium(automation name), not XCUITest
|
21
|
-
execute_script('$.mainApp().elements()[1].elements()[1].elements()[10].elements()[0]').text # Alerts
|
22
|
-
```
|
23
|
-
|
24
|
-
The initial 0 refers to the context so that's [discarded](https://github.com/appium/appium-uiauto/blob/af1befa8208074686cd38b845ddefabc057106fc/uiauto/lib/mechanic-ext/xpath-ext.js#L218).
|
25
|
-
|
26
|
-
In summary, you shouldn't try and convert the index path to an xpath. It's meant to be used via the built in helper method.
|
data/docs/travis.sample.yml
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
language: objective-c
|
2
|
-
sudo: false
|
3
|
-
osx_image: xcode8.3
|
4
|
-
|
5
|
-
cache: bundler
|
6
|
-
|
7
|
-
rvm:
|
8
|
-
- 2.4
|
9
|
-
|
10
|
-
install:
|
11
|
-
- bundle install
|
12
|
-
- npm install -g appium@1.6.4
|
13
|
-
|
14
|
-
before_script:
|
15
|
-
- appium --log-level warn &
|
16
|
-
|
17
|
-
script:
|
18
|
-
- bundle exec rake rubocop
|
19
|
-
- cd ios_tests; rake ios
|
20
|
-
|
21
|
-
notifications:
|
22
|
-
email:
|
23
|
-
on_success: never
|
24
|
-
on_failure: never
|