mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-05-18 13:38:24 -04:00
Comment out and explain why
This commit is contained in:
@@ -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