testcentricity_web 3.2.8 → 3.2.9

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: c8da632e968dc1be54c1f21322e000b267ea1238ff0109c53987206dc83fb4bc
4
- data.tar.gz: 4c97c9e3a7e5b1527b7eda224e72dbbaeabfd6ca2e1f2d6add1b6aaa3e82ef19
3
+ metadata.gz: f7e5dbade4823d30c911869ba81a8fcb295ee99feefe0719402adf93ce01aaca
4
+ data.tar.gz: f0641953c17c84bd67e74b796417ad16a2032522f91315f6d6ae1e4fdbbed556
5
5
  SHA512:
6
- metadata.gz: c780b3717740b2822058dae52ce23049636c27bc66fc42f241ba5df77bbef872ff0bdec45ef524402b4eccbe30ce0111779fbd165ff89276197940babcee102e
7
- data.tar.gz: 84527c5cd2ed32bb0ecc8d899198186b227149155ea3e49c2dd2e448c448052283fe088b2c0952ca79e5771492780d3606f0eb0402905a9794098b5073cf3cfd
6
+ metadata.gz: 92a3d79a809f3c6ce6d992c568c07723ae86c9eefe1b6c5b71db12b8cf1ff6dd73a42cf40bb0cb4f59bc6ff9f17775c62ed879f28e0504df8845fa5d4f5827f2
7
+ data.tar.gz: 225b402ed7af3705575fd283d8c560e6d85adcaebd2fd107edbe9fb07ee6b0878b434c9d7c7b8743596a4c08e10d318392c1e4058b6d19e6532a834cf26d1b11
@@ -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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- testcentricity_web (3.2.8)
4
+ testcentricity_web (3.2.9)
5
5
  appium_lib
6
6
  browserstack-local
7
7
  capybara (>= 3.1, < 4)
@@ -1,3 +1,3 @@
1
1
  module TestCentricityWeb
2
- VERSION = '3.2.8'
2
+ VERSION = '3.2.9'
3
3
  end
@@ -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.8
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-08 00:00:00.000000000 Z
11
+ date: 2020-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler