testcentricity_web 4.6.5 → 4.6.7
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 +2 -0
- data/lib/testcentricity_web/version.rb +1 -1
- data/lib/testcentricity_web/web_core/page_objects_helper.rb +2 -0
- data/lib/testcentricity_web/web_core/webdriver_helper.rb +3 -3
- data/lib/testcentricity_web/web_elements/ui_element.rb +15 -0
- 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: 182dd10878593e23060b0db2787e26b0819f7d87750e6dfe9607d2c63c903713
|
|
4
|
+
data.tar.gz: 78c8c0b47ae8a5f7b75bf1121c945f738ed3e5ab1d3996fe520f86a93b3c631c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 237057b41a1f58832c386b7707ea4f5e95c1b72c72b343f52327cdf7d69008c015df149501ff79ac0572965b3f159d0d77b0690a22e10e31c5ee08ce8c7800a1
|
|
7
|
+
data.tar.gz: 447075ba7e918097d53316ff73bc9939f25688057ac0f6cab0c001b47282f512178b7354eaeb2a8e2e2f0a1eed29f5b8c38c2eed960d2c1f64f9410b9cbabfbe
|
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.6.7] - 21-OCT-2025
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
* Added `UIElement.draggable?` method.
|
|
10
|
+
* Updated `PageObject.verify_ui_states` and `PageSection.verify_ui_states` methods to support verification of the
|
|
11
|
+
`draggable` property.
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [4.6.6] - 10-OCT-2025
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
|
|
18
|
+
* Update Nokogiri gem to address CVE-2025-6021, CVE-2025-6170, CVE-2025-49794, CVE-2025-49795, and CVE-2025-49796.
|
|
19
|
+
* Update REXML gem to address DoS vulnerability when parsing XML containing multiple XML declarations.
|
|
20
|
+
|
|
21
|
+
|
|
5
22
|
## [4.6.5] - 18-JUL-2025
|
|
6
23
|
|
|
7
24
|
### Changed
|
data/README.md
CHANGED
|
@@ -570,6 +570,7 @@ With TestCentricity, all UI elements are based on the `UIElement` class, and inh
|
|
|
570
570
|
element.displayed?
|
|
571
571
|
element.obscured?
|
|
572
572
|
element.focused?
|
|
573
|
+
element.draggable?
|
|
573
574
|
element.required?
|
|
574
575
|
element.content_editable?
|
|
575
576
|
element.crossorigin
|
|
@@ -701,6 +702,7 @@ The `verify_ui_states` method supports the following property/state pairs:
|
|
|
701
702
|
:hidden Boolean
|
|
702
703
|
:displayed Boolean
|
|
703
704
|
:obscured Boolean
|
|
705
|
+
:draggable Boolean
|
|
704
706
|
:width Integer
|
|
705
707
|
:height Integer
|
|
706
708
|
:x Integer
|
|
@@ -486,7 +486,7 @@ module TestCentricity
|
|
|
486
486
|
# define mobile device options
|
|
487
487
|
if ENV['BS_DEVICE']
|
|
488
488
|
bs_options[:deviceName] = ENV['BS_DEVICE']
|
|
489
|
-
bs_options[:appiumVersion] = '2.
|
|
489
|
+
bs_options[:appiumVersion] = '2.19.0'
|
|
490
490
|
{
|
|
491
491
|
browserName: browser,
|
|
492
492
|
'bstack:options': bs_options
|
|
@@ -494,7 +494,7 @@ module TestCentricity
|
|
|
494
494
|
else
|
|
495
495
|
# define desktop browser options
|
|
496
496
|
bs_options[:resolution] = ENV['RESOLUTION'] if ENV['RESOLUTION']
|
|
497
|
-
bs_options[:seleniumVersion] = '4.
|
|
497
|
+
bs_options[:seleniumVersion] = '4.35.0'
|
|
498
498
|
{
|
|
499
499
|
browserName: browser,
|
|
500
500
|
browserVersion: ENV['BS_VERSION'],
|
|
@@ -564,7 +564,7 @@ module TestCentricity
|
|
|
564
564
|
else
|
|
565
565
|
# define desktop browser options
|
|
566
566
|
tb_options['screen-resolution'] = ENV['RESOLUTION'] if ENV['RESOLUTION']
|
|
567
|
-
tb_options['selenium-version'] = '4.
|
|
567
|
+
tb_options['selenium-version'] = '4.35.0'
|
|
568
568
|
end
|
|
569
569
|
{
|
|
570
570
|
browserName: browser,
|
|
@@ -559,6 +559,21 @@ module TestCentricity
|
|
|
559
559
|
obj.displayed?
|
|
560
560
|
end
|
|
561
561
|
|
|
562
|
+
# Return state of UI object's draggable property
|
|
563
|
+
#
|
|
564
|
+
# @return [Boolean]
|
|
565
|
+
# @example
|
|
566
|
+
# puzzle_piece_21.draggable?
|
|
567
|
+
#
|
|
568
|
+
def draggable?
|
|
569
|
+
state = get_attribute(:draggable)
|
|
570
|
+
if state.is_a?(String)
|
|
571
|
+
state.to_bool
|
|
572
|
+
elsif state.boolean?
|
|
573
|
+
state
|
|
574
|
+
end
|
|
575
|
+
end
|
|
576
|
+
|
|
562
577
|
def get_value(visible = true)
|
|
563
578
|
obj, type = find_element(visible)
|
|
564
579
|
object_not_found_exception(obj, type)
|
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.6.
|
|
4
|
+
version: 4.6.7
|
|
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-10-20 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: 10.
|
|
33
|
+
version: 10.1.1
|
|
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: 10.
|
|
40
|
+
version: 10.1.1
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: cuke_modeler
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -142,14 +142,14 @@ dependencies:
|
|
|
142
142
|
requirements:
|
|
143
143
|
- - "~>"
|
|
144
144
|
- !ruby/object:Gem::Version
|
|
145
|
-
version: 4.
|
|
145
|
+
version: 4.37.0
|
|
146
146
|
type: :development
|
|
147
147
|
prerelease: false
|
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
|
149
149
|
requirements:
|
|
150
150
|
- - "~>"
|
|
151
151
|
- !ruby/object:Gem::Version
|
|
152
|
-
version: 4.
|
|
152
|
+
version: 4.37.0
|
|
153
153
|
- !ruby/object:Gem::Dependency
|
|
154
154
|
name: simplecov
|
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -392,7 +392,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
392
392
|
version: '0'
|
|
393
393
|
requirements:
|
|
394
394
|
- Capybara, Selenium-WebDriver
|
|
395
|
-
rubygems_version: 3.4.
|
|
395
|
+
rubygems_version: 3.4.10
|
|
396
396
|
signing_key:
|
|
397
397
|
specification_version: 4
|
|
398
398
|
summary: A Page Object Model Framework for desktop and mobile web testing
|