testcentricity_mobile 4.0.8 → 4.0.10
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 +16 -0
- data/README.md +23 -25
- data/lib/testcentricity_mobile/app_core/appium_connect_helper.rb +2 -2
- data/lib/testcentricity_mobile/version.rb +1 -1
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 22dbc547598584886e1f6d5bf533b0a0fd8c7baf0ad4369ea8d5b2f7fff7b762
|
4
|
+
data.tar.gz: e513d2670f44d48ebd1379e9b10c592be4c27fa016f8a3006ab609605ae3f21e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b70df9d092dcd24da61977b94a679ff562a76cc96e82b08f835621ecaa7f59641713d0b0f9963a37a3e9559b24495e3b68a91295561e5ee25a2d66eea0afad2d
|
7
|
+
data.tar.gz: 6c00af4f804cd1b44d14c91b41559f01ecea02f8046acd680237b8ed018f985692030f3bbcff2767e35d1ec3c46d145104428070415ec25f8e23439d4885188e
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,22 @@
|
|
2
2
|
All notable changes to this project will be documented in this file.
|
3
3
|
|
4
4
|
|
5
|
+
## [4.0.10] - 25-JULY-2024
|
6
|
+
|
7
|
+
### Changed
|
8
|
+
|
9
|
+
* Updated `selenium-webdriver` gem to version 4.23.0.
|
10
|
+
* Updated `appium_lib` gem to version 15.2.0.
|
11
|
+
* Updated `appium_lib_core` gem to version 9.2.0.
|
12
|
+
|
13
|
+
|
14
|
+
## [4.0.9] - 23-JUNE-2024
|
15
|
+
|
16
|
+
### Changed
|
17
|
+
|
18
|
+
* Updated `selenium-webdriver` gem to version 4.22.0.
|
19
|
+
|
20
|
+
|
5
21
|
## [4.0.8] - 03-JUNE-2024
|
6
22
|
|
7
23
|
### Fixed
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# TestCentricity™ Mobile
|
1
|
+
# TestCentricity™ For Mobile
|
2
2
|
|
3
3
|
[](https://badge.fury.io/rb/testcentricity_mobile)
|
4
4
|
[](http://opensource.org/licenses/BSD-3-Clause)
|
@@ -7,12 +7,12 @@
|
|
7
7
|
[](http://www.rubydoc.info/gems/testcentricity_mobile)
|
8
8
|
|
9
9
|
|
10
|
-
The TestCentricity™ Mobile core framework for native mobile iOS and Android app testing implements a Screen Object Model
|
10
|
+
The TestCentricity™ For Mobile core framework for native mobile iOS and Android app testing implements a Screen Object Model
|
11
11
|
DSL for use with Cucumber (version 7.x or greater) and Appium 2.x. It also facilitates the configuration of the appropriate
|
12
12
|
Appium capabilities and driver required to establish a connection with locally or cloud hosted iOS and Android real devices
|
13
13
|
or simulators.
|
14
14
|
|
15
|
-
The TestCentricity™ Mobile gem supports automated testing of native iOS and Android apps running on the following mobile
|
15
|
+
The TestCentricity™ For Mobile gem supports automated testing of native iOS and Android apps running on the following mobile
|
16
16
|
test targets:
|
17
17
|
* locally hosted iOS device simulators or physical iOS devices (using Appium and XCode on macOS)
|
18
18
|
* locally hosted Android devices or Android Studio virtual device emulators (using Appium and Android Studio)
|
@@ -24,12 +24,12 @@ test targets:
|
|
24
24
|
|
25
25
|
## What's New
|
26
26
|
|
27
|
-
A complete history of bug fixes and new features can be found in the
|
27
|
+
A complete history of bug fixes and new features can be found in the [CHANGELOG](https://github.com/TestCentricity/testcentricity_mobile/blob/master/CHANGELOG.md) file.
|
28
28
|
|
29
29
|
The RubyDocs for this gem can be found [here](https://www.rubydoc.info/gems/testcentricity_mobile/).
|
30
30
|
|
31
|
-
Two example projects that demonstrates the implementation of a screen object model framework using
|
32
|
-
|
31
|
+
Two example projects that demonstrates the implementation of a screen object model framework using TestCentricity™ For Mobile
|
32
|
+
and Cucumber 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
|
|
@@ -39,23 +39,21 @@ ability to interact with and verify iOS system level modal dialogs.
|
|
39
39
|
|
40
40
|
### Which gem should I use?
|
41
41
|
|
42
|
-
* The [TestCentricity **Mobile** gem](https://rubygems.org/gems/testcentricity_mobile)
|
43
|
-
* The [TestCentricity **Apps** gem](https://rubygems.org/gems/testcentricity_apps)
|
44
|
-
* The [TestCentricity **Web** gem](https://rubygems.org/gems/testcentricity_web)
|
45
|
-
* The TestCentricity gem supports testing of native mobile apps and/or web interfaces via desktop and mobile web browsers.
|
42
|
+
* The [TestCentricity For **Mobile** gem](https://rubygems.org/gems/testcentricity_mobile) supports testing of native iOS and Android mobile apps
|
43
|
+
* The [TestCentricity For **Apps** gem](https://rubygems.org/gems/testcentricity_apps) supports testing of MacOS desktop apps and native iOS and Android mobile apps
|
44
|
+
* The [TestCentricity For **Web** gem](https://rubygems.org/gems/testcentricity_web) supports testing of web interfaces via desktop and mobile web browsers
|
46
45
|
|
47
|
-
| Tested platforms
|
48
|
-
|
49
|
-
| Native mobile iOS and/or Android apps only
|
50
|
-
| MacOS desktop apps
|
51
|
-
| Desktop/mobile web browsers only
|
52
|
-
| Native mobile apps and desktop/mobile web browsers | No | No | No | Yes |
|
46
|
+
| Tested platforms | TestCentricity For Mobile | TestCentricity For Apps | TestCentricity For Web |
|
47
|
+
|--------------------------------------------|:-:|:-:|:-:|
|
48
|
+
| Native mobile iOS and/or Android apps only | Yes | Yes | No |
|
49
|
+
| MacOS desktop apps | No | Yes | No |
|
50
|
+
| Desktop/mobile web browsers only | No | No | Yes |
|
53
51
|
|
54
52
|
|
55
53
|
## Installation
|
56
54
|
|
57
|
-
TestCentricity Mobile version 3.0 and above requires Ruby 3.0.0 or later. To install the TestCentricity Mobile gem,
|
58
|
-
this line to your automation project's Gemfile
|
55
|
+
TestCentricity For Mobile version 3.0 and above requires Ruby 3.0.0 or later. To install the TestCentricity For Mobile gem,
|
56
|
+
add this line to your automation project's `Gemfile`:
|
59
57
|
|
60
58
|
gem 'testcentricity_mobile'
|
61
59
|
|
@@ -878,7 +876,7 @@ axis that is set when instantiating an `AppList` element.
|
|
878
876
|
|
879
877
|
iOS Cloud List `ScreenObject`
|
880
878
|
```ruby
|
881
|
-
class CloudListScreen < ScreenObject
|
879
|
+
class CloudListScreen < TestCentricity::ScreenObject
|
882
880
|
trait(:screen_name) { 'Cloud List' }
|
883
881
|
trait(:screen_locator) { { class_chain: '**/XCUIElementTypeWindow/XCUIElementTypeOther/XCUIElementTypeOther/XCUIElementTypeOther' } }
|
884
882
|
|
@@ -896,7 +894,7 @@ iOS Cloud List `ScreenObject`
|
|
896
894
|
|
897
895
|
Android CloudListScreen `ScreenObject`
|
898
896
|
```ruby
|
899
|
-
class CloudListScreen < ScreenObject
|
897
|
+
class CloudListScreen < TestCentricity::ScreenObject
|
900
898
|
trait(:screen_name) { 'Cloud List' }
|
901
899
|
trait(:screen_locator) { { xpath: '//android.widget.FrameLayout[@resource-id="android:id/content"]/android.view.ViewGroup' } }
|
902
900
|
|
@@ -939,7 +937,7 @@ from the above examples.
|
|
939
937
|
|
940
938
|
iOS Swipe `ScreenObject`
|
941
939
|
```ruby
|
942
|
-
class SwipeScreen < ScreenObject
|
940
|
+
class SwipeScreen < TestCentricity::ScreenObject
|
943
941
|
trait(:screen_name) { 'Swipe' }
|
944
942
|
trait(:screen_locator) { { accessibility_id: 'Swipe-screen' } }
|
945
943
|
|
@@ -960,7 +958,7 @@ iOS Swipe `ScreenObject`
|
|
960
958
|
|
961
959
|
Android Swipe `ScreenObject`
|
962
960
|
```ruby
|
963
|
-
class SwipeScreen < ScreenObject
|
961
|
+
class SwipeScreen < TestCentricity::ScreenObject
|
964
962
|
trait(:screen_name) { 'Swipe' }
|
965
963
|
trait(:screen_locator) { { accessibility_id: 'Swipe-screen' } }
|
966
964
|
|
@@ -1011,7 +1009,7 @@ The code snippet below demonstrate the use of the `AppList.define_list_elements`
|
|
1011
1009
|
|
1012
1010
|
Android FormScreen `ScreenObject`
|
1013
1011
|
```ruby
|
1014
|
-
class FormScreen < ScreenObject
|
1012
|
+
class FormScreen < TestCentricity::ScreenObject
|
1015
1013
|
trait(:screen_name) { 'Form' }
|
1016
1014
|
trait(:screen_locator) { { accessibility_id: 'Forms-screen' } }
|
1017
1015
|
|
@@ -1717,7 +1715,7 @@ Refer to the following pages for information on uploading your iOS `.ipa` or `.a
|
|
1717
1715
|
Sauce Labs servers:
|
1718
1716
|
- [Mobile App Storage](https://docs.saucelabs.com/mobile-apps/app-storage/)
|
1719
1717
|
|
1720
|
-
The TestCentricity Mobile gem does not currently support automatic upload of app files to Sauce Labs servers. Uploading
|
1718
|
+
The TestCentricity For Mobile gem does not currently support automatic upload of app files to Sauce Labs servers. Uploading
|
1721
1719
|
will have to be performed manually or via your CI workflow. If you have not specified a custom test ID for your apps, your
|
1722
1720
|
tests will most likely fail as a new `app_url` will be generated, and you will have to update your test configuration data
|
1723
1721
|
to use the new `app_url`. If you have specified a custom test ID for your apps, your tests should be able to run without
|
@@ -2013,7 +2011,7 @@ the `/features/support/<platform>/sections` folder, where `<platform>` is typica
|
|
2013
2011
|
---
|
2014
2012
|
## Mobile Test Automation Framework Implementation
|
2015
2013
|
|
2016
|
-

|
2014
|
+

|
2017
2015
|
|
2018
2016
|
|
2019
2017
|
---
|
@@ -516,7 +516,7 @@ module TestCentricity
|
|
516
516
|
bs_options[:gpsLocation] = ENV['GPS_LOCATION'] if ENV['GPS_LOCATION']
|
517
517
|
bs_options[:acceptInsecureCerts] = ENV['ACCEPT_INSECURE_CERTS'] if ENV['ACCEPT_INSECURE_CERTS']
|
518
518
|
bs_options[:disableAnimations] = ENV['DISABLE_ANIMATION'] if ENV['DISABLE_ANIMATION']
|
519
|
-
bs_options[:appiumVersion] = ENV['APPIUM_VERSION'] ? ENV['APPIUM_VERSION'] : '2.
|
519
|
+
bs_options[:appiumVersion] = ENV['APPIUM_VERSION'] ? ENV['APPIUM_VERSION'] : '2.6.0'
|
520
520
|
|
521
521
|
capabilities = {
|
522
522
|
platformName: ENV['BS_OS'],
|
@@ -560,7 +560,7 @@ module TestCentricity
|
|
560
560
|
tb_options['testingbot.geoCountryCode'] = ENV['IP_GEOLOCATION'] if ENV['IP_GEOLOCATION']
|
561
561
|
tb_options[:screenrecorder] = ENV['RECORD_VIDEO'] if ENV['RECORD_VIDEO']
|
562
562
|
tb_options[:screenshot] = ENV['SCREENSHOTS'] if ENV['SCREENSHOTS']
|
563
|
-
tb_options[:appiumVersion] = ENV['APPIUM_VERSION'] ? ENV['APPIUM_VERSION'] : '2.
|
563
|
+
tb_options[:appiumVersion] = ENV['APPIUM_VERSION'] ? ENV['APPIUM_VERSION'] : '2.10.3'
|
564
564
|
|
565
565
|
capabilities = {
|
566
566
|
platformName: ENV['TB_OS'],
|
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.10
|
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-
|
11
|
+
date: 2024-07-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -86,14 +86,14 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 3.
|
89
|
+
version: 3.13.0
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 3.
|
96
|
+
version: 3.13.0
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: simplecov
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -128,14 +128,14 @@ dependencies:
|
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: 15.
|
131
|
+
version: 15.2.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: 15.
|
138
|
+
version: 15.2.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.23.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.23.0
|
223
223
|
- !ruby/object:Gem::Dependency
|
224
224
|
name: test-unit
|
225
225
|
requirement: !ruby/object:Gem::Requirement
|
@@ -250,12 +250,12 @@ dependencies:
|
|
250
250
|
version: '0'
|
251
251
|
description: |2-
|
252
252
|
|
253
|
-
The TestCentricity™ Mobile core framework for native mobile iOS and Android app testing implements a Screen Object
|
253
|
+
The TestCentricity™ For Mobile core framework for native mobile iOS and Android app testing implements a Screen Object
|
254
254
|
Model DSL for use with Cucumber or RSpec and Appium. The gem also facilitates the configuration of the appropriate
|
255
255
|
Appium capabilities required to establish a connection with locally or cloud hosted (using BrowserStack, Sauce Labs,
|
256
256
|
or TestingBot services) iOS or Android devices or simulators.
|
257
257
|
email:
|
258
|
-
- testcentricity
|
258
|
+
- support@testcentricity.com
|
259
259
|
executables: []
|
260
260
|
extensions: []
|
261
261
|
extra_rdoc_files: []
|
@@ -311,7 +311,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
311
311
|
version: '0'
|
312
312
|
requirements:
|
313
313
|
- Appium
|
314
|
-
rubygems_version: 3.
|
314
|
+
rubygems_version: 3.3.26
|
315
315
|
signing_key:
|
316
316
|
specification_version: 4
|
317
317
|
summary: A Screen Object Model Framework for native mobile iOS and/or Android app
|