testcentricity_web 3.2.8 → 3.2.9
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 +5 -0
- data/Gemfile.lock +1 -1
- data/lib/testcentricity_web/version.rb +1 -1
- data/lib/testcentricity_web/web_elements/ui_elements_helper.rb +29 -0
- 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: f7e5dbade4823d30c911869ba81a8fcb295ee99feefe0719402adf93ce01aaca
|
4
|
+
data.tar.gz: f0641953c17c84bd67e74b796417ad16a2032522f91315f6d6ae1e4fdbbed556
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92a3d79a809f3c6ce6d992c568c07723ae86c9eefe1b6c5b71db12b8cf1ff6dd73a42cf40bb0cb4f59bc6ff9f17775c62ed879f28e0504df8845fa5d4f5827f2
|
7
|
+
data.tar.gz: 225b402ed7af3705575fd283d8c560e6d85adcaebd2fd107edbe9fb07ee6b0878b434c9d7c7b8743596a4c08e10d318392c1e4058b6d19e6532a834cf26d1b11
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
All notable changes to this project will be documented in this file.
|
3
3
|
|
4
|
+
## [3.2.9] - 12-FEB-2020
|
5
|
+
|
6
|
+
### Fixed
|
7
|
+
* Fixed `UIElement.wait_until_value_is`, `List.wait_until_item_count_is`, and `Table.wait_until_row_count_is`' methods.
|
8
|
+
|
4
9
|
## [3.2.8] - 08-FEB-2020
|
5
10
|
|
6
11
|
### Fixed
|
data/Gemfile.lock
CHANGED
@@ -1007,5 +1007,34 @@ module TestCentricity
|
|
1007
1007
|
def object_ref_message
|
1008
1008
|
"object '#{get_name}' (#{get_locator})"
|
1009
1009
|
end
|
1010
|
+
|
1011
|
+
def compare(expected, actual)
|
1012
|
+
if expected.is_a?(Hash) && expected.length == 1
|
1013
|
+
expected.each do |key, value|
|
1014
|
+
case key
|
1015
|
+
when :lt, :less_than
|
1016
|
+
actual < value
|
1017
|
+
when :lt_eq, :less_than_or_equal
|
1018
|
+
actual <= value
|
1019
|
+
when :gt, :greater_than
|
1020
|
+
actual > value
|
1021
|
+
when :gt_eq, :greater_than_or_equal
|
1022
|
+
actual >= value
|
1023
|
+
when :starts_with
|
1024
|
+
actual.start_with?(value)
|
1025
|
+
when :ends_with
|
1026
|
+
actual.end_with?(value)
|
1027
|
+
when :contains
|
1028
|
+
actual.include?(value)
|
1029
|
+
when :not_contains, :does_not_contain
|
1030
|
+
!actual.include?(value)
|
1031
|
+
when :not_equal
|
1032
|
+
actual != value
|
1033
|
+
end
|
1034
|
+
end
|
1035
|
+
else
|
1036
|
+
expected == actual
|
1037
|
+
end
|
1038
|
+
end
|
1010
1039
|
end
|
1011
1040
|
end
|
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: 3.2.
|
4
|
+
version: 3.2.9
|
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: 2020-02-
|
11
|
+
date: 2020-02-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|