testcentricity_web 2.3.15 → 2.3.15.1

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
  SHA1:
3
- metadata.gz: ad902070839a921986bb1a9e697cf951bbbe8aff
4
- data.tar.gz: 8a84f1f3d767ed03b5b4c6f87b17cfa9eb475ff9
3
+ metadata.gz: 2bfc2d05554b6d3b0325861b0684ad700d4996ed
4
+ data.tar.gz: aa970d336156379d22a89fc818239f3ab9f4ee04
5
5
  SHA512:
6
- metadata.gz: 4f426d1dd3e921fce5ecabd7420c6b8233ba18c7eb73dd652568015c6eb16517fa501b81dd4c24d71cf92584622d538fd9b4e1f7547cb9007c79f5833912385f
7
- data.tar.gz: 0d0b218f11a9ac98b77d377fc163eee8e739ce263b80462dd6eb08727ad5afe155054c22e976178f161644919f366678979bdc4fe955181426425dd4cad687e9
6
+ metadata.gz: 56c24b4835d2ae5454c52ef17709b6150843ee297051a1d85f8a6fc1dde356cb155a0a7b2d236a70a7185a3c3c57f37a993c30b30a518dc3971f796de0eab2de
7
+ data.tar.gz: 909fef42e2a8d339315ee0708ae747747b19013d9918327d88dc30eacd156c92bc215d29b402204ca00675c27e85dfc3cc656cea24adb42f4a676f209e20f4a1
data/README.md CHANGED
@@ -140,6 +140,7 @@ use the [parallel_tests gem](https://rubygems.org/gems/parallel_tests) to decrea
140
140
  ###Version 2.3.15
141
141
 
142
142
  * Fixed bug in `UIElement.get_object_type` method that could result in a `NoMethodError obj not defined` error.
143
+ * Fixed bug in `PageObject.verify_ui_states` and `PageSection.verify_ui_states` methods that failed to enqueue errors when UI elements could not be found.
143
144
 
144
145
  ###Version 2.3.8
145
146
 
@@ -44,4 +44,11 @@ module TestCentricity
44
44
  Environ.save_screen_shot(screen_shot)
45
45
  end
46
46
  end
47
+
48
+
49
+ class ObjectNotFoundError < StandardError
50
+ def initialize(message)
51
+ super(message)
52
+ end
53
+ end
47
54
  end
@@ -640,6 +640,9 @@ module TestCentricity
640
640
  end
641
641
  end
642
642
  end
643
+ rescue ObjectNotFoundError => e
644
+ ExceptionQueue.enqueue_exception(e.message)
645
+ ensure
643
646
  ExceptionQueue.post_exceptions
644
647
  end
645
648
 
@@ -783,6 +783,9 @@ module TestCentricity
783
783
  end
784
784
  end
785
785
  end
786
+ rescue ObjectNotFoundError => e
787
+ ExceptionQueue.enqueue_exception(e.message)
788
+ ensure
786
789
  ExceptionQueue.post_exceptions
787
790
  end
788
791
 
@@ -1,3 +1,3 @@
1
1
  module TestCentricityWeb
2
- VERSION = '2.3.15'
2
+ VERSION = '2.3.15.1'
3
3
  end
@@ -480,7 +480,7 @@ module TestCentricity
480
480
  def object_not_found_exception(obj, obj_type)
481
481
  @alt_locator.nil? ? locator = @locator : locator = @alt_locator
482
482
  obj_type.nil? ? object_type = 'Object' : object_type = obj_type
483
- raise "#{object_type} named '#{@name}' (#{locator}) not found" unless obj
483
+ raise ObjectNotFoundError("#{object_type} named '#{@name}' (#{locator}) not found") unless obj
484
484
  end
485
485
 
486
486
  def invalid_object_type_exception(obj, obj_type)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: testcentricity_web
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.15
4
+ version: 2.3.15.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - A.J. Mrozinski