testcentricity_web 0.7.6 → 0.7.7

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: 22dc6579c907884bf86330fed316b441a09bf255
4
- data.tar.gz: f9c20dce29b88433940027c2fd5fc015e4db5963
3
+ metadata.gz: bd9cf8a1aa80abfcac896b14099e1a5dfd50fc9a
4
+ data.tar.gz: 40ef5a530ffe4bdfa7b685dba070ff148c03c668
5
5
  SHA512:
6
- metadata.gz: 971697353c33fbede02577f3315d1d988e5fe57dfefc62bcfabb18eee6572ff7da9936d86656a2202360b1fda46f79a23fecfe3980de92572d9c3ebd70b711d0
7
- data.tar.gz: 143ebad515f92fac59c1988728d9bb1581e34a433006db9b2695e01adffca1acb5eabb2b48f0bf1e5c03d10384acdbae5686c1b188a17553c02caf20a4705cc4
6
+ metadata.gz: 99b815226510736a9d1c347df0e8a14168fd3e30d778b1497b71ec98dceecad396ddfde9b67b88c32aee1c23b269a65a6038aa70f8eff319380ba1c639bf4688
7
+ data.tar.gz: 113e01a7682fa043fa59428c1be6a6629b5922e92d899e81f4b35b0b24b54b0b8b952a2672ebc6236f2df27fc162548cd119decf1bc2ab5fe4511a7e7f6cdd02
@@ -180,13 +180,8 @@ module TestCentricity
180
180
  def set_table_cell(row, column, value)
181
181
  row_count = get_row_count
182
182
  raise "Row #{row} exceeds number of rows (#{row_count}) in table #{@locator}" if row > row_count
183
- # column_count = get_column_count
184
- # raise "Column #{column} exceeds number of columns (#{column_count}) in table #{@locator}" if column > column_count
185
- set_table_cell_locator(row, column)
186
- click if exists?
187
- saved_locator = @alt_locator
188
- set_alt_locator("#{saved_locator}/input")
189
- set_alt_locator("#{saved_locator}/textarea") unless exists?
183
+ find_table_cell(row, column)
184
+ find_table_cell(row, column) unless exists?
190
185
  set(value)
191
186
  clear_alt_locator
192
187
  end
@@ -334,5 +329,13 @@ module TestCentricity
334
329
  column_spec = "/td[#{column}]"
335
330
  set_alt_locator("#{row_spec}#{column_spec}")
336
331
  end
332
+
333
+ def find_table_cell(row, column)
334
+ set_table_cell_locator(row, column)
335
+ click if exists?
336
+ saved_locator = @alt_locator
337
+ set_alt_locator("#{saved_locator}/input")
338
+ set_alt_locator("#{saved_locator}/textarea") unless exists?
339
+ end
337
340
  end
338
341
  end
@@ -1,3 +1,3 @@
1
1
  module TestCentricityWeb
2
- VERSION = '0.7.6'
2
+ VERSION = '0.7.7'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: testcentricity_web
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.6
4
+ version: 0.7.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - A.J. Mrozinski