testcentricity_mobile 4.1.0 → 4.1.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/CHANGELOG.md +9 -0
- data/README.md +70 -64
- data/lib/testcentricity_mobile/app_core/appium_connect_helper.rb +3 -3
- data/lib/testcentricity_mobile/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 45f8f26ce59d3fdce92318a18ee8bbff1127edd400ad85d149c244db0891adf0
|
4
|
+
data.tar.gz: 9e9bb3c04800299d07f82e9edcf879cf913c1af4b67be6789988b842dcfd2585
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca993f14265b0b2ff22ed58c4afd26e40a48ba34bf61d47dd6115da1c8c23b908e6743ec08ea9126d25d5f568aa3f80e6f3b5c7c220a2ad5e4bded11d73ab143
|
7
|
+
data.tar.gz: 13ce821e09fefc97b7c71e1892b5757a5e10a0b1424b2e248eb7cc8dbfe4dedd79bf1bd004e4e0728bbe94e644f12bab5f995f9383a5aad084d134873cde5611
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,15 @@
|
|
2
2
|
All notable changes to this project will be documented in this file.
|
3
3
|
|
4
4
|
|
5
|
+
## [4.1.1] - 18-MAR-2025
|
6
|
+
|
7
|
+
### Changed
|
8
|
+
|
9
|
+
* Updated `appium_lib` gem to version 16.0.1.
|
10
|
+
* Updated `appium_lib_core` gem to version 10.0.0.
|
11
|
+
* Updated `selenium-webdriver` gem to version 4.29.1.
|
12
|
+
|
13
|
+
|
5
14
|
## [4.1.0] - 25-JAN-2025
|
6
15
|
|
7
16
|
### Changed
|
data/README.md
CHANGED
@@ -108,19 +108,19 @@ folder of your test automation project, where `<platform>` is typically `ios` or
|
|
108
108
|
you will typically have to define two `ScreenObjects` - one for the iOS version of your app and the other for the Android
|
109
109
|
version of your app.
|
110
110
|
|
111
|
-
|
112
|
-
├── config
|
113
|
-
├── features
|
114
|
-
│ ├── step_definitions
|
115
|
-
│ ├── support
|
116
|
-
│ │ ├── android
|
117
|
-
| | | └── screens
|
118
|
-
│ │ ├── ios
|
119
|
-
| | | └── screens
|
120
|
-
│ │ ├── env.rb
|
121
|
-
│ │ └── hooks.rb
|
122
|
-
├── Gemfile
|
123
|
-
└── README.md
|
111
|
+
📁 my_automation_project
|
112
|
+
├── 📁 config
|
113
|
+
├── 📁 features
|
114
|
+
│ ├── 📁 step_definitions
|
115
|
+
│ ├── 📁 support
|
116
|
+
│ │ ├── 📁 android
|
117
|
+
| | | └── 📁 screens
|
118
|
+
│ │ ├── 📁 ios
|
119
|
+
| | | └── 📁 screens
|
120
|
+
│ │ ├── 📄 env.rb
|
121
|
+
│ │ └── 📄 hooks.rb
|
122
|
+
├── 📄 Gemfile
|
123
|
+
└── 📄 README.md
|
124
124
|
|
125
125
|
|
126
126
|
You define a new `ScreenObject` as shown below:
|
@@ -331,21 +331,21 @@ Your `ScreenSection` class definitions should be contained within individual `.r
|
|
331
331
|
folder of your test automation project, where `<platform>` is typically `ios` or `android`. For each screen section in your
|
332
332
|
app, you will typically have to define two `ScreenSections` - one for your iOS app and the other for your Android app.
|
333
333
|
|
334
|
-
|
335
|
-
├── config
|
336
|
-
├── features
|
337
|
-
│ ├── step_definitions
|
338
|
-
│ ├── support
|
339
|
-
│ │ ├── android
|
340
|
-
| | | ├── screens
|
341
|
-
| | | └── sections
|
342
|
-
│ │ ├── ios
|
343
|
-
| | | ├── screens
|
344
|
-
| | | └── sections
|
345
|
-
│ │ ├── env.rb
|
346
|
-
│ │ └── hooks.rb
|
347
|
-
├── Gemfile
|
348
|
-
└── README.md
|
334
|
+
📁 my_automation_project
|
335
|
+
├── 📁 config
|
336
|
+
├── 📁 features
|
337
|
+
│ ├── 📁 step_definitions
|
338
|
+
│ ├── 📁 support
|
339
|
+
│ │ ├── 📁 android
|
340
|
+
| | | ├── 📁 screens
|
341
|
+
| | | └── 📁 sections
|
342
|
+
│ │ ├── 📁 ios
|
343
|
+
| | | ├── 📁 screens
|
344
|
+
| | | └── 📁 sections
|
345
|
+
│ │ ├── 📄 env.rb
|
346
|
+
│ │ └── 📄 hooks.rb
|
347
|
+
├── 📄 Gemfile
|
348
|
+
└── 📄 README.md
|
349
349
|
|
350
350
|
|
351
351
|
You define a new `ScreenSection` as shown below:
|
@@ -812,9 +812,10 @@ For example:
|
|
812
812
|
| Language (Country) | File name |
|
813
813
|
|-----------------------|-----------|
|
814
814
|
| English | en.yml |
|
815
|
+
| English (Australia) | en-AU.yml |
|
815
816
|
| English (Canada) | en-CA.yml |
|
816
|
-
| French (Canada) | fr-CA.yml |
|
817
817
|
| French | fr.yml |
|
818
|
+
| French (Canada) | fr-CA.yml |
|
818
819
|
| Spanish | es.yml |
|
819
820
|
| German | de.yml |
|
820
821
|
| Portuguese (Brazil) | pt-BR.yml |
|
@@ -822,19 +823,23 @@ For example:
|
|
822
823
|
|
823
824
|
Baseline translation strings are stored in `.yml` files in the `config/locales/` folder.
|
824
825
|
|
825
|
-
|
826
|
-
├── config
|
827
|
-
│ ├── locales
|
828
|
-
│ │ ├── en.yml
|
829
|
-
│ │ ├──
|
830
|
-
│ │ ├──
|
831
|
-
│ │ ├──
|
832
|
-
│ │
|
833
|
-
│ ├──
|
834
|
-
│
|
835
|
-
|
836
|
-
├──
|
837
|
-
└──
|
826
|
+
📁 my_automation_project/
|
827
|
+
├── 📁 config/
|
828
|
+
│ ├── 📁 locales/
|
829
|
+
│ │ ├── 📄 en.yml
|
830
|
+
│ │ ├── 📄 en-AU.yml
|
831
|
+
│ │ ├── 📄 es.yml
|
832
|
+
│ │ ├── 📄 de.yml
|
833
|
+
│ │ ├── 📄 fr.yml
|
834
|
+
│ │ ├── 📄 fr-CA.yml
|
835
|
+
│ │ ├── 📄 pt-BR.yml
|
836
|
+
│ │ └── 📄 pt-PT.yml
|
837
|
+
│ ├── 📁 test_data/
|
838
|
+
│ └── 📄 cucumber.yml
|
839
|
+
├── 📁 downloads/
|
840
|
+
├── 📁 features/
|
841
|
+
├── 📄 Gemfile
|
842
|
+
└── 📄 README.md
|
838
843
|
|
839
844
|
|
840
845
|
### Working With Custom AppUIElements
|
@@ -1984,28 +1989,29 @@ Object Model architecture. `ScreenObject` class definitions should be stored in
|
|
1984
1989
|
folders, organized in functional area sub-folders as needed. Likewise, `ScreenSection` class definitions should be stored in
|
1985
1990
|
the `/features/support/<platform>/sections` folder, where `<platform>` is typically `ios` or `android`.
|
1986
1991
|
|
1987
|
-
|
1988
|
-
├── config
|
1989
|
-
│ ├── locales
|
1990
|
-
│ ├── test_data
|
1991
|
-
│ └── cucumber.yml
|
1992
|
-
├──
|
1993
|
-
|
1994
|
-
│ ├──
|
1995
|
-
│
|
1996
|
-
|
1997
|
-
| | |
|
1998
|
-
|
1999
|
-
|
2000
|
-
| | |
|
2001
|
-
|
2002
|
-
|
2003
|
-
| | |
|
2004
|
-
|
2005
|
-
│ │ ├──
|
2006
|
-
│ │
|
2007
|
-
|
2008
|
-
|
1992
|
+
📁 my_automation_project/
|
1993
|
+
├── 📁 config/
|
1994
|
+
│ ├── 📁 locales/
|
1995
|
+
│ ├── 📁 test_data/
|
1996
|
+
│ └── 📄 cucumber.yml
|
1997
|
+
├── 📁 downloads/
|
1998
|
+
├── 📁 features/
|
1999
|
+
│ ├── 📁 step_definitions/
|
2000
|
+
│ ├── 📁 support
|
2001
|
+
│ │ ├── 📁 android
|
2002
|
+
| | | ├── 📁 screens
|
2003
|
+
| | | └── 📁 sections
|
2004
|
+
│ │ ├── 📁 ios
|
2005
|
+
| | | ├── 📁 screens
|
2006
|
+
| | | └── 📁 sections
|
2007
|
+
│ │ ├── 📁 shared_components
|
2008
|
+
| | | ├── 📁 screens
|
2009
|
+
| | | └── 📁 sections
|
2010
|
+
│ │ ├── 📄 env.rb
|
2011
|
+
│ │ ├── 📄 hooks.rb
|
2012
|
+
│ │ └── 📄 world_screens.rb
|
2013
|
+
├── 📄 Gemfile
|
2014
|
+
└── 📄 README.md
|
2009
2015
|
|
2010
2016
|
|
2011
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.12.1'
|
520
520
|
|
521
521
|
capabilities = {
|
522
522
|
platformName: ENV['BS_OS'],
|
@@ -541,7 +541,6 @@ module TestCentricity
|
|
541
541
|
options
|
542
542
|
end
|
543
543
|
|
544
|
-
# :nocov:
|
545
544
|
def self.testingbot_capabilities
|
546
545
|
Environ.device = :simulator
|
547
546
|
# specify endpoint url
|
@@ -560,7 +559,7 @@ module TestCentricity
|
|
560
559
|
tb_options['testingbot.geoCountryCode'] = ENV['IP_GEOLOCATION'] if ENV['IP_GEOLOCATION']
|
561
560
|
tb_options[:screenrecorder] = ENV['RECORD_VIDEO'] if ENV['RECORD_VIDEO']
|
562
561
|
tb_options[:screenshot] = ENV['SCREENSHOTS'] if ENV['SCREENSHOTS']
|
563
|
-
tb_options[:appiumVersion] = ENV['APPIUM_VERSION'] ? ENV['APPIUM_VERSION'] : '
|
562
|
+
tb_options[:appiumVersion] = ENV['APPIUM_VERSION'] ? ENV['APPIUM_VERSION'] : 'latest'
|
564
563
|
|
565
564
|
capabilities = {
|
566
565
|
platformName: ENV['TB_OS'],
|
@@ -586,6 +585,7 @@ module TestCentricity
|
|
586
585
|
options
|
587
586
|
end
|
588
587
|
|
588
|
+
# :nocov:
|
589
589
|
def self.sauce_capabilities
|
590
590
|
# specify endpoint url
|
591
591
|
if @endpoint.nil?
|
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.1.
|
4
|
+
version: 4.1.1
|
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: 2025-
|
11
|
+
date: 2025-03-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -128,14 +128,14 @@ dependencies:
|
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version:
|
131
|
+
version: 16.0.1
|
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: 16.0.1
|
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.29.1
|
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.29.1
|
223
223
|
- !ruby/object:Gem::Dependency
|
224
224
|
name: test-unit
|
225
225
|
requirement: !ruby/object:Gem::Requirement
|