Skip to content

Commit 085303d

Browse files
committed
Remove broken method call
As far as I can tell, `#save_screenshot` doesn't accept the `:full` option. This means that when a js test fails, it fails twice. This should ensure it only fails once. Signed-off-by: jonathan.kerr <[email protected]>
1 parent e67a7f8 commit 085303d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/spec_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def self.branch_coverage?
102102
screenshot_filename = "#{filename}:#{line_number}.png"
103103

104104
# Save the screenshot using the custom filename
105-
page.save_screenshot(screenshot_filename, full: true)
105+
page.save_screenshot(screenshot_filename)
106106
end
107107
end
108108

0 commit comments

Comments
 (0)