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: 6e8fb5fe845b780a179f42b55ae5b46af2e82f38e1a722df9510a3662de8dca5
4
- data.tar.gz: 9bd6ba84e65f19b11daccf044d805f23a969ab17efbb6a40827a780ab127a96c
3
+ metadata.gz: 7e1afd0a24821f3a9f989076f77b8db1d62101e17a32e08e88d8b7e239f00d97
4
+ data.tar.gz: 137d9919f210bb16ca354a1d2933eb39952689635751981dcc5502ee1c888768
5
5
  SHA512:
6
- metadata.gz: 5cfa08ef930ec88fa2f5de32ef296e77107abeb153efad4660dea4564022a341a52c8e6d6c7a5136d5ec82432e705a635f3542ec05b46ccd50b344b7e7d6157f
7
- data.tar.gz: 6ee2af57ed34c56f4240b98d9e680c1fbf32e98692a5664664ac8cad6161dede0be7eea9ee67401928efbf1a4fdf46cfa05313fd39ff38ff8373ec8da577d444
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
- my_locator = section_locator
25
- else
26
- my_locator = @locator
27
- end
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.push(@parent.get_locator)
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
@@ -1,3 +1,3 @@
1
1
  module TestCentricityMobile
2
- VERSION = '4.0.5'
2
+ VERSION = '4.0.6'
3
3
  end
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.5
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-04-28 00:00:00.000000000 Z
11
+ date: 2024-05-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler