testcentricity_web 2.0.16 → 2.0.17

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: 8e8806e60fced919318585e1069dd9a8af2abc7b
4
- data.tar.gz: ec6f20e3b7a0d8f8f0ee8dd5f9c199a8c0b88d77
3
+ metadata.gz: 3f6f936854633acb042bdf485a5074fe7e996109
4
+ data.tar.gz: 3a791f21c8e520338d37247623ee7862fd938468
5
5
  SHA512:
6
- metadata.gz: 8c7becf1cef12825326c390f29e0d4d6d8e6ed208bed041a20b20f80d6a6d7a5ed626d05677b40abcc80a5e949dcf136cea815ff6270ba65e705df35292e79e7
7
- data.tar.gz: 9de2d1c6dfefaabf2c25c4b886f6d50d13599a23092159c3333e9a9624377c373462e6f240e3b4be59e15fcf48206a59a74659575832b2022e1012066dc63236
6
+ metadata.gz: b39e20000a3b3a1c4f07c5cc537b7b841cb4019e9d74c5506af4b97c8f2c2480b81b6ff6c3d102d5c7083c2d94b161b4959c4d05c174189abcf15c9adad66cd8
7
+ data.tar.gz: 7697a7cabe28299e0ac087d9c0d41bce7452c9a9e0ad9a295643c6f8a278317facf4042763509ad86048c6874f80a4d0a44693d6eacb8528c73f97b41e53510e
@@ -1,6 +1,6 @@
1
1
  module TestCentricity
2
2
  class CellButton < CellElement
3
- def initialize(name, parent, locator, context, table, column)
3
+ def initialize(name, parent, locator, context, table, column, proxy = nil)
4
4
  super
5
5
  @type = :cell_button
6
6
  end
@@ -4,7 +4,7 @@ module TestCentricity
4
4
  attr_accessor :column
5
5
  attr_accessor :element_locator
6
6
 
7
- def initialize(name, parent, locator, context, table, column)
7
+ def initialize(name, parent, locator, context, table, column, proxy = nil)
8
8
  @name = name
9
9
  @parent = parent
10
10
  @context = context
@@ -1,6 +1,6 @@
1
1
  module TestCentricity
2
2
  class ListButton < ListElement
3
- def initialize(name, parent, locator, context, list)
3
+ def initialize(name, parent, locator, context, list, proxy = nil)
4
4
  super
5
5
  @type = :list_button
6
6
  end
@@ -3,7 +3,7 @@ module TestCentricity
3
3
  attr_accessor :list
4
4
  attr_accessor :element_locator
5
5
 
6
- def initialize(name, parent, locator, context, list)
6
+ def initialize(name, parent, locator, context, list, proxy = nil)
7
7
  @name = name
8
8
  @parent = parent
9
9
  @context = context
@@ -154,15 +154,15 @@ module TestCentricity
154
154
  raise "Column #{column} exceeds number of columns (#{column_count}) in table #{object_ref_message}" if column > column_count
155
155
  set_table_cell_locator(row, column)
156
156
  saved_locator = @alt_locator
157
- set_alt_locator("#{@alt_locator}/a")
158
- set_alt_locator("#{saved_locator}/span/a") unless exists?
157
+ set_alt_locator("#{@alt_locator}//a")
158
+ set_alt_locator("#{saved_locator}//span/a") unless exists?
159
159
  # if link not present, check for text entry fields and try to dismiss by tabbing out
160
160
  unless exists?
161
- set_alt_locator("#{saved_locator}/input")
162
- set_alt_locator("#{saved_locator}/textarea") unless exists?
161
+ set_alt_locator("#{saved_locator}//input")
162
+ set_alt_locator("#{saved_locator}//textarea") unless exists?
163
163
  send_keys(:tab) if exists?
164
- set_alt_locator("#{saved_locator}/a")
165
- set_alt_locator("#{saved_locator}/span/a") unless exists?
164
+ set_alt_locator("#{saved_locator}//a")
165
+ set_alt_locator("#{saved_locator}//span/a") unless exists?
166
166
  send_keys(:tab) unless exists?
167
167
  end
168
168
  wait_until_exists(1)
@@ -179,9 +179,9 @@ module TestCentricity
179
179
  value = ''
180
180
  set_table_cell_locator(row, column)
181
181
  saved_locator = @alt_locator
182
- set_alt_locator("#{saved_locator}/input")
182
+ set_alt_locator("#{saved_locator}//input")
183
183
  unless exists?
184
- set_alt_locator("#{saved_locator}/textarea")
184
+ set_alt_locator("#{saved_locator}//textarea")
185
185
  set_alt_locator(saved_locator) unless exists?
186
186
  end
187
187
  value = get_value if exists?
@@ -211,9 +211,9 @@ module TestCentricity
211
211
  value = ''
212
212
  set_table_cell_locator(row, column)
213
213
  saved_locator = @alt_locator
214
- set_alt_locator("#{saved_locator}/input")
214
+ set_alt_locator("#{saved_locator}//input")
215
215
  unless exists?
216
- set_alt_locator("#{saved_locator}/textarea")
216
+ set_alt_locator("#{saved_locator}//textarea")
217
217
  set_alt_locator(saved_locator) unless exists?
218
218
  end
219
219
  value = get_value if exists?
@@ -238,9 +238,9 @@ module TestCentricity
238
238
  raise "Column #{column} exceeds number of columns (#{column_count}) in table #{object_ref_message}" if column > column_count
239
239
  set_table_cell_locator(row, column)
240
240
  saved_locator = @alt_locator
241
- set_alt_locator("#{saved_locator}/input")
241
+ set_alt_locator("#{saved_locator}//input")
242
242
  unless exists?
243
- set_alt_locator("#{saved_locator}/textarea")
243
+ set_alt_locator("#{saved_locator}//textarea")
244
244
  set_alt_locator(saved_locator) unless exists?
245
245
  end
246
246
  if exists?
@@ -466,8 +466,8 @@ module TestCentricity
466
466
  puts "Could not find table cell at #{@alt_locator}"
467
467
  end
468
468
  saved_locator = @alt_locator
469
- set_alt_locator("#{saved_locator}/input")
470
- set_alt_locator("#{saved_locator}/textarea") unless exists?
469
+ set_alt_locator("#{saved_locator}//input")
470
+ set_alt_locator("#{saved_locator}//textarea") unless exists?
471
471
  end
472
472
  end
473
473
  end
@@ -1,3 +1,3 @@
1
1
  module TestCentricityWeb
2
- VERSION = '2.0.16'
2
+ VERSION = '2.0.17'
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: 2.0.16
4
+ version: 2.0.17
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: 2017-06-04 00:00:00.000000000 Z
11
+ date: 2017-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler