testcentricity_mobile 4.0.5 → 4.0.6
Sign up to get free protection for your applications and to get access to all the features.
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,13 @@
|
|
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
|
+
|
5
12
|
## [4.0.5] - 29-APR-2024
|
6
13
|
|
7
14
|
### Fixed
|
@@ -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?
|
@@ -578,11 +578,10 @@ module TestCentricity
|
|
578
578
|
locators.each do |loc|
|
579
579
|
if obj.nil?
|
580
580
|
obj = find_element(loc.keys[0], loc.values[0])
|
581
|
-
puts "Found object #{loc}" if ENV['DEBUG']
|
582
581
|
else
|
583
582
|
obj = obj.find_element(loc.keys[0], loc.values[0])
|
584
|
-
puts "Found object #{loc}" if ENV['DEBUG']
|
585
583
|
end
|
584
|
+
puts "Found section object #{loc}" if ENV['DEBUG']
|
586
585
|
end
|
587
586
|
obj
|
588
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
|