testcentricity_web 2.0.10 → 2.0.11
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c7a7836dac38744ccfa198f9b825db641ed1c97f
|
4
|
+
data.tar.gz: 56a9b58351af6705192de5454dc4645e9d865434
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c69edfd4bf24d2a6217652d54672150634e79962fb5ca624f2824f15998198c22b5c86983493a2bb00dd65364bad0c851a07a2bab19c0b0add36b70e7ae1adb
|
7
|
+
data.tar.gz: 376968df032a6af712834d2b4c4879afae50872e328b3916007f34c4647e961b7e382521f5431af0e6af521360126e9e750ee7f0f82463ef9e963415033ad993
|
@@ -24,6 +24,8 @@ module TestCentricity
|
|
24
24
|
@session_time_stamp = Time.now.strftime('%Y%m%d%H%M%S')
|
25
25
|
@session_code
|
26
26
|
|
27
|
+
@test_environment = ENV['TEST_ENVIRONMENT'].downcase.to_sym
|
28
|
+
|
27
29
|
@screen_shots = []
|
28
30
|
|
29
31
|
attr_accessor :browser
|
@@ -79,6 +81,10 @@ module TestCentricity
|
|
79
81
|
@session_time_stamp
|
80
82
|
end
|
81
83
|
|
84
|
+
def self.test_environment
|
85
|
+
@test_environment
|
86
|
+
end
|
87
|
+
|
82
88
|
# @deprecated Please use {#browser=} instead
|
83
89
|
def self.set_browser(browser)
|
84
90
|
warn "[DEPRECATION] 'TestCentricity::Environ.set_browser' is deprecated. Please use 'browser=' instead."
|
@@ -16,6 +16,10 @@ module TestCentricity
|
|
16
16
|
@context = context
|
17
17
|
end
|
18
18
|
|
19
|
+
def get_object_type
|
20
|
+
:section
|
21
|
+
end
|
22
|
+
|
19
23
|
# Define a trait for this page section.
|
20
24
|
#
|
21
25
|
# @param trait_name [Symbol] name of trait (as a symbol)
|
@@ -649,6 +653,8 @@ module TestCentricity
|
|
649
653
|
data_field.set_selected_state(data_param.to_bool)
|
650
654
|
when :textfield
|
651
655
|
data_field.set("#{data_param}\t")
|
656
|
+
when :section
|
657
|
+
data_field.set(data_param)
|
652
658
|
end
|
653
659
|
end
|
654
660
|
end
|
@@ -177,8 +177,8 @@ module TestCentricity
|
|
177
177
|
capabilities['build'] = ENV['AUTOMATE_BUILD'] if ENV['AUTOMATE_BUILD']
|
178
178
|
|
179
179
|
ENV['TEST_CONTEXT'] ?
|
180
|
-
context_message = "#{
|
181
|
-
context_message =
|
180
|
+
context_message = "#{Environ.test_environment} - #{ENV['TEST_CONTEXT']}" :
|
181
|
+
context_message = Environ.test_environment
|
182
182
|
if ENV['PARALLEL']
|
183
183
|
thread_num = ENV['TEST_ENV_NUMBER']
|
184
184
|
thread_num = 1 if thread_num.blank?
|
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.11
|
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-
|
11
|
+
date: 2017-04-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|