testcentricity_web 1.0.0 → 1.0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/testcentricity_web/elements/select_list.rb +7 -0
- data/lib/testcentricity_web/version.rb +1 -1
- data/testcentricity_web.gemspec +3 -3
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5f5fcbeb50ae89c3b6a57a35c0cbd749e7900c5e
|
4
|
+
data.tar.gz: ad0050fe3bb42d8838bb1cc34219355951d3d636
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 265fe626b6b3e9b75cb207d71a9f0fc79fd818260ea42361acc824d2711a684d93c4adb2f85565e18e4df049e23f9c9adab4d7c9acf7408197ef53aa03c8110b
|
7
|
+
data.tar.gz: bc5c1cd7de4af2d1dc73dcc87fb55928ae6cf2c1b38cf9a13c8e447dbba5b170362b273ab00214660e2d69591c7f1c163ffa9771208114aa56c0f1584fa823ac
|
@@ -80,6 +80,13 @@ module TestCentricity
|
|
80
80
|
end
|
81
81
|
end
|
82
82
|
|
83
|
+
# Return the number of options in a select box object.
|
84
|
+
# Supports standard HTML select objects and Chosen select objects.
|
85
|
+
#
|
86
|
+
# @return [Integer]
|
87
|
+
# @example
|
88
|
+
# num_colors = color_select.get_option_count
|
89
|
+
#
|
83
90
|
def get_option_count
|
84
91
|
obj, _ = find_element
|
85
92
|
object_not_found_exception(obj, nil)
|
data/testcentricity_web.gemspec
CHANGED
@@ -33,7 +33,7 @@ Gem::Specification.new do |spec|
|
|
33
33
|
spec.add_dependency 'test-unit'
|
34
34
|
spec.add_dependency 'selenium-webdriver', '>= 2.50.0'
|
35
35
|
spec.add_dependency 'poltergeist'
|
36
|
-
spec.add_dependency 'faker', '
|
37
|
-
spec.add_dependency 'chronic', '
|
38
|
-
spec.add_dependency 'spreadsheet', '
|
36
|
+
spec.add_dependency 'faker', '1.6.6'
|
37
|
+
spec.add_dependency 'chronic', '0.10.2'
|
38
|
+
spec.add_dependency 'spreadsheet', '1.1.1'
|
39
39
|
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: 1.0.0
|
4
|
+
version: 1.0.0.1
|
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-08-
|
11
|
+
date: 2016-08-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -104,42 +104,42 @@ dependencies:
|
|
104
104
|
name: faker
|
105
105
|
requirement: !ruby/object:Gem::Requirement
|
106
106
|
requirements:
|
107
|
-
- -
|
107
|
+
- - '='
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version: 1.6.
|
109
|
+
version: 1.6.6
|
110
110
|
type: :runtime
|
111
111
|
prerelease: false
|
112
112
|
version_requirements: !ruby/object:Gem::Requirement
|
113
113
|
requirements:
|
114
|
-
- -
|
114
|
+
- - '='
|
115
115
|
- !ruby/object:Gem::Version
|
116
|
-
version: 1.6.
|
116
|
+
version: 1.6.6
|
117
117
|
- !ruby/object:Gem::Dependency
|
118
118
|
name: chronic
|
119
119
|
requirement: !ruby/object:Gem::Requirement
|
120
120
|
requirements:
|
121
|
-
- -
|
121
|
+
- - '='
|
122
122
|
- !ruby/object:Gem::Version
|
123
123
|
version: 0.10.2
|
124
124
|
type: :runtime
|
125
125
|
prerelease: false
|
126
126
|
version_requirements: !ruby/object:Gem::Requirement
|
127
127
|
requirements:
|
128
|
-
- -
|
128
|
+
- - '='
|
129
129
|
- !ruby/object:Gem::Version
|
130
130
|
version: 0.10.2
|
131
131
|
- !ruby/object:Gem::Dependency
|
132
132
|
name: spreadsheet
|
133
133
|
requirement: !ruby/object:Gem::Requirement
|
134
134
|
requirements:
|
135
|
-
- -
|
135
|
+
- - '='
|
136
136
|
- !ruby/object:Gem::Version
|
137
137
|
version: 1.1.1
|
138
138
|
type: :runtime
|
139
139
|
prerelease: false
|
140
140
|
version_requirements: !ruby/object:Gem::Requirement
|
141
141
|
requirements:
|
142
|
-
- -
|
142
|
+
- - '='
|
143
143
|
- !ruby/object:Gem::Version
|
144
144
|
version: 1.1.1
|
145
145
|
description: |2-
|