testcentricity_web 0.9.9 → 0.9.9.1

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: b26fa40f22398d2ac393da8f5fab8f71ff721e9c
4
- data.tar.gz: 477654f57687ef096b01a33023d40fa77e6bb8fa
3
+ metadata.gz: 7035a522727c867e935e3ad3c97fe132cd56a000
4
+ data.tar.gz: 23bd98d5eb51e696e9b36e0e970c79e9ef7a4faa
5
5
  SHA512:
6
- metadata.gz: 51970f4ca0b0da4378bf67a8982629a580c836931ac1f5eb378da597be30ffadfb8d56cedefef6f369e4fea90637bfd137a6744c843d2ab538379690a7ef9a7c
7
- data.tar.gz: 05556046ca29a4cc2fbf6f23dcbd1a8e3a742b4363b28474a72b83d33a23ebc2f5eaa07c90341bf5460da5acbd949e0d4665fddc9433f941d6694217e3c318e0
6
+ metadata.gz: 1af634b13b917ccf7de8f965527b63309b88befca92314e6e22100acfbcb357de8da34969d0edb3e8db9ecaf1c7c768cfbd8a42479c8b85c07e6034653c36036
7
+ data.tar.gz: 27e5ed5117459d5535cd69d77eeb8b4602612832c5b5ed3ad2b2d323b8c06f1fd8562a5d5373bbb41643a2a0c85e06f7eae903a2d107f5ebb176898e784275ce
@@ -247,7 +247,12 @@ module TestCentricity
247
247
  set_alt_locator("#{saved_locator}/textarea")
248
248
  set_alt_locator(saved_locator) unless exists?
249
249
  end
250
- value = get_value if exists?
250
+ if exists?
251
+ value = get_value
252
+ else
253
+ puts "Could not find table cell at #{@alt_locator}"
254
+ value = ''
255
+ end
251
256
  clear_alt_locator
252
257
  value
253
258
  end
@@ -418,16 +423,19 @@ module TestCentricity
418
423
  row_spec = "#{row_spec}[#{row}]"
419
424
  else
420
425
  row_spec = "#{@locator}/#{@table_body}/#{@table_section}"
421
- row_spec = "#{row_spec}[#{row}]/#{@table_row}"
426
+ row_spec = "#{row_spec}[#{row}]/#{@table_row}[1]"
422
427
  end
423
- column_spec = "/#{@table_column}"
424
- column_spec = "#{column_spec}[#{column}]" if column > 1
428
+ column_spec = "/#{@table_column}[#{column}]"
425
429
  set_alt_locator("#{row_spec}#{column_spec}")
426
430
  end
427
431
 
428
432
  def find_table_cell(row, column)
429
433
  set_table_cell_locator(row, column)
430
- click if exists?
434
+ if exists?
435
+ click
436
+ else
437
+ puts "Could not find table cell at #{@alt_locator}"
438
+ end
431
439
  saved_locator = @alt_locator
432
440
  set_alt_locator("#{saved_locator}/input")
433
441
  set_alt_locator("#{saved_locator}/textarea") unless exists?
@@ -1,3 +1,3 @@
1
1
  module TestCentricityWeb
2
- VERSION = '0.9.9'
2
+ VERSION = '0.9.9.1'
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.9.9
4
+ version: 0.9.9.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-06-24 00:00:00.000000000 Z
11
+ date: 2016-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler