testcentricity_mobile 4.0.3 → 4.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8d1c72189a3ecb6043ddb0ce1d7b16f1f2e67469522a97afbce050dcb75ab13f
4
- data.tar.gz: 35348b22511759c81c7cce36f293f8eaa902fede99436b6803043db1ecc3c2bc
3
+ metadata.gz: 0d519bfbcede39eaa26f5747d6cd80775251647b0eef46b2d5d67f132ba0cd9f
4
+ data.tar.gz: 61481d8001fcc958284084910bae13dd83c14d39bedd85d8f055c8cbadecae43
5
5
  SHA512:
6
- metadata.gz: 65dd7f632f96537cd043fb0e1246859e029b987fffbab216948818307c2ae1ed1ca57db8ef17883392d5ffeaa759b656602c696399a08431b83527f5862aedca
7
- data.tar.gz: ae61adcb122c74499f17e930ad9457a0790547cac3a9c9807bf954d7bd62d34af8d431549d6e0b37c926ce1c30aadb41765091cc98467c831d1510861cb5e09a
6
+ metadata.gz: 39be2d0fc4c2c384e0ceeaec2325af29b90c53e95a55aa70283582931ce68f632fc6e23e02c030b423514b2ed67ceae1989eb6470a3a3c9f79c4f37da7615d8b
7
+ data.tar.gz: 15606b7ae0548b6bce2339fdf457cd62ab8288082781eb7199b802e9557b968a0192c1ce88840c455df627a8ee1d6df3b74e9a8fb1dfd7d0313b9d8d2fba291a
data/CHANGELOG.md CHANGED
@@ -2,6 +2,16 @@
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
4
 
5
+ ## [4.0.4] - 26-APR-2024
6
+
7
+ ### Changed
8
+
9
+ * Updated `selenium-webdriver` gem to version 4.20.0.
10
+ * Updated `appium_lib` gem to version 15.0.0.
11
+ * Updated `appium_lib_core` gem to version 8.0.1.
12
+ * No longer using deprecated Appium `driver.keyboard_shown?` method.
13
+
14
+
5
15
  ## [4.0.3] - 05-APR-2024
6
16
 
7
17
  ### Fixed
data/README.md CHANGED
@@ -33,22 +33,23 @@ Mobile can be found at the following:
33
33
  * [tc_mobile_react_native_demo](https://github.com/TestCentricity/tc_mobile_react_native_demo)
34
34
  * [tc_mobile_wdio_demo](https://github.com/TestCentricity/tc_mobile_wdio_demo)
35
35
 
36
- Refer to [this wiki page](https://github.com/TestCentricity/testcentricity_mobile/wiki/XCUItest-driver-bug-impacts-iOS-dialogs-managed-by-com.apple.springboard) for
37
- information on a bug with the latest versions of the XCUItest driver that affects Appium's ability to interact with and
38
- verify iOS system level modal dialogs.
36
+ Refer to [this wiki page](https://github.com/TestCentricity/testcentricity_mobile/wiki/XCUItest-driver-bug-impacts-iOS-dialogs-managed-by-com.apple.springboard) for information on a bug with the latest versions of the XCUItest driver that affects Appium's
37
+ ability to interact with and verify iOS system level modal dialogs.
39
38
 
40
39
 
41
40
  ### Which gem should I use?
42
41
 
43
42
  * The [TestCentricity **Mobile** gem](https://rubygems.org/gems/testcentricity_mobile) only supports testing of native iOS and Android mobile apps
43
+ * The [TestCentricity **Apps** gem](https://rubygems.org/gems/testcentricity_apps) only supports testing of MacOS desktop apps and native iOS and Android mobile apps
44
44
  * The [TestCentricity **Web** gem](https://rubygems.org/gems/testcentricity_web) only supports testing of web interfaces via desktop and mobile web browsers
45
45
  * The TestCentricity gem supports testing of native mobile apps and/or web interfaces via desktop and mobile web browsers.
46
46
 
47
- | Tested platforms | TestCentricity Mobile | TestCentricity Web | TestCentricity |
48
- |----------------------------------------------------|-----------------------|--------------------|----------------|
49
- | Native mobile iOS and/or Android apps only | Yes | No | No |
50
- | Desktop/mobile web browsers only | No | Yes | No |
51
- | Native mobile apps and desktop/mobile web browsers | No | No | Yes |
47
+ | Tested platforms | TestCentricity Mobile | TestCentricity Apps | TestCentricity Web | TestCentricity |
48
+ |----------------------------------------------------|-----------------------|---------------------|--------------------|----------------|
49
+ | Native mobile iOS and/or Android apps only | Yes | Yes | No | No |
50
+ | MacOS desktop apps | No | Yes | No | No |
51
+ | Desktop/mobile web browsers only | No | No | Yes | No |
52
+ | Native mobile apps and desktop/mobile web browsers | No | No | No | Yes |
52
53
 
53
54
 
54
55
  ## Installation
@@ -214,7 +214,7 @@ module TestCentricity
214
214
  # @return [Boolean] TRUE if keyboard is shown. Return false if keyboard is hidden.
215
215
  #
216
216
  def self.keyboard_shown?
217
- driver.driver.keyboard_shown?
217
+ @driver.execute_script('mobile: isKeyboardShown')
218
218
  end
219
219
 
220
220
  # Get the current screen orientation
@@ -125,7 +125,8 @@ module TestCentricity
125
125
  ui_object.count
126
126
  when :buttons
127
127
  ui_object.buttons
128
-
128
+ else
129
+ raise "#{property} is not a valid property"
129
130
  end
130
131
  error_msg = "Expected UI object '#{ui_object.get_name}' (#{ui_object.get_locator}) #{property} property to"
131
132
  ExceptionQueue.enqueue_comparison(ui_object, state, actual, error_msg)
@@ -1,3 +1,3 @@
1
1
  module TestCentricityMobile
2
- VERSION = '4.0.3'
2
+ VERSION = '4.0.4'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: testcentricity_mobile
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.3
4
+ version: 4.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - A.J. Mrozinski
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-05 00:00:00.000000000 Z
11
+ date: 2024-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 9.1.2
33
+ version: 9.2.0
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 9.1.2
40
+ version: 9.2.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: parallel_tests
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -128,14 +128,14 @@ dependencies:
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: 14.0.0
131
+ version: 15.0.0
132
132
  type: :runtime
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: 14.0.0
138
+ version: 15.0.0
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: childprocess
141
141
  requirement: !ruby/object:Gem::Requirement
@@ -212,14 +212,14 @@ dependencies:
212
212
  requirements:
213
213
  - - '='
214
214
  - !ruby/object:Gem::Version
215
- version: 4.19.0
215
+ version: 4.20.0
216
216
  type: :runtime
217
217
  prerelease: false
218
218
  version_requirements: !ruby/object:Gem::Requirement
219
219
  requirements:
220
220
  - - '='
221
221
  - !ruby/object:Gem::Version
222
- version: 4.19.0
222
+ version: 4.20.0
223
223
  - !ruby/object:Gem::Dependency
224
224
  name: test-unit
225
225
  requirement: !ruby/object:Gem::Requirement