soda 1.2.0 → 1.2.1
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.
- data/lib/Soda.rb +5 -4
- data/lib/SodaFireFox.rb +2 -2
- data/lib/SodaSuiteSummary.rb +4 -4
- data/lib/sodainfo.rb +1 -1
- metadata +7 -7
data/lib/Soda.rb
CHANGED
@@ -31,7 +31,7 @@ module Soda
|
|
31
31
|
# Module Global Info:
|
32
32
|
###############################################################################
|
33
33
|
SODA_VERSION = 1.1
|
34
|
-
SODA_WATIR_VERSION = "1.
|
34
|
+
SODA_WATIR_VERSION = "1.8.0"
|
35
35
|
|
36
36
|
###############################################################################
|
37
37
|
# Needed Ruby libs:
|
@@ -39,8 +39,8 @@ SODA_WATIR_VERSION = "1.7.1"
|
|
39
39
|
require 'rubygems'
|
40
40
|
require 'rbconfig'
|
41
41
|
require 'pathname'
|
42
|
-
gem 'commonwatir', '= 1.
|
43
|
-
gem 'firewatir', '= 1.
|
42
|
+
gem 'commonwatir', '= 1.8.0'
|
43
|
+
gem 'firewatir', '= 1.8.0'
|
44
44
|
require "watir"
|
45
45
|
require 'SodaUtils'
|
46
46
|
require "SodaReporter"
|
@@ -159,6 +159,7 @@ class Soda
|
|
159
159
|
@SugarWait = params['sugarwait']
|
160
160
|
end
|
161
161
|
|
162
|
+
|
162
163
|
# stack of elements allowing for parent child hierchy
|
163
164
|
# <form id='myform'><textfield name='myfield'/></form>
|
164
165
|
@parentEl = []
|
@@ -2746,7 +2747,7 @@ JSCode
|
|
2746
2747
|
shooter = SodaScreenShot.new(result_dir)
|
2747
2748
|
image_file = shooter.GetOutputFile()
|
2748
2749
|
@rep.log("ScreenShot taken: #{image_file}\n")
|
2749
|
-
rescue
|
2750
|
+
rescue Exception => e
|
2750
2751
|
@rep.ReportException(e)
|
2751
2752
|
ensure
|
2752
2753
|
end
|
data/lib/SodaFireFox.rb
CHANGED
@@ -29,8 +29,8 @@
|
|
29
29
|
# Needed ruby libs:
|
30
30
|
###############################################################################
|
31
31
|
require 'rubygems'
|
32
|
-
gem 'commonwatir', '= 1.
|
33
|
-
gem 'firewatir', '= 1.
|
32
|
+
gem 'commonwatir', '= 1.8.0'
|
33
|
+
gem 'firewatir', '= 1.8.0'
|
34
34
|
require 'watir'
|
35
35
|
require 'SodaUtils'
|
36
36
|
|
data/lib/SodaSuiteSummary.rb
CHANGED
@@ -1052,8 +1052,8 @@ def GenHtmlReport2(data, reportfile, create_links = false)
|
|
1052
1052
|
end
|
1053
1053
|
|
1054
1054
|
test_totals = summary_totals['Total Test Count']
|
1055
|
-
test_totals
|
1056
|
-
test_totals
|
1055
|
+
test_totals += summary_totals['Test Skip Count']
|
1056
|
+
test_totals += summary_totals['Test Blocked Count']
|
1057
1057
|
|
1058
1058
|
total_failures = 0
|
1059
1059
|
total_failures += summary_totals['Test Failure Count']
|
@@ -1063,8 +1063,8 @@ def GenHtmlReport2(data, reportfile, create_links = false)
|
|
1063
1063
|
|
1064
1064
|
sub_totals = "<tr id=\"totals\">\n"+
|
1065
1065
|
"\t<td class=\"td_header_master\">Totals:</td>\n"+
|
1066
|
-
"\t<td class=\"td_footer_run\">#{
|
1067
|
-
"/#{
|
1066
|
+
"\t<td class=\"td_footer_run\">#{summary_totals['Total Test Count']}"+
|
1067
|
+
"/#{test_totals}</td>\n"+
|
1068
1068
|
"\t<td class=\"td_footer_passed\">#{summary_totals['Test Pass Count']}"+
|
1069
1069
|
"</td>\n"+
|
1070
1070
|
"\t<td class=\"td_footer_failed\">"+
|
data/lib/sodainfo.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: soda
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 29
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 1.2.
|
9
|
+
- 1
|
10
|
+
version: 1.2.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Trampus Richmond
|
@@ -26,12 +26,12 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - "="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
hash:
|
29
|
+
hash: 55
|
30
30
|
segments:
|
31
31
|
- 1
|
32
|
-
-
|
33
|
-
-
|
34
|
-
version: 1.
|
32
|
+
- 8
|
33
|
+
- 0
|
34
|
+
version: 1.8.0
|
35
35
|
type: :runtime
|
36
36
|
version_requirements: *id001
|
37
37
|
- !ruby/object:Gem::Dependency
|