mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-10-21 22:44:23 -04:00
Comment out and explain why
This commit is contained in:
1 parent
d99d4a1bbe
commit
7e3be99aac
1 file changed
+4
-1
@@ -132,6 +132,9 @@ RSpec.configure do |config|
|
||||
]
|
||||
end
|
||||
|
||||
page.driver.browser.manage.window.maximize if page.driver.browser.respond_to?(:manage)
|
||||
# Historically, we wanted to .maximize; but this actually undoes the resize_to step above
|
||||
# with chrome headless
|
||||
# page.driver.browser.manage.window.maximize if page.driver.browser.respond_to?(:manage)
|
||||
# puts "Maximized window size: #{page.driver.browser.manage.window.size}"
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user