testcentricity_mobile 4.0.4 → 4.0.6
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 +14 -0
- data/lib/testcentricity_mobile/app_core/screen_section.rb +8 -11
- data/lib/testcentricity_mobile/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7e1afd0a24821f3a9f989076f77b8db1d62101e17a32e08e88d8b7e239f00d97
|
|
4
|
+
data.tar.gz: 137d9919f210bb16ca354a1d2933eb39952689635751981dcc5502ee1c888768
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 218154425c571a1b3d0beee6225a69e084306bb630f3e4afa0c089708b4b77ac10a76a03251f690a89da09f0f1cf03e54d92de68ba99348c0017823d7a76a164
|
|
7
|
+
data.tar.gz: 36db158541dbbc17e4caba7a8cca270ea2fa88bfd5ea1ac01bafb1798a249d77f6427560e01cf3fab16da652ab9a5229c962e3c1771f031d8022911a11ba36fc
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
All notable changes to this project will be documented in this file.
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
## [4.0.6] - 02-MAY-2024
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
* `ScreenSection.find_section` is now able to find `ScreenSection` objects embedded within other `ScreenSections`.
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
## [4.0.5] - 29-APR-2024
|
|
13
|
+
|
|
14
|
+
### Fixed
|
|
15
|
+
|
|
16
|
+
* `ScreenSection.disabled?` no longer returns wrong values.
|
|
17
|
+
|
|
18
|
+
|
|
5
19
|
## [4.0.4] - 26-APR-2024
|
|
6
20
|
|
|
7
21
|
### Changed
|
|
@@ -20,14 +20,14 @@ module TestCentricity
|
|
|
20
20
|
end
|
|
21
21
|
|
|
22
22
|
def get_locator
|
|
23
|
-
if @locator.zero? && defined?(section_locator)
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
23
|
+
my_locator = if @locator.zero? && defined?(section_locator)
|
|
24
|
+
section_locator
|
|
25
|
+
else
|
|
26
|
+
@locator
|
|
27
|
+
end
|
|
28
28
|
locators = []
|
|
29
29
|
if @context == :section && !@parent.nil?
|
|
30
|
-
locators
|
|
30
|
+
locators = @parent.get_locator
|
|
31
31
|
end
|
|
32
32
|
|
|
33
33
|
if @parent_list.nil?
|
|
@@ -420,9 +420,7 @@ module TestCentricity
|
|
|
420
420
|
# bar_chart_section.disabled?
|
|
421
421
|
#
|
|
422
422
|
def disabled?
|
|
423
|
-
|
|
424
|
-
section_not_found_exception(section)
|
|
425
|
-
section.enabled?
|
|
423
|
+
!enabled?
|
|
426
424
|
end
|
|
427
425
|
|
|
428
426
|
# Is screen Section object visible?
|
|
@@ -580,11 +578,10 @@ module TestCentricity
|
|
|
580
578
|
locators.each do |loc|
|
|
581
579
|
if obj.nil?
|
|
582
580
|
obj = find_element(loc.keys[0], loc.values[0])
|
|
583
|
-
puts "Found object #{loc}" if ENV['DEBUG']
|
|
584
581
|
else
|
|
585
582
|
obj = obj.find_element(loc.keys[0], loc.values[0])
|
|
586
|
-
puts "Found object #{loc}" if ENV['DEBUG']
|
|
587
583
|
end
|
|
584
|
+
puts "Found section object #{loc}" if ENV['DEBUG']
|
|
588
585
|
end
|
|
589
586
|
obj
|
|
590
587
|
rescue
|
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.6
|
|
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-05-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|