testcentricity_web 0.8.7 → 0.8.8

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3fa1311e296cf791b910409f84158f864898f0ef
4
- data.tar.gz: 60c52b240c5d0391e674476ea82aa25ed589f355
3
+ metadata.gz: 42ed99dccff2f618eb499debb1cddd8c325d31e6
4
+ data.tar.gz: 4dbd5db9f6aecdef99969f1a53eb86c614b7916f
5
5
  SHA512:
6
- metadata.gz: b2912afd0fcae3d084304fd388516d8f49c2e5b9ad9d0054e69b052843b96ef3bd2e77e18c7ece153bd242c753ada9e8680a6d3155ae4f084c2496c0e095e569
7
- data.tar.gz: 15961c490a34bcce68efd0b958b2336168d111d801513b3e2976715ab33ca97461c327c86bf8ff1286eaf45f039fdc8ebeb4ff0390046166560a9b9a3811595c
6
+ metadata.gz: fb1ca9ad90740fb481c69b3aab09d9a48fe8f34bebc2b7eaa0553d599cf924d9bb0e7b641d607659c019a65cd214c312590169401eddebaf0ec5ad404f6aada9
7
+ data.tar.gz: b9f0fbfa6aef8af141397216e1e2de40c55fcf51d6fbc8bdea78dc54f7dc90c91641c1a2cbae8f96e2301eef4b5e92ac33b3e1bc853a520a0795dca46f5a4a6a
@@ -7,41 +7,41 @@ module TestCentricity
7
7
  @type = :textfield
8
8
  @alt_locator = nil
9
9
  end
10
- end
11
10
 
12
- # Is text field set to read-only?
13
- #
14
- # @return [Boolean]
15
- # @example
16
- # comments_field.read_only?
17
- #
18
- def read_only?
19
- obj, _ = find_element
20
- object_not_found_exception(obj, nil)
21
- !!obj.native.attribute('readonly')
22
- end
11
+ # Is text field set to read-only?
12
+ #
13
+ # @return [Boolean]
14
+ # @example
15
+ # comments_field.read_only?
16
+ #
17
+ def read_only?
18
+ obj, _ = find_element
19
+ object_not_found_exception(obj, nil)
20
+ !!obj.native.attribute('readonly')
21
+ end
23
22
 
24
- # Return maxlength character count of a text field.
25
- #
26
- # @return [Integer]
27
- # @example
28
- # max_num_chars = comments_field.get_max_length
29
- #
30
- def get_max_length
31
- obj, _ = find_element
32
- object_not_found_exception(obj, nil)
33
- obj.native.attribute('maxlength')
34
- end
23
+ # Return maxlength character count of a text field.
24
+ #
25
+ # @return [Integer]
26
+ # @example
27
+ # max_num_chars = comments_field.get_max_length
28
+ #
29
+ def get_max_length
30
+ obj, _ = find_element
31
+ object_not_found_exception(obj, nil)
32
+ obj.native.attribute('maxlength')
33
+ end
35
34
 
36
- # Return placeholder text of a text field.
37
- #
38
- # @return [String]
39
- # @example
40
- # placeholder_message = username_field.get_placeholder
41
- #
42
- def get_placeholder
43
- obj, _ = find_element
44
- object_not_found_exception(obj, nil)
45
- obj.native.attribute('placeholder')
35
+ # Return placeholder text of a text field.
36
+ #
37
+ # @return [String]
38
+ # @example
39
+ # placeholder_message = username_field.get_placeholder
40
+ #
41
+ def get_placeholder
42
+ obj, _ = find_element
43
+ object_not_found_exception(obj, nil)
44
+ obj.native.attribute('placeholder')
45
+ end
46
46
  end
47
47
  end
@@ -1,3 +1,3 @@
1
1
  module TestCentricityWeb
2
- VERSION = '0.8.7'
2
+ VERSION = '0.8.8'
3
3
  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: 0.8.7
4
+ version: 0.8.8
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-05-01 00:00:00.000000000 Z
11
+ date: 2016-05-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler