Skip to content

Commit 8ca00b0

Browse files
committed
deploy: ef61af2
1 parent 8a6bc6e commit 8ca00b0

File tree

5 files changed

+5
-2
lines changed

5 files changed

+5
-2
lines changed

print.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -905,6 +905,7 @@ <h2 id="configuration"><a class="header" href="#configuration">Configuration</a>
905905

906906
config.before(:each, type: :system, js: true) do
907907
driven_by ENV['SELENIUM_DRIVER']&amp;.to_sym || :selenium_chrome_headless
908+
Capybara.page.current_window.resize_to(1280, 800)
908909
end
909910
end
910911

ruby_on_rails/rspec.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ <h2 id="configuration"><a class="header" href="#configuration">Configuration</a>
242242

243243
config.before(:each, type: :system, js: true) do
244244
driven_by ENV['SELENIUM_DRIVER']&amp;.to_sym || :selenium_chrome_headless
245+
Capybara.page.current_window.resize_to(1280, 800)
245246
end
246247
end
247248

searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

searchindex.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

templates/spec/rails_helper.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333

3434
config.before(:each, :js, type: :system) do
3535
driven_by ENV['SELENIUM_DRIVER']&.to_sym || :selenium_chrome_headless
36+
Capybara.page.current_window.resize_to(1280, 800)
3637
end
3738

3839
config.after do

0 commit comments

Comments
 (0)