testcentricity_web 2.0.17 → 2.0.18
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 +4 -4
- data/lib/testcentricity_web/elements/cell_checkbox.rb +1 -1
- data/lib/testcentricity_web/elements/cell_radio.rb +1 -1
- data/lib/testcentricity_web/elements/list_checkbox.rb +1 -1
- data/lib/testcentricity_web/elements/list_radio.rb +1 -1
- data/lib/testcentricity_web/page_objects_helper.rb +8 -8
- data/lib/testcentricity_web/page_sections_helper.rb +8 -8
- data/lib/testcentricity_web/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8984f1f0073c2191848c42961598d8aa650add88
|
|
4
|
+
data.tar.gz: b99fd58e11243f393846e2e7083af24c76d26922
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ab009b2cd3c4898a8a228e8a5298bf551fe96e2157935a8690730d770bbf0b1e478526eb41055b547f28e60479603542c000ffe9d4908a44440f44724bcf5530
|
|
7
|
+
data.tar.gz: 3dfb0bdba869884b489c62c6753b32ebcc5ffa1984d8f6916c4113142e22619c2a983e69c00fc0cb7a37c4722b56cdf0527d6ed5aef8269278f58dae906ea306
|
|
@@ -2,7 +2,7 @@ module TestCentricity
|
|
|
2
2
|
class CellCheckBox < CellElement
|
|
3
3
|
attr_accessor :proxy
|
|
4
4
|
|
|
5
|
-
def initialize(name, parent, locator, context, table, column, proxy)
|
|
5
|
+
def initialize(name, parent, locator, context, table, column, proxy = nil)
|
|
6
6
|
super
|
|
7
7
|
@type = :cell_checkbox
|
|
8
8
|
@proxy = proxy
|
|
@@ -2,7 +2,7 @@ module TestCentricity
|
|
|
2
2
|
class CellRadio < CellElement
|
|
3
3
|
attr_accessor :proxy
|
|
4
4
|
|
|
5
|
-
def initialize(name, parent, locator, context, table, column, proxy)
|
|
5
|
+
def initialize(name, parent, locator, context, table, column, proxy = nil)
|
|
6
6
|
super
|
|
7
7
|
@type = :cell_radio
|
|
8
8
|
@proxy = proxy
|
|
@@ -301,8 +301,8 @@ module TestCentricity
|
|
|
301
301
|
# @example
|
|
302
302
|
# cell_checkbox :is_registered_check, "a[@class='registered']", :data_table, 4
|
|
303
303
|
#
|
|
304
|
-
def self.cell_checkbox(element_name, locator, table, column)
|
|
305
|
-
class_eval(%(def #{element_name};@#{element_name} ||= TestCentricity::CellCheckBox.new("#{element_name}", self, "#{locator}", :page, #{table}, #{column});end))
|
|
304
|
+
def self.cell_checkbox(element_name, locator, table, column, proxy = nil)
|
|
305
|
+
class_eval(%(def #{element_name};@#{element_name} ||= TestCentricity::CellCheckBox.new("#{element_name}", self, "#{locator}", :page, #{table}, #{column}, #{proxy});end))
|
|
306
306
|
end
|
|
307
307
|
|
|
308
308
|
# Declare and instantiate a cell radio in a table column on this page object.
|
|
@@ -314,8 +314,8 @@ module TestCentricity
|
|
|
314
314
|
# @example
|
|
315
315
|
# cell_radio :track_a_radio, "a[@class='track_a']", :data_table, 8
|
|
316
316
|
#
|
|
317
|
-
def self.cell_radio(element_name, locator, table, column)
|
|
318
|
-
class_eval(%(def #{element_name};@#{element_name} ||= TestCentricity::CellRadio.new("#{element_name}", self, "#{locator}", :page, #{table}, #{column});end))
|
|
317
|
+
def self.cell_radio(element_name, locator, table, column, proxy = nil)
|
|
318
|
+
class_eval(%(def #{element_name};@#{element_name} ||= TestCentricity::CellRadio.new("#{element_name}", self, "#{locator}", :page, #{table}, #{column}, #{proxy});end))
|
|
319
319
|
end
|
|
320
320
|
|
|
321
321
|
# Declare and instantiate a list button in a row of a list object on this page object.
|
|
@@ -339,8 +339,8 @@ module TestCentricity
|
|
|
339
339
|
# @example
|
|
340
340
|
# list_checkbox :is_registered_check, "a[@class='registered']", :data_list
|
|
341
341
|
#
|
|
342
|
-
def self.list_checkbox(element_name, locator, list)
|
|
343
|
-
class_eval(%(def #{element_name};@#{element_name} ||= TestCentricity::ListCheckBox.new("#{element_name}", self, "#{locator}", :page, #{list});end))
|
|
342
|
+
def self.list_checkbox(element_name, locator, list, proxy = nil)
|
|
343
|
+
class_eval(%(def #{element_name};@#{element_name} ||= TestCentricity::ListCheckBox.new("#{element_name}", self, "#{locator}", :page, #{list}, #{proxy});end))
|
|
344
344
|
end
|
|
345
345
|
|
|
346
346
|
# Declare and instantiate a list radio in a row of a list object on this page object.
|
|
@@ -351,8 +351,8 @@ module TestCentricity
|
|
|
351
351
|
# @example
|
|
352
352
|
# list_radio :sharing_radio, "a[@class='sharing']", :data_list
|
|
353
353
|
#
|
|
354
|
-
def self.list_radio(element_name, locator, list)
|
|
355
|
-
class_eval(%(def #{element_name};@#{element_name} ||= TestCentricity::ListRadio.new("#{element_name}", self, "#{locator}", :page, #{list});end))
|
|
354
|
+
def self.list_radio(element_name, locator, list, proxy = nil)
|
|
355
|
+
class_eval(%(def #{element_name};@#{element_name} ||= TestCentricity::ListRadio.new("#{element_name}", self, "#{locator}", :page, #{list}, #{proxy});end))
|
|
356
356
|
end
|
|
357
357
|
|
|
358
358
|
# Instantiate a single PageSection object for this page object.
|
|
@@ -372,8 +372,8 @@ module TestCentricity
|
|
|
372
372
|
# @example
|
|
373
373
|
# cell_checkbox :is_registered_check, "a[@class='registered']", :data_table, 4
|
|
374
374
|
#
|
|
375
|
-
def self.cell_checkbox(element_name, locator, table, column)
|
|
376
|
-
class_eval(%(def #{element_name};@#{element_name} ||= TestCentricity::CellCheckBox.new("#{element_name}", self, "#{locator}", :section, #{table}, #{column});end))
|
|
375
|
+
def self.cell_checkbox(element_name, locator, table, column, proxy = nil)
|
|
376
|
+
class_eval(%(def #{element_name};@#{element_name} ||= TestCentricity::CellCheckBox.new("#{element_name}", self, "#{locator}", :section, #{table}, #{column}, #{proxy});end))
|
|
377
377
|
end
|
|
378
378
|
|
|
379
379
|
# Declare and instantiate a cell radio in a table column on this page section.
|
|
@@ -385,8 +385,8 @@ module TestCentricity
|
|
|
385
385
|
# @example
|
|
386
386
|
# cell_radio :track_a_radio, "a[@class='track_a']", :data_table, 8
|
|
387
387
|
#
|
|
388
|
-
def self.cell_radio(element_name, locator, table, column)
|
|
389
|
-
class_eval(%(def #{element_name};@#{element_name} ||= TestCentricity::CellRadio.new("#{element_name}", self, "#{locator}", :section, #{table}, #{column});end))
|
|
388
|
+
def self.cell_radio(element_name, locator, table, column, proxy = nil)
|
|
389
|
+
class_eval(%(def #{element_name};@#{element_name} ||= TestCentricity::CellRadio.new("#{element_name}", self, "#{locator}", :section, #{table}, #{column}, #{proxy});end))
|
|
390
390
|
end
|
|
391
391
|
|
|
392
392
|
# Declare and instantiate a list button in a row of a list object on this section object.
|
|
@@ -410,8 +410,8 @@ module TestCentricity
|
|
|
410
410
|
# @example
|
|
411
411
|
# list_checkbox :is_registered_check, "a[@class='registered']", :data_list
|
|
412
412
|
#
|
|
413
|
-
def self.list_checkbox(element_name, locator, list)
|
|
414
|
-
class_eval(%(def #{element_name};@#{element_name} ||= TestCentricity::ListCheckBox.new("#{element_name}", self, "#{locator}", :section, #{list});end))
|
|
413
|
+
def self.list_checkbox(element_name, locator, list, proxy = nil)
|
|
414
|
+
class_eval(%(def #{element_name};@#{element_name} ||= TestCentricity::ListCheckBox.new("#{element_name}", self, "#{locator}", :section, #{list}, #{proxy});end))
|
|
415
415
|
end
|
|
416
416
|
|
|
417
417
|
# Declare and instantiate a list radio in a row of a list object on this section object.
|
|
@@ -422,8 +422,8 @@ module TestCentricity
|
|
|
422
422
|
# @example
|
|
423
423
|
# list_radio :sharing_radio, "a[@class='sharing']", :data_list
|
|
424
424
|
#
|
|
425
|
-
def self.list_radio(element_name, locator, list)
|
|
426
|
-
class_eval(%(def #{element_name};@#{element_name} ||= TestCentricity::CellRadio.new("#{element_name}", self, "#{locator}", :section, #{list});end))
|
|
425
|
+
def self.list_radio(element_name, locator, list, proxy = nil)
|
|
426
|
+
class_eval(%(def #{element_name};@#{element_name} ||= TestCentricity::CellRadio.new("#{element_name}", self, "#{locator}", :section, #{list}, #{proxy});end))
|
|
427
427
|
end
|
|
428
428
|
|
|
429
429
|
# Instantiate a single PageSection object within this PageSection object.
|
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.
|
|
4
|
+
version: 2.0.18
|
|
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-07-
|
|
11
|
+
date: 2017-07-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|