testcentricity_web 0.4.7 → 0.4.8

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
  SHA1:
3
- metadata.gz: f4d929967ea61dff2721956f8ac33773f8d8a2b4
4
- data.tar.gz: ccd83c347bd9badd980939fc8560ec44d5f71ef5
3
+ metadata.gz: 2e4933237874a4c9fdf6a38203c7b6b7b5f8a8a0
4
+ data.tar.gz: a7ef745526cc552e4af6a72962f68c45e15a2cc8
5
5
  SHA512:
6
- metadata.gz: fc39e6d5e6c0dc51b9061501b546c075994602e993e62c3ea4f9d9717c46f32f99bf6ce2f4b35c4a7ec6e7959983516e19c249dc03252fac4a093bc08a319dd3
7
- data.tar.gz: 40d2f7b03ed9b42670ad0d2e53f308de2079d3c453f1e440561dca07993248ce74f20b3c891e28abbd3de2041a3249406d251a6278418df5f1ad14cbf2096c8d
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
@@ -1,3 +1,3 @@
1
1
  module TestCentricityWeb
2
- VERSION = '0.4.7'
2
+ VERSION = '0.4.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.4.7
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-04 00:00:00.000000000 Z
11
+ date: 2016-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler