appium_lib_core 3.10.0 → 3.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/ISSUE_TEMPLATE/issue-report.md +29 -0
- data/.github/workflows/unittest.yml +68 -0
- data/.rubocop.yml +2 -2
- data/CHANGELOG.md +9 -0
- data/README.md +1 -3
- data/azure-pipelines.yml +0 -20
- data/ci-jobs/functional/publish_test_result.yml +2 -2
- data/ci-jobs/functional/run_appium.yml +3 -1
- data/ci-jobs/functional_test.yml +24 -45
- data/lib/appium_lib_core/android/device.rb +3 -0
- data/lib/appium_lib_core/version.rb +2 -2
- data/release_notes.md +12 -0
- metadata +5 -4
- data/.travis.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: c12935613549b56a5c64e6a9b8ac3ee272cd940e5447a25fa9ca64bc3ca28eb6
|
4
|
+
data.tar.gz: 7009108008d6a36db80907b8d04e6d4081c29c8790f31f81daa4a3b776403a08
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9016f1d60a516a507e20e553c2ec6e4cc31217f4a82271eb96633218739eb424dba4d67bbf3e37ee96dff91105af6fe38edf9d55a40a42ece12237a09c08cb7d
|
7
|
+
data.tar.gz: '096b252e25e6b1c2ee87a05a47a0d40bde02fc12e26912cd45c6f443f28482b823d4026eaa0ce9db85f01c8796b17b427fd53936b439703a6833378d6ee8ab82'
|
@@ -0,0 +1,29 @@
|
|
1
|
+
---
|
2
|
+
name: issue report
|
3
|
+
about: Create a report to help us improve
|
4
|
+
title: ''
|
5
|
+
labels: ''
|
6
|
+
assignees: ''
|
7
|
+
|
8
|
+
---
|
9
|
+
|
10
|
+
## This is a
|
11
|
+
* [ ] Bug report
|
12
|
+
* [ ] Question
|
13
|
+
* [ ] Feature Request
|
14
|
+
|
15
|
+
## Summary
|
16
|
+
|
17
|
+
## Environment
|
18
|
+
* `ruby_lib_core` version:
|
19
|
+
* Mobile platform/version/device under test:
|
20
|
+
|
21
|
+
## Actual behaviour and steps to reproduce
|
22
|
+
|
23
|
+
## Expected behaviour
|
24
|
+
|
25
|
+
## Link to Appium/Ruby logs
|
26
|
+
|
27
|
+
Create a [GIST](https://gist.github.com) which is a paste of your _full_ Appium logs, and link them here.
|
28
|
+
|
29
|
+
## Any additional comments
|
@@ -0,0 +1,68 @@
|
|
1
|
+
name: Runs lint and unit tests
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches: [ master ]
|
6
|
+
pull_request:
|
7
|
+
branches: [ master ]
|
8
|
+
|
9
|
+
jobs:
|
10
|
+
test:
|
11
|
+
strategy:
|
12
|
+
fail-fast: false
|
13
|
+
matrix:
|
14
|
+
ruby: [2.2, 2.3, 2.4, 2.5, 2.6, 2.7]
|
15
|
+
|
16
|
+
runs-on: ubuntu-latest
|
17
|
+
|
18
|
+
env:
|
19
|
+
UNIT_TEST: true
|
20
|
+
|
21
|
+
steps:
|
22
|
+
- uses: actions/checkout@v2
|
23
|
+
- name: Set up Ruby
|
24
|
+
uses: ruby/setup-ruby@v1
|
25
|
+
with:
|
26
|
+
ruby-version: ${{ matrix.ruby }}
|
27
|
+
- name: Install dependencies
|
28
|
+
run: bundle install
|
29
|
+
- name: Run tests
|
30
|
+
run: |
|
31
|
+
bundle exec rake rubocop
|
32
|
+
bundle exec parallel_test test/unit/ -n 4
|
33
|
+
AUTOMATION_NAME_DROID=espresso bundle exec parallel_test test/unit/android -n 4
|
34
|
+
AUTOMATION_NAME_DROID=appium AUTOMATION_NAME_IOS=appium bundle exec parallel_test test/unit -n 4
|
35
|
+
|
36
|
+
test-win:
|
37
|
+
strategy:
|
38
|
+
fail-fast: false
|
39
|
+
matrix:
|
40
|
+
# Does not add 2.7 on Windows so far since a command fails only on Windows
|
41
|
+
ruby: [2.2, 2.3, 2.4, 2.5, 2.6]
|
42
|
+
|
43
|
+
runs-on: windows-latest
|
44
|
+
|
45
|
+
env:
|
46
|
+
UNIT_TEST: true
|
47
|
+
|
48
|
+
steps:
|
49
|
+
- uses: actions/checkout@v2
|
50
|
+
- name: Set up Ruby
|
51
|
+
uses: ruby/setup-ruby@v1
|
52
|
+
with:
|
53
|
+
ruby-version: ${{ matrix.ruby }}
|
54
|
+
- name: Install dependencies
|
55
|
+
run: |
|
56
|
+
gem install ffi
|
57
|
+
bundle install
|
58
|
+
gem uninstall --force eventmachine && gem install eventmachine --platform ruby
|
59
|
+
- name: Run tests
|
60
|
+
run: |
|
61
|
+
parallel_test test/unit/ -n 4
|
62
|
+
|
63
|
+
setx AUTOMATION_NAME_DROID espresso
|
64
|
+
parallel_test test/unit/android -n 4
|
65
|
+
|
66
|
+
setx AUTOMATION_NAME_DROID appium
|
67
|
+
setx AUTOMATION_NAME_IOS appium
|
68
|
+
parallel_test test/unit -n 4
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -10,6 +10,15 @@ Read `release_notes.md` for commit level details.
|
|
10
10
|
|
11
11
|
### Deprecations
|
12
12
|
|
13
|
+
## [3.10.1] - 2020-06-29
|
14
|
+
|
15
|
+
### Enhancements
|
16
|
+
|
17
|
+
### Bug fixes
|
18
|
+
- Fix duplication warning of `execute_cdp`
|
19
|
+
|
20
|
+
### Deprecations
|
21
|
+
|
13
22
|
## [3.10.0] - 2020-06-09
|
14
23
|
|
15
24
|
### Enhancements
|
data/README.md
CHANGED
@@ -2,9 +2,7 @@
|
|
2
2
|
|
3
3
|
[](https://badge.fury.io/rb/appium_lib_core)
|
4
4
|
|
5
|
-
|
6
|
-
|:---:|:---:|
|
7
|
-
|[](https://travis-ci.org/appium/ruby_lib_core)|[](https://dev.azure.com/kazucocoa/ruby_lib_core/_build/latest?definitionId=9&branchName=master)|
|
5
|
+
[](https://dev.azure.com/kazucocoa/ruby_lib_core/_build/latest?definitionId=9&branchName=master)
|
8
6
|
|
9
7
|
This library is a Ruby client for Appium. The gem is available via [appium_lib_core](https://rubygems.org/gems/appium_lib_core).
|
10
8
|
|
data/azure-pipelines.yml
CHANGED
@@ -4,26 +4,6 @@
|
|
4
4
|
# https://docs.microsoft.com/azure/devops/pipelines/languages/ruby
|
5
5
|
jobs:
|
6
6
|
- template: ./ci-jobs/functional_test.yml
|
7
|
-
- job: Run_unit_tests_on_Windows_environment
|
8
|
-
pool:
|
9
|
-
vmImage: 'vs2017-win2016'
|
10
|
-
variables:
|
11
|
-
UNIT_TEST: true
|
12
|
-
steps:
|
13
|
-
- task: UseRubyVersion@0
|
14
|
-
inputs:
|
15
|
-
versionSpec: '2.5'
|
16
|
-
- script: gem install bundler ffi:1.10.0
|
17
|
-
displayName: 'Gem install bundler and ffi for Windows environment'
|
18
|
-
- script: bundle install --retry=3 --jobs=4
|
19
|
-
displayName: 'Call bundle install'
|
20
|
-
- script: gem uninstall --force eventmachine && gem install eventmachine --platform ruby
|
21
|
-
displayName: 'bundle re-install eventmachine for Windows because of Windows environment issue'
|
22
|
-
- script: parallel_test test/unit/ -n 4
|
23
|
-
displayName: 'Run parallel_test test/unit/ -n 4'
|
24
|
-
- template: ./ci-jobs/functional/publish_test_result.yml
|
25
|
-
parameters:
|
26
|
-
xcodeVersion: 'Run_unit_tests_on_Windows_environment'
|
27
7
|
|
28
8
|
# Runs tests nightly to make sure they works against appium@beta
|
29
9
|
schedules:
|
@@ -3,7 +3,7 @@ steps:
|
|
3
3
|
condition: always()
|
4
4
|
inputs:
|
5
5
|
testResultsFiles: 'test/reports/TEST-AppiumLibCoreTest*.xml'
|
6
|
-
testRunTitle: $
|
6
|
+
testRunTitle: '$(Agent.JobName)'
|
7
7
|
- task: ArchiveFiles@2
|
8
8
|
condition: always()
|
9
9
|
inputs:
|
@@ -15,4 +15,4 @@ steps:
|
|
15
15
|
condition: always()
|
16
16
|
inputs:
|
17
17
|
pathtoPublish: '$(Build.ArtifactStagingDirectory)'
|
18
|
-
artifactName: '
|
18
|
+
artifactName: '$(Agent.JobName)'
|
@@ -12,7 +12,9 @@ steps:
|
|
12
12
|
- task: UseRubyVersion@0
|
13
13
|
inputs:
|
14
14
|
versionSpec: '2.4' # so far, bundler does not work over 2.5 since it raises openssl error
|
15
|
-
- script:
|
15
|
+
- script: |
|
16
|
+
mkdir -p test/report
|
17
|
+
nohup appium --relaxed-security --log-timestamp --log-no-colors > test/report/appium.out 2>&1 &
|
16
18
|
displayName: Run Appium in background
|
17
19
|
- script: |
|
18
20
|
gem install bundler;
|
data/ci-jobs/functional_test.yml
CHANGED
@@ -4,11 +4,13 @@ parameters:
|
|
4
4
|
vmImageForIOS: 'macOS-10.15' # Not sure the reason, but macOS 10.14 instance raises no info.plist error
|
5
5
|
xcodeForIOS: 11.5
|
6
6
|
xcodeForTVOS: 11.5
|
7
|
-
androidSDK:
|
7
|
+
androidSDK: 30
|
8
|
+
androidBuildToolsVersion: '28.0.3'
|
8
9
|
appiumVersion: 'beta'
|
9
10
|
ignoreVersionSkip: true
|
10
11
|
CI: true
|
11
12
|
|
13
|
+
|
12
14
|
jobs:
|
13
15
|
# Run unit tests on different Node versions
|
14
16
|
- job: func_test_ios_base
|
@@ -24,10 +26,8 @@ jobs:
|
|
24
26
|
xcodeVersion: ${{ parameters.xcodeForIOS }}
|
25
27
|
- template: ./functional/run_appium.yml
|
26
28
|
- script: bundle exec rake test:func:ios TESTS=test/functional/ios/driver_test.rb,test/functional/ios/patch_test.rb
|
27
|
-
displayName: Run tests
|
29
|
+
displayName: Run tests func_test_ios_base
|
28
30
|
- template: ./functional/publish_test_result.yml
|
29
|
-
parameters:
|
30
|
-
xcodeVersion: 'Run_func_test_on_iOS'
|
31
31
|
|
32
32
|
- job: func_test_ios_webdriver1
|
33
33
|
pool:
|
@@ -42,10 +42,8 @@ jobs:
|
|
42
42
|
xcodeVersion: ${{ parameters.xcodeForIOS }}
|
43
43
|
- template: ./functional/run_appium.yml
|
44
44
|
- script: bundle exec rake test:func:ios TESTS=test/functional/ios/webdriver/create_session_test.rb,test/functional/ios/webdriver/w3c_actions_test.rb
|
45
|
-
displayName: Run tests
|
45
|
+
displayName: Run tests func_test_ios_webdriver1
|
46
46
|
- template: ./functional/publish_test_result.yml
|
47
|
-
parameters:
|
48
|
-
xcodeVersion: 'Run_func_test_on_iOS_webdriver1'
|
49
47
|
|
50
48
|
- job: func_test_ios_webdriver2
|
51
49
|
pool:
|
@@ -60,10 +58,8 @@ jobs:
|
|
60
58
|
xcodeVersion: ${{ parameters.xcodeForIOS }}
|
61
59
|
- template: ./functional/run_appium.yml
|
62
60
|
- script: bundle exec rake test:func:ios TESTS=test/functional/ios/webdriver/device_test.rb
|
63
|
-
displayName: Run tests
|
61
|
+
displayName: Run tests func_test_ios_webdriver2
|
64
62
|
- template: ./functional/publish_test_result.yml
|
65
|
-
parameters:
|
66
|
-
xcodeVersion: 'Run_func_test_on_iOS_webdriver2'
|
67
63
|
|
68
64
|
- job: func_test_ios_ios1
|
69
65
|
pool:
|
@@ -78,10 +74,8 @@ jobs:
|
|
78
74
|
xcodeVersion: ${{ parameters.xcodeForIOS }}
|
79
75
|
- template: ./functional/run_appium.yml
|
80
76
|
- script: bundle exec rake test:func:ios TESTS=test/functional/ios/ios/device_test.rb
|
81
|
-
displayName: Run tests
|
77
|
+
displayName: Run tests func_test_ios_ios1
|
82
78
|
- template: ./functional/publish_test_result.yml
|
83
|
-
parameters:
|
84
|
-
xcodeVersion: 'Run_func_test_on_iOS_ios1'
|
85
79
|
|
86
80
|
- job: func_test_ios_ios2
|
87
81
|
pool:
|
@@ -96,10 +90,8 @@ jobs:
|
|
96
90
|
xcodeVersion: ${{ parameters.xcodeForIOS }}
|
97
91
|
- template: ./functional/run_appium.yml
|
98
92
|
- script: bundle exec rake test:func:ios TESTS=test/functional/ios/ios/device_wda_attachment_test.rb,test/functional/ios/ios/search_context_test.rb
|
99
|
-
displayName: Run tests
|
93
|
+
displayName: Run tests func_test_ios_ios2
|
100
94
|
- template: ./functional/publish_test_result.yml
|
101
|
-
parameters:
|
102
|
-
xcodeVersion: 'Run_func_test_on_iOS_ios2'
|
103
95
|
|
104
96
|
- job: func_test_ios_ios3
|
105
97
|
pool:
|
@@ -116,10 +108,8 @@ jobs:
|
|
116
108
|
displayName: Install ffmpeg and applesimutils
|
117
109
|
- template: ./functional/run_appium.yml
|
118
110
|
- script: bundle exec rake test:func:ios TESTS=test/functional/ios/ios/mjpeg_server_test.rb,test/functional/ios/ios/mobile_commands_test.rb
|
119
|
-
displayName: Run tests
|
111
|
+
displayName: Run tests func_test_ios_ios3
|
120
112
|
- template: ./functional/publish_test_result.yml
|
121
|
-
parameters:
|
122
|
-
xcodeVersion: 'Run_func_test_on_iOS_ios3'
|
123
113
|
|
124
114
|
- job: func_test_ios_tvos
|
125
115
|
pool:
|
@@ -134,10 +124,8 @@ jobs:
|
|
134
124
|
xcodeVersion: ${{ parameters.xcodeForTVOS }}
|
135
125
|
- template: ./functional/run_appium.yml
|
136
126
|
- script: bundle exec rake test:func:ios TESTS=test/functional/ios/tv_driver_test.rb
|
137
|
-
displayName: Run tests
|
127
|
+
displayName: Run tests func_test_ios_tvos
|
138
128
|
- template: ./functional/publish_test_result.yml
|
139
|
-
parameters:
|
140
|
-
xcodeVersion: 'Run_func_test_on_iOS_tv'
|
141
129
|
|
142
130
|
# Skip since opencv4nodejs fails to install on the macOS instance
|
143
131
|
# - job: func_test_ios_opencv
|
@@ -157,8 +145,6 @@ jobs:
|
|
157
145
|
# - script: bundle exec rake test:func:ios test/functional/ios/ios/image_comparison_test.rb
|
158
146
|
# displayName: Run tests
|
159
147
|
# - template: ./functional/publish_test_result.yml
|
160
|
-
# parameters:
|
161
|
-
# xcodeVersion: 'Run_func_test_on_iOS_opencv'
|
162
148
|
|
163
149
|
|
164
150
|
- job: func_test_android_base
|
@@ -169,6 +155,7 @@ jobs:
|
|
169
155
|
ANDROID_SDK_VERSION: ${{ parameters.androidSDK }}
|
170
156
|
IGNORE_VERSION_SKIP: ${{ parameters.ignoreVersionSkip }}
|
171
157
|
APPIUM_VERSION: ${{ parameters.appiumVersion }}
|
158
|
+
ANDROID_BUILD_TOOLS_VERSION: ${{ parameters.androidBuildToolsVersion }}
|
172
159
|
strategy:
|
173
160
|
matrix:
|
174
161
|
uiautomator2:
|
@@ -179,10 +166,8 @@ jobs:
|
|
179
166
|
- template: ./functional/android_setup.yml
|
180
167
|
- template: ./functional/run_appium.yml
|
181
168
|
- script: bundle exec rake test:func:android TESTS=test/functional/android/driver_test.rb,test/functional/android/patch_test.rb
|
182
|
-
displayName: Run tests
|
169
|
+
displayName: Run tests func_test_android_base
|
183
170
|
- template: ./functional/publish_test_result.yml
|
184
|
-
parameters:
|
185
|
-
xcodeVersion: 'Run_func_test_on_android_base'
|
186
171
|
|
187
172
|
- job: func_test_android_webdriver
|
188
173
|
pool:
|
@@ -192,6 +177,7 @@ jobs:
|
|
192
177
|
ANDROID_SDK_VERSION: ${{ parameters.androidSDK }}
|
193
178
|
IGNORE_VERSION_SKIP: ${{ parameters.ignoreVersionSkip }}
|
194
179
|
APPIUM_VERSION: ${{ parameters.appiumVersion }}
|
180
|
+
ANDROID_BUILD_TOOLS_VERSION: ${{ parameters.androidBuildToolsVersion }}
|
195
181
|
strategy:
|
196
182
|
matrix:
|
197
183
|
uiautomator2:
|
@@ -202,10 +188,8 @@ jobs:
|
|
202
188
|
- template: ./functional/android_setup.yml
|
203
189
|
- template: ./functional/run_appium.yml
|
204
190
|
- script: bundle exec rake test:func:android TESTS=test/functional/android/webdriver/create_session_test.rb,test/functional/android/webdriver/device_test.rb,test/functional/android/webdriver/w3c_actions_test.rb
|
205
|
-
displayName: Run tests
|
191
|
+
displayName: Run tests func_test_android_webdriver
|
206
192
|
- template: ./functional/publish_test_result.yml
|
207
|
-
parameters:
|
208
|
-
xcodeVersion: 'Run_func_test_on_android_base'
|
209
193
|
|
210
194
|
- job: func_test_android_android1
|
211
195
|
pool:
|
@@ -215,6 +199,7 @@ jobs:
|
|
215
199
|
ANDROID_SDK_VERSION: ${{ parameters.androidSDK }}
|
216
200
|
IGNORE_VERSION_SKIP: ${{ parameters.ignoreVersionSkip }}
|
217
201
|
APPIUM_VERSION: ${{ parameters.appiumVersion }}
|
202
|
+
ANDROID_BUILD_TOOLS_VERSION: ${{ parameters.androidBuildToolsVersion }}
|
218
203
|
strategy:
|
219
204
|
matrix:
|
220
205
|
uiautomator2:
|
@@ -225,10 +210,8 @@ jobs:
|
|
225
210
|
- template: ./functional/android_setup.yml
|
226
211
|
- template: ./functional/run_appium.yml
|
227
212
|
- script: bundle exec rake test:func:android TESTS=test/functional/android/android/device_test.rb
|
228
|
-
displayName: Run
|
213
|
+
displayName: Run tests func_test_android_android1
|
229
214
|
- template: ./functional/publish_test_result.yml
|
230
|
-
parameters:
|
231
|
-
xcodeVersion: 'func_test_android_android1'
|
232
215
|
|
233
216
|
- job: func_test_android_android2
|
234
217
|
pool:
|
@@ -238,6 +221,7 @@ jobs:
|
|
238
221
|
ANDROID_SDK_VERSION: ${{ parameters.androidSDK }}
|
239
222
|
IGNORE_VERSION_SKIP: ${{ parameters.ignoreVersionSkip }}
|
240
223
|
APPIUM_VERSION: ${{ parameters.appiumVersion }}
|
224
|
+
ANDROID_BUILD_TOOLS_VERSION: ${{ parameters.androidBuildToolsVersion }}
|
241
225
|
strategy:
|
242
226
|
matrix:
|
243
227
|
uiautomator2:
|
@@ -248,10 +232,8 @@ jobs:
|
|
248
232
|
- template: ./functional/android_setup.yml
|
249
233
|
- template: ./functional/run_appium.yml
|
250
234
|
- script: bundle exec rake test:func:android TESTS=test/functional/android/android/mobile_commands_test.rb,test/functional/android/android/search_context_test.rb,test/functional/android/android/mjpeg_server_test.rb
|
251
|
-
displayName: Run tests
|
235
|
+
displayName: Run tests func_test_android_android2
|
252
236
|
- template: ./functional/publish_test_result.yml
|
253
|
-
parameters:
|
254
|
-
xcodeVersion: 'func_test_android_android3'
|
255
237
|
|
256
238
|
- job: func_test_android_android3
|
257
239
|
pool:
|
@@ -261,6 +243,7 @@ jobs:
|
|
261
243
|
ANDROID_SDK_VERSION: ${{ parameters.androidSDK }}
|
262
244
|
IGNORE_VERSION_SKIP: ${{ parameters.ignoreVersionSkip }}
|
263
245
|
APPIUM_VERSION: ${{ parameters.appiumVersion }}
|
246
|
+
ANDROID_BUILD_TOOLS_VERSION: ${{ parameters.androidBuildToolsVersion }}
|
264
247
|
strategy:
|
265
248
|
matrix:
|
266
249
|
uiautomator2:
|
@@ -271,10 +254,8 @@ jobs:
|
|
271
254
|
- template: ./functional/android_setup.yml
|
272
255
|
- template: ./functional/run_appium.yml
|
273
256
|
- script: bundle exec rake test:func:android TESTS=test/functional/android/android/device_data_test.rb
|
274
|
-
displayName: Run tests
|
257
|
+
displayName: Run tests func_test_android_android3
|
275
258
|
- template: ./functional/publish_test_result.yml
|
276
|
-
parameters:
|
277
|
-
xcodeVersion: 'func_test_android_android3'
|
278
259
|
|
279
260
|
- job: func_test_android_mobile_command_espresso
|
280
261
|
pool:
|
@@ -285,6 +266,7 @@ jobs:
|
|
285
266
|
AUTOMATION_NAME_DROID: espresso
|
286
267
|
IGNORE_VERSION_SKIP: ${{ parameters.ignoreVersionSkip }}
|
287
268
|
APPIUM_VERSION: ${{ parameters.appiumVersion }}
|
269
|
+
ANDROID_BUILD_TOOLS_VERSION: ${{ parameters.androidBuildToolsVersion }}
|
288
270
|
strategy:
|
289
271
|
matrix:
|
290
272
|
uiautomator2:
|
@@ -295,10 +277,8 @@ jobs:
|
|
295
277
|
- template: ./functional/android_setup.yml
|
296
278
|
- template: ./functional/run_appium.yml
|
297
279
|
- script: bundle exec rake test:func:android TESTS=test/functional/android/android/mobile_commands_test.rb
|
298
|
-
displayName: Run tests
|
280
|
+
displayName: Run tests func_test_android_mobile_command_espresso
|
299
281
|
- template: ./functional/publish_test_result.yml
|
300
|
-
parameters:
|
301
|
-
xcodeVersion: 'func_test_android_mobile_command_espresso'
|
302
282
|
|
303
283
|
# Skip since opencv4nodejs fails to install on the macOS instance
|
304
284
|
# - job: func_test_android_opencv
|
@@ -309,6 +289,7 @@ jobs:
|
|
309
289
|
# ANDROID_SDK_VERSION: ${{ parameters.androidSDK }}
|
310
290
|
# IGNORE_VERSION_SKIP: ${{ parameters.ignoreVersionSkip }}
|
311
291
|
# APPIUM_VERSION: ${{ parameters.appiumVersion }}
|
292
|
+
# ANDROID_BUILD_TOOLS_VERSION: ${{ parameters.androidBuildToolsVersion }}
|
312
293
|
# strategy:
|
313
294
|
# matrix:
|
314
295
|
# uiautomator2:
|
@@ -321,7 +302,5 @@ jobs:
|
|
321
302
|
# - script: npm install -g opencv4nodejs@5.1.0
|
322
303
|
# displayName: Install opencv4nodejs@5.1.0
|
323
304
|
# - script: bundle exec rake test:func:android TESTS=test/functional/android/android/image_comparison_test.rb
|
324
|
-
# displayName: Run tests
|
305
|
+
# displayName: Run tests func_test_android_opencv
|
325
306
|
# - template: ./functional/publish_test_result.yml
|
326
|
-
# parameters:
|
327
|
-
# xcodeVersion: 'func_test_android_android2'
|
@@ -412,6 +412,9 @@ module Appium
|
|
412
412
|
end
|
413
413
|
|
414
414
|
::Appium::Core::Device.add_endpoint_method(:execute_cdp) do
|
415
|
+
# SeleniumWebdriver could already define this method
|
416
|
+
return if method_defined? :execute_cdp
|
417
|
+
|
415
418
|
def execute_cdp(cmd, **params)
|
416
419
|
execute :chrome_send_command, {}, { cmd: cmd, params: params }
|
417
420
|
end
|
@@ -14,7 +14,7 @@
|
|
14
14
|
|
15
15
|
module Appium
|
16
16
|
module Core
|
17
|
-
VERSION = '3.10.
|
18
|
-
DATE = '2020-06-
|
17
|
+
VERSION = '3.10.1' unless defined? ::Appium::Core::VERSION
|
18
|
+
DATE = '2020-06-29' unless defined? ::Appium::Core::DATE
|
19
19
|
end
|
20
20
|
end
|
data/release_notes.md
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
+
#### v3.10.1 2020-06-29
|
2
|
+
|
3
|
+
- [9537c61](https://github.com/appium/ruby_lib_core/commit/9537c619220177a4cac82368405fec681a5ab231) Release 3.10.1
|
4
|
+
- [3b962f5](https://github.com/appium/ruby_lib_core/commit/3b962f55cc954699e72b38c94e5a1f05c82867f9) ci: runs tests on windows host as GitHub Actions (#272)
|
5
|
+
- [f60b4f1](https://github.com/appium/ruby_lib_core/commit/f60b4f193c590d861342828bd740cefda7e96b9a) ci: remove travis (#271)
|
6
|
+
- [b1aa80d](https://github.com/appium/ruby_lib_core/commit/b1aa80dd1cc200917df9958b6274e0a82b5ffc40) ci: run unittests on GitHub Actions (#270)
|
7
|
+
- [ad90f79](https://github.com/appium/ruby_lib_core/commit/ad90f79b726aa480edf989fed2a8b00ced6c52fd) chore: Update issue templates
|
8
|
+
- [cf546a0](https://github.com/appium/ruby_lib_core/commit/cf546a0c62f815df4bb3ece4932b8033fad25ae2) ci: tune Azure (#269)
|
9
|
+
- [14e7e56](https://github.com/appium/ruby_lib_core/commit/14e7e56a2bccb4c4cc53e0b10284e3837e50a1af) ci: bump android emulator version (#268)
|
10
|
+
- [8d2cd95](https://github.com/appium/ruby_lib_core/commit/8d2cd95445d95716617c426e759e19e861ef09e2) chore: remove pry added accidentally
|
11
|
+
|
12
|
+
|
1
13
|
#### v3.10.0 2020-06-09
|
2
14
|
|
3
15
|
- [9eff959](https://github.com/appium/ruby_lib_core/commit/9eff959240effde56460c77878a24a20d047f9e9) Release 3.10.0
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: appium_lib_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.10.
|
4
|
+
version: 3.10.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kazuaki MATSUO
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-06-
|
11
|
+
date: 2020-06-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: selenium-webdriver
|
@@ -219,11 +219,12 @@ executables: []
|
|
219
219
|
extensions: []
|
220
220
|
extra_rdoc_files: []
|
221
221
|
files:
|
222
|
+
- ".github/ISSUE_TEMPLATE/issue-report.md"
|
222
223
|
- ".github/contributing.md"
|
223
224
|
- ".github/issue_template.md"
|
225
|
+
- ".github/workflows/unittest.yml"
|
224
226
|
- ".gitignore"
|
225
227
|
- ".rubocop.yml"
|
226
|
-
- ".travis.yml"
|
227
228
|
- CHANGELOG.md
|
228
229
|
- Gemfile
|
229
230
|
- LICENSE.txt
|
@@ -339,7 +340,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
339
340
|
- !ruby/object:Gem::Version
|
340
341
|
version: '0'
|
341
342
|
requirements: []
|
342
|
-
rubygems_version: 3.0.
|
343
|
+
rubygems_version: 3.0.3
|
343
344
|
signing_key:
|
344
345
|
specification_version: 4
|
345
346
|
summary: Minimal Ruby library for Appium.
|
data/.travis.yml
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
sudo: false
|
2
|
-
cache: bundler
|
3
|
-
language: ruby
|
4
|
-
rvm:
|
5
|
-
- 2.2
|
6
|
-
- 2.3
|
7
|
-
- 2.4
|
8
|
-
- 2.5
|
9
|
-
- 2.6
|
10
|
-
- 2.7
|
11
|
-
|
12
|
-
before_install:
|
13
|
-
- gem update bundler
|
14
|
-
|
15
|
-
script:
|
16
|
-
- bundle exec rake rubocop
|
17
|
-
- UNIT_TEST=true bundle exec parallel_test test/unit/ -n 4
|
18
|
-
- UNIT_TEST=true AUTOMATION_NAME_DROID=espresso bundle exec parallel_test test/unit/android -n 4
|
19
|
-
- UNIT_TEST=true AUTOMATION_NAME_DROID=appium AUTOMATION_NAME_IOS=appium bundle exec parallel_test test/unit -n 4
|
20
|
-
|
21
|
-
notifications:
|
22
|
-
email:
|
23
|
-
on_success: never
|
24
|
-
on_failure: never
|