ae65272bbf
Added test to replicate the bug, also added a couple of helpers that can be reused on the testing suite to resize the browser window, these helpers are located on the spec/support/mobile_helpers.rb
13 lines
230 B
Ruby
13 lines
230 B
Ruby
module MobileHelpers
|
|
def resize_screen_sm
|
|
resize_window(900, 768)
|
|
end
|
|
|
|
def restore_window_size
|
|
resize_window(1366, 768)
|
|
end
|
|
|
|
def resize_window(width, height)
|
|
page.driver.resize_window width, height
|
|
end
|
|
end
|