testcentricity_web 0.4.7 → 0.4.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2e4933237874a4c9fdf6a38203c7b6b7b5f8a8a0
|
4
|
+
data.tar.gz: a7ef745526cc552e4af6a72962f68c45e15a2cc8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e9c595a95f25d3a6bd1f02f2ec7335bf8a6e0b686428e6cdd13e037dfb1c9f7f88e8ea21613e827e4b8325b239ac39db1d319eb53d93f0f8e4ba953afaa935d3
|
7
|
+
data.tar.gz: afca0f0b666891dc5e3b0f63e0afb2ded48ea5c58e7b758984566c4d0fb85beec961526fd3f983357a8ca8f09ee24237c3b264156c883c7cf36f2cff034e8ab9
|
@@ -250,6 +250,12 @@ module TestCentricity
|
|
250
250
|
obj.all('option').collect(&:text)
|
251
251
|
end
|
252
252
|
|
253
|
+
def get_selected_option
|
254
|
+
obj, _ = find_element
|
255
|
+
object_not_found_exception(obj, nil)
|
256
|
+
obj.find('option[selected]').text
|
257
|
+
end
|
258
|
+
|
253
259
|
def get_row_count
|
254
260
|
wait_until_exists(5)
|
255
261
|
row_count = page.all(:xpath, "#{@locator}/tbody/tr", :visible => :all).count
|
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.4.
|
4
|
+
version: 0.4.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-03-
|
11
|
+
date: 2016-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|