Skip to content

Commit 11ea595

Browse files
committed
Update DangerDialog test call to Window#resize
1 parent 1475ffa commit 11ea595

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/system/open_project/danger_dialog_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def test_submit_button_submits_form
6666

6767
def test_buttons_visible_without_scrolling_with_form
6868
visit_preview(:with_form_long_additional_details_test, route_format: :json)
69-
window.resize(width: window.viewport_size[0], height: 250)
69+
window.resize(height: 250)
7070

7171
click_button("Click me")
7272

0 commit comments

Comments
 (0)