testcentricity_web 4.5.0 → 4.5.2
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 +5 -4
- data/lib/testcentricity_web/version.rb +1 -1
- data/lib/testcentricity_web/web_core/webdriver_helper.rb +7 -3
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8746bef064d835f617eae6f913f97ee9ea8a3b022a5f16f405b3f4e05de9e8b
|
4
|
+
data.tar.gz: ebd2ae7dac2cdffe05a2308c523fa170bcd656bf22de09ee928bc9b3bd5207c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d7f528dce40add6651109c39aabf7a723b5a1e7ff757551e5ddc00c5e897c896f3300364fd21bdf6192f9f6dab930bd07ebe1a0972c20bf581ef32a6b99ec28
|
7
|
+
data.tar.gz: c031b25f940a89cb17706104a5e16aab933b2ab2d65d0b01afb4e1c1238714e040adffb81c45e647797ecc9395f6f71da5ece77980c5d08b855c5ab228339cef
|
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.5.2] - 26-JAN-2024
|
6
|
+
|
7
|
+
### Changed
|
8
|
+
|
9
|
+
* Updated `appium_lib` gem to version 14.0.0.
|
10
|
+
* Updated `selenium-webdriver` gem to version 4.17.0.
|
11
|
+
|
12
|
+
|
13
|
+
## [4.5.1] - 18-JAN-2024
|
14
|
+
|
15
|
+
### Fixed
|
16
|
+
* `WebDriverConnect.driver_exists?` and `activate_driver` methods now convert string passed as a driver name to a symbol
|
17
|
+
with lower case letters and spaces replaced with underscores, which is how `WebDriverConnect.initialize_web_driver` saves
|
18
|
+
the driver name.
|
19
|
+
|
20
|
+
|
5
21
|
## [4.5.0] - 16-JAN-2024
|
6
22
|
|
7
23
|
### Removed
|
data/README.md
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
|
9
9
|
|
10
10
|
The TestCentricity™ Web core framework for desktop and mobile web browser-based app testing implements a Page Object Model
|
11
|
-
DSL for use with Cucumber (version 7.x or greater) or RSpec, and Selenium-Webdriver (version 4.
|
11
|
+
DSL for use with Cucumber (version 7.x or greater) or RSpec, and Selenium-Webdriver (version 4.17). It also facilitates the
|
12
12
|
configuration of the appropriate Selenium-Webdriver capabilities required to establish connections with one or more local
|
13
13
|
or cloud hosted desktop or mobile web browsers.
|
14
14
|
|
@@ -1493,6 +1493,7 @@ method. Valid `driver:` type values are listed in the table below:
|
|
1493
1493
|
| `:saucelabs` | remote browser hosted on Sauce Labs |
|
1494
1494
|
| `:testingbot` | remote browser hosted on TestingBot |
|
1495
1495
|
| `:lambdatest` | remote browser hosted on LambdaTest |
|
1496
|
+
| `:custom` | remote browser hosted on unsupported cloud based browser hosting services |
|
1496
1497
|
|
1497
1498
|
#### Specifying a Driver Name
|
1498
1499
|
|
@@ -1905,7 +1906,7 @@ the following **Environment Variables** must be set as described in the table be
|
|
1905
1906
|
| `APP_VERSION` | Must be set to which ever iOS version you wish to run within the XCode Simulator |
|
1906
1907
|
| `APP_DEVICE` | Set to iOS device name supported by the iOS Simulator (`iPhone 13 Pro Max`, `iPad Pro (12.9-inch) (5th generation)`, etc.) or name of physically connected iOS device |
|
1907
1908
|
| `DEVICE_TYPE` | Must be set to `phone` or `tablet` |
|
1908
|
-
| `
|
1909
|
+
| `UDID` | UDID of physically connected iOS device (not used for simulators) |
|
1909
1910
|
| `TEAM_ID` | unique 10-character Apple developer team identifier string (not used for simulators) |
|
1910
1911
|
| `TEAM_NAME` | String representing a signing certificate (not used for simulators) |
|
1911
1912
|
| `APP_ALLOW_POPUPS` | [Optional] Allow javascript to open new windows in Safari. Set to `true` or `false` |
|
@@ -2955,8 +2956,8 @@ with access to your version control system.
|
|
2955
2956
|
# NOTE: Requires installation of XCode and Appium
|
2956
2957
|
#==============
|
2957
2958
|
|
2958
|
-
my_ios_15_iphone: --profile app_ios_15 DEVICE_TYPE=phone APP_DEVICE="My Test iPhoneX"
|
2959
|
-
my_ios_15_ipad: --profile app_ios_15 DEVICE_TYPE=tablet APP_DEVICE="My Test iPad Pro"
|
2959
|
+
my_ios_15_iphone: --profile app_ios_15 DEVICE_TYPE=phone APP_DEVICE="My Test iPhoneX" UDID="INSERT YOUR DEVICE UDID"
|
2960
|
+
my_ios_15_ipad: --profile app_ios_15 DEVICE_TYPE=tablet APP_DEVICE="My Test iPad Pro" UDID="INSERT YOUR DEVICE UDID"
|
2960
2961
|
|
2961
2962
|
|
2962
2963
|
#==============
|
@@ -113,12 +113,16 @@ module TestCentricity
|
|
113
113
|
if @drivers.nil?
|
114
114
|
false
|
115
115
|
else
|
116
|
+
driver_name = driver_name.gsub(/\s+/, '_').downcase.to_sym if driver_name.is_a?(String)
|
116
117
|
driver_state = @drivers[driver_name]
|
117
118
|
!driver_state.nil?
|
118
119
|
end
|
119
120
|
end
|
120
121
|
|
121
122
|
def self.activate_driver(name)
|
123
|
+
name = name.gsub(/\s+/, '_').downcase.to_sym if name.is_a?(String)
|
124
|
+
return if Environ.driver_name == name
|
125
|
+
|
122
126
|
driver_state = @drivers[name]
|
123
127
|
raise "Could not find a driver named '#{name}'" if driver_state.nil?
|
124
128
|
|
@@ -469,7 +473,7 @@ module TestCentricity
|
|
469
473
|
# define mobile device options
|
470
474
|
if ENV['BS_DEVICE']
|
471
475
|
bs_options[:deviceName] = ENV['BS_DEVICE']
|
472
|
-
bs_options[:appiumVersion] = '
|
476
|
+
bs_options[:appiumVersion] = '2.0.1'
|
473
477
|
{
|
474
478
|
browserName: browser,
|
475
479
|
'bstack:options': bs_options
|
@@ -477,7 +481,7 @@ module TestCentricity
|
|
477
481
|
else
|
478
482
|
# define desktop browser options
|
479
483
|
bs_options[:resolution] = ENV['RESOLUTION'] if ENV['RESOLUTION']
|
480
|
-
bs_options[:seleniumVersion] = '4.
|
484
|
+
bs_options[:seleniumVersion] = '4.16.1'
|
481
485
|
{
|
482
486
|
browserName: browser,
|
483
487
|
browserVersion: ENV['BS_VERSION'],
|
@@ -547,7 +551,7 @@ module TestCentricity
|
|
547
551
|
else
|
548
552
|
# define desktop browser options
|
549
553
|
tb_options['screen-resolution'] = ENV['RESOLUTION'] if ENV['RESOLUTION']
|
550
|
-
tb_options['selenium-version'] = '4.
|
554
|
+
tb_options['selenium-version'] = '4.16.1'
|
551
555
|
end
|
552
556
|
{
|
553
557
|
browserName: browser,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: testcentricity_web
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.5.
|
4
|
+
version: 4.5.2
|
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-01-
|
11
|
+
date: 2024-01-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -156,14 +156,14 @@ dependencies:
|
|
156
156
|
requirements:
|
157
157
|
- - "~>"
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
version:
|
159
|
+
version: 14.0.0
|
160
160
|
type: :runtime
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
164
|
- - "~>"
|
165
165
|
- !ruby/object:Gem::Version
|
166
|
-
version:
|
166
|
+
version: 14.0.0
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
168
|
name: browserstack-local
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
@@ -268,14 +268,14 @@ dependencies:
|
|
268
268
|
requirements:
|
269
269
|
- - '='
|
270
270
|
- !ruby/object:Gem::Version
|
271
|
-
version: 4.
|
271
|
+
version: 4.17.0
|
272
272
|
type: :runtime
|
273
273
|
prerelease: false
|
274
274
|
version_requirements: !ruby/object:Gem::Requirement
|
275
275
|
requirements:
|
276
276
|
- - '='
|
277
277
|
- !ruby/object:Gem::Version
|
278
|
-
version: 4.
|
278
|
+
version: 4.17.0
|
279
279
|
- !ruby/object:Gem::Dependency
|
280
280
|
name: test-unit
|
281
281
|
requirement: !ruby/object:Gem::Requirement
|
@@ -307,7 +307,7 @@ dependencies:
|
|
307
307
|
description: |2-
|
308
308
|
|
309
309
|
The TestCentricity™ Web core framework for desktop and mobile web browser-based app testing implements a Page Object
|
310
|
-
Model DSL for use with Cucumber or RSpec, and Selenium-Webdriver v4.
|
310
|
+
Model DSL for use with Cucumber or RSpec, and Selenium-Webdriver v4.17. The gem also facilitates the configuration of
|
311
311
|
the appropriate Selenium-Webdriver capabilities required to establish connections to locally hosted desktop browsers,
|
312
312
|
locally hosted emulated mobile browsers (iOS, Android, etc.) running within a local instance of Chrome, mobile Safari
|
313
313
|
browsers on iOS device simulators or physical iOS devices, mobile Chrome browsers on Android Studio virtual device
|