lib/selenium/rspec/reporting/html_report.rb in selenium-client-1.2.14 vs lib/selenium/rspec/reporting/html_report.rb in selenium-client-1.2.15
- old
+ new
@@ -17,11 +17,11 @@
def replace_placeholder_with_system_state_content(result, example)
result.gsub! PLACEHOLDER, logs_and_screenshot_sections(example)
end
def logs_and_screenshot_sections(example)
- dom_id = "example_" + @file_path_strategy.example_hash(example)
+ dom_id = "example_" + example.reporting_uid
system_screenshot_url = @file_path_strategy.relative_file_path_for_system_screenshot(example)
page_screenshot_url = @file_path_strategy.relative_file_path_for_page_screenshot(example)
snapshot_url = @file_path_strategy.relative_file_path_for_html_capture(example)
remote_control_logs_url = @file_path_strategy.relative_file_path_for_remote_control_logs(example)
@@ -118,6 +118,6 @@
end
end
end
-end
\ No newline at end of file
+end