testcentricity_mobile 4.0.3 → 4.0.5
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/CHANGELOG.md +17 -0
- data/README.md +9 -8
- data/lib/testcentricity_mobile/app_core/appium_connect_helper.rb +1 -1
- data/lib/testcentricity_mobile/app_core/screen_objects_helper.rb +2 -1
- data/lib/testcentricity_mobile/app_core/screen_section.rb +1 -3
- data/lib/testcentricity_mobile/version.rb +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e8fb5fe845b780a179f42b55ae5b46af2e82f38e1a722df9510a3662de8dca5
|
4
|
+
data.tar.gz: 9bd6ba84e65f19b11daccf044d805f23a969ab17efbb6a40827a780ab127a96c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
|
-
|
|
51
|
-
|
|
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.
|
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)
|
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.
|
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-
|
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.
|
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.
|
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:
|
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:
|
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.
|
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.
|
222
|
+
version: 4.20.0
|
223
223
|
- !ruby/object:Gem::Dependency
|
224
224
|
name: test-unit
|
225
225
|
requirement: !ruby/object:Gem::Requirement
|