cornucopia 0.1.26 → 0.1.28
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cornucopia/cucumber_hooks.rb +1 -12
- data/lib/cornucopia/rspec_hooks.rb +1 -12
- data/lib/cornucopia/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c6aa69b3296fce96d561c360b96c37d346e1a80c
|
4
|
+
data.tar.gz: 9185183d3e4b98b537052af74d8c732dbc635b5f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4572816358fa6746134c9f8529b49da88af1e49b06e86778d8c116394c3356cc39914f06f66616dffa2e339ffadc9ddc0ddfc2ec8b032781d504d66006c552e3
|
7
|
+
data.tar.gz: 449480249c44ed4388cca098e308d7eb67f8e13347a3bd3b1872601283d2ff903a5b6f12d14154e61e38198a72a52959065971228d88e30369aa1953421fecd2
|
@@ -12,18 +12,7 @@ if Cucumber::VERSION.split[0].to_i >= 2
|
|
12
12
|
report_name = "Page Dump for: Line - #{scenario.line}"
|
13
13
|
end
|
14
14
|
|
15
|
-
|
16
|
-
|
17
|
-
report.within_section(report_name) do |report|
|
18
|
-
report.within_hidden_table do |table|
|
19
|
-
Cornucopia::Util::ReportTable.new(
|
20
|
-
report_table: nil,
|
21
|
-
nested_table: table,
|
22
|
-
suppress_blank_table: true) do |sub_tables|
|
23
|
-
Cornucopia::Capybara::PageDiagnostics.dump_details_in_table(report, sub_tables)
|
24
|
-
end
|
25
|
-
end
|
26
|
-
end
|
15
|
+
Cornucopia::Capybara::PageDiagnostics.dump_details(section_label: report_name)
|
27
16
|
end
|
28
17
|
end
|
29
18
|
|
@@ -29,18 +29,7 @@ RSpec.configure do |config|
|
|
29
29
|
test_example ||= example
|
30
30
|
|
31
31
|
if (test_example.exception)
|
32
|
-
|
33
|
-
|
34
|
-
report.within_section("Page Dump for: #{test_example.full_description}") do |report|
|
35
|
-
report.within_hidden_table do |table|
|
36
|
-
Cornucopia::Util::ReportTable.new(
|
37
|
-
report_table: nil,
|
38
|
-
nested_table: table,
|
39
|
-
suppress_blank_table: true) do |sub_tables|
|
40
|
-
Cornucopia::Capybara::PageDiagnostics.dump_details_in_table(report, sub_tables)
|
41
|
-
end
|
42
|
-
end
|
43
|
-
end
|
32
|
+
Cornucopia::Capybara::PageDiagnostics.dump_details(section_label: "Page Dump for: #{test_example.full_description}")
|
44
33
|
end
|
45
34
|
end
|
46
35
|
|
data/lib/cornucopia/version.rb
CHANGED