testcentricity_web 1.0.18 → 1.0.19
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e840ac1cdbf5dabf0e407b4897e07b124d116cb
|
4
|
+
data.tar.gz: 9e49cae5c16c6a85aae4acb746f9926f20fcd929
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c03b13884c74724ee1ffb30aaa73787efe0d3565478cdd0192c022d98d1b823cf2767c7b82df75fabaff47e0f0cc7271091393e679c037fd8c94a412601f968
|
7
|
+
data.tar.gz: d127c67de4d6c60f961160bf3dd335f2ff06b12141fb7459a96ffb722471f4bc182918c13323ece7ac43ea4188447b831eebbe13723b0e42d22d22d3e51f4e2b
|
@@ -371,6 +371,8 @@ module TestCentricity
|
|
371
371
|
ui_states.each do |ui_object, object_states|
|
372
372
|
object_states.each do |property, state|
|
373
373
|
case property
|
374
|
+
when :class
|
375
|
+
actual = ui_object.get_attribute(:class)
|
374
376
|
when :exists
|
375
377
|
actual = ui_object.exists?
|
376
378
|
when :enabled
|
@@ -441,6 +443,10 @@ module TestCentricity
|
|
441
443
|
ExceptionQueue.enqueue_exception("#{error_msg} end with '#{value}' but found #{actual}") unless actual.end_with?(value)
|
442
444
|
when :contains
|
443
445
|
ExceptionQueue.enqueue_exception("#{error_msg} contain '#{value}' but found #{actual}") unless actual.include?(value)
|
446
|
+
when :not_contains, :does_not_contain
|
447
|
+
ExceptionQueue.enqueue_exception("#{error_msg} not contain '#{value}' but found #{actual}") if actual.include?(value)
|
448
|
+
when :not_equal
|
449
|
+
ExceptionQueue.enqueue_exception("#{error_msg} not equal '#{value}' but found #{actual}") if actual == value
|
444
450
|
when :like, :is_like
|
445
451
|
actual_like = actual.delete("\n")
|
446
452
|
actual_like = actual_like.delete("\r")
|
@@ -442,6 +442,8 @@ module TestCentricity
|
|
442
442
|
ui_states.each do |ui_object, object_states|
|
443
443
|
object_states.each do |property, state|
|
444
444
|
case property
|
445
|
+
when :class
|
446
|
+
actual = ui_object.get_attribute(:class)
|
445
447
|
when :exists
|
446
448
|
actual = ui_object.exists?
|
447
449
|
when :enabled
|
@@ -512,6 +514,10 @@ module TestCentricity
|
|
512
514
|
ExceptionQueue.enqueue_exception("#{error_msg} end with '#{value}' but found #{actual}") unless actual.end_with?(value)
|
513
515
|
when :contains
|
514
516
|
ExceptionQueue.enqueue_exception("#{error_msg} contain '#{value}' but found #{actual}") unless actual.include?(value)
|
517
|
+
when :not_contains, :does_not_contain
|
518
|
+
ExceptionQueue.enqueue_exception("#{error_msg} not contain '#{value}' but found #{actual}") if actual.include?(value)
|
519
|
+
when :not_equal
|
520
|
+
ExceptionQueue.enqueue_exception("#{error_msg} not equal '#{value}' but found #{actual}") if actual == value
|
515
521
|
when :like, :is_like
|
516
522
|
actual_like = actual.delete("\n")
|
517
523
|
actual_like = actual_like.delete("\r")
|
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: 1.0.
|
4
|
+
version: 1.0.19
|
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: 2016-12-
|
11
|
+
date: 2016-12-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|