diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-12-19 08:12:58 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-12-19 08:12:58 +0000 |
commit | 1560c9caa8f1538bd0e7bdae2a68b3a048f8c6db (patch) | |
tree | 986825d5ed819913826d60a0650610564c58a948 /test/ui/base.rb | |
parent | 60c75d850880ed086214784efd644def8d17798a (diff) | |
download | redmine-1560c9caa8f1538bd0e7bdae2a68b3a048f8c6db.tar.gz redmine-1560c9caa8f1538bd0e7bdae2a68b3a048f8c6db.zip |
Merged r14967 to r14969 (#21488).
git-svn-id: http://svn.redmine.org/redmine/branches/3.2-stable@14982 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/ui/base.rb')
-rw-r--r-- | test/ui/base.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/ui/base.rb b/test/ui/base.rb index f7273e227..dfaa61107 100644 --- a/test/ui/base.rb +++ b/test/ui/base.rb @@ -60,6 +60,11 @@ module Redmine assert_equal '/my/page', current_path end + setup do + # Set the page width higher than 900 to get the full layout with sidebar + page.driver.browser.manage.window.resize_to(1024, 900) + end + teardown do Capybara.reset_sessions! # Forget the (simulated) browser state Capybara.use_default_driver # Revert Capybara.current_driver to Capybara.default_driver |