testcentricity_mobile 4.0.3 → 4.0.5

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: 6e8fb5fe845b780a179f42b55ae5b46af2e82f38e1a722df9510a3662de8dca5
4
+ data.tar.gz: 9bd6ba84e65f19b11daccf044d805f23a969ab17efbb6a40827a780ab127a96c
5
5
  SHA512:
6
- metadata.gz: 65dd7f632f96537cd043fb0e1246859e029b987fffbab216948818307c2ae1ed1ca57db8ef17883392d5ffeaa759b656602c696399a08431b83527f5862aedca
7
- data.tar.gz: ae61adcb122c74499f17e930ad9457a0790547cac3a9c9807bf954d7bd62d34af8d431549d6e0b37c926ce1c30aadb41765091cc98467c831d1510861cb5e09a
6
+ metadata.gz: 5cfa08ef930ec88fa2f5de32ef296e77107abeb153efad4660dea4564022a341a52c8e6d6c7a5136d5ec82432e705a635f3542ec05b46ccd50b344b7e7d6157f
7
+ data.tar.gz: 6ee2af57ed34c56f4240b98d9e680c1fbf32e98692a5664664ac8cad6161dede0be7eea9ee67401928efbf1a4fdf46cfa05313fd39ff38ff8373ec8da577d444
data/CHANGELOG.md CHANGED
@@ -2,6 +2,23 @@
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
4
 
5
+ ## [4.0.5] - 29-APR-2024
6
+
7
+ ### Fixed
8
+
9
+ * `ScreenSection.disabled?` no longer returns wrong values.
10
+
11
+
12
+ ## [4.0.4] - 26-APR-2024
13
+
14
+ ### Changed
15
+
16
+ * Updated `selenium-webdriver` gem to version 4.20.0.
17
+ * Updated `appium_lib` gem to version 15.0.0.
18
+ * Updated `appium_lib_core` gem to version 8.0.1.
19
+ * No longer using deprecated Appium `driver.keyboard_shown?` method.
20
+
21
+
5
22
  ## [4.0.3] - 05-APR-2024
6
23
 
7
24
  ### 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)
@@ -420,9 +420,7 @@ module TestCentricity
420
420
  # bar_chart_section.disabled?
421
421
  #
422
422
  def disabled?
423
- section = find_section
424
- section_not_found_exception(section)
425
- section.enabled?
423
+ !enabled?
426
424
  end
427
425
 
428
426
  # Is screen Section object visible?
@@ -1,3 +1,3 @@
1
1
  module TestCentricityMobile
2
- VERSION = '4.0.3'
2
+ VERSION = '4.0.5'
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.5
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-28 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