testcentricity_web 3.2.4 → 3.2.5

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: f9bdfaf5c58d665211ecd77601ea526762f1b4f80fa4e803487d44f5255c97ea
4
- data.tar.gz: 10f8d07f59688ce9fd65e5a4872236b16660dce386c71272cbd30bcef13808d1
3
+ metadata.gz: f2d727d3ecf1ba14dc1afc923c8b6598211dcbd1d35003a0ce242204f7f5cbf6
4
+ data.tar.gz: 247bcf00e67ee34d8b4d8b55fae4cb902d2dd63560d9aaf18dc93f67bdeb4f71
5
5
  SHA512:
6
- metadata.gz: cfd96ace3200351c8bc5a289428bd8404188e030d6345b8f53cfbdf3f32043c50fef1afa24dbfb4764d6b61085c0fc31b806649e2bace048228c01786bc8b9cc
7
- data.tar.gz: 63d7c404e1c3a2115e0fc927f20af8a7cd46f5ea4f5931ae1e62e42a7717596f8f5d291c0cafbefb7a59832385a30de50494ffd904ab3ce3d7123ba6c2cb4446
6
+ metadata.gz: 935acae2894744449e3e8a968c100802bfcb5ee08ba207afa0b1b30a0b386d972eb7334ffa8bdbff7e0924fb238d8a2fe8ec02af17f6fc171f813503759d33c6
7
+ data.tar.gz: 5409ded2396864a06a366e6a811ebc6a516bceedcf3d9fdfa97c874dfa8e0cdc219eb1b02c0978b3f0a39ae8bfb82295ad45d18acad358ae59403a95d955a4cb
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  # CHANGELOG
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
+ ## [3.2.5] - 25-JAN-2020
5
+
6
+ ### Added
7
+ * Added `UIElement.content_editable?` method.
8
+ * Updated `PageObject.verify_ui_states` and `PageSection.verify_ui_states` methods to support verification of the
9
+ `content_editable` property.
10
+
11
+ ### Fixed
12
+ * Fixed `UIElement.aria_multiselectable?` method.
13
+
4
14
  ## [3.2.4] - 16-JAN-2020
5
15
 
6
16
  ### Added
@@ -38,7 +48,6 @@ properties:
38
48
  * `aria_multiselectable`
39
49
  * `aria_controls`
40
50
 
41
-
42
51
  ## [3.2.2] - 16-OCT-2019
43
52
 
44
53
  ### Added
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- testcentricity_web (3.2.4)
4
+ testcentricity_web (3.2.5)
5
5
  appium_lib
6
6
  browserstack-local
7
7
  capybara (>= 3.1, < 4)
@@ -109,4 +109,4 @@ DEPENDENCIES
109
109
  testcentricity_web!
110
110
 
111
111
  BUNDLED WITH
112
- 2.1.2
112
+ 2.1.4
data/README.md CHANGED
@@ -495,6 +495,7 @@ With TestCentricity, all UI elements are based on the **UIElement** class, and i
495
495
  element.disabled?
496
496
  element.displayed?
497
497
  element.obscured?
498
+ element.content_editable?
498
499
  element.get_value
499
500
  element.count
500
501
  element.style
@@ -1,3 +1,3 @@
1
1
  module TestCentricityWeb
2
- VERSION = '3.2.4'
2
+ VERSION = '3.2.5'
3
3
  end
@@ -197,6 +197,8 @@ module TestCentricity
197
197
  ui_object.aria_multiline?
198
198
  when :aria_multiselectable
199
199
  ui_object.aria_multiselectable?
200
+ when :content_editable
201
+ ui_object.content_editable?
200
202
  else
201
203
  if property.is_a?(Hash)
202
204
  property.each do |key, value|
@@ -923,14 +923,25 @@ module TestCentricity
923
923
  state.boolean? ? state : state == 'true'
924
924
  end
925
925
 
926
- # Return state of UI object's aria-aria_multiselectable property
926
+ # Return state of UI object's aria-multiselectable property
927
927
  #
928
928
  # @return [Boolean]
929
929
  # @example
930
930
  # channels_select.aria_multiselectable?
931
931
  #
932
932
  def aria_multiselectable?
933
- state = get_attribute('aria-aria_multiselectable')
933
+ state = get_attribute('aria-multiselectable')
934
+ state.boolean? ? state : state == 'true'
935
+ end
936
+
937
+ # Return state of UI object's contenteditable property
938
+ #
939
+ # @return [Boolean]
940
+ # @example
941
+ # description_field.content_editable?
942
+ #
943
+ def content_editable?
944
+ state = get_attribute('contenteditable')
934
945
  state.boolean? ? state : state == 'true'
935
946
  end
936
947
 
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
4
+ version: 3.2.5
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-01-16 00:00:00.000000000 Z
11
+ date: 2020-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler