diff --git a/app/javascript/packs/application.js b/app/javascript/packs/application.js index f2fedf8..7c8c5e2 100644 --- a/app/javascript/packs/application.js +++ b/app/javascript/packs/application.js @@ -4,7 +4,7 @@ // that code so it'll be compiled. require("@rails/ujs").start() -// require("turbolinks").start() +require("turbolinks").start() // require("@rails/activestorage").start() require("channels") diff --git a/app/views/layouts/_alpheios.html.erb b/app/views/layouts/_alpheios.html.erb index 3e76db4..8820d41 100644 --- a/app/views/layouts/_alpheios.html.erb +++ b/app/views/layouts/_alpheios.html.erb @@ -1,19 +1,19 @@ diff --git a/spec/support/system_spec_helper.rb b/spec/support/system_spec_helper.rb index fea8583..90fdce8 100644 --- a/spec/support/system_spec_helper.rb +++ b/spec/support/system_spec_helper.rb @@ -11,6 +11,8 @@ def sign_in(user = nil, email: user.email, password: 'p@ssw0rd') RSpec.configure do |config| config.include SystemSpecHelper, type: :system + Capybara.default_max_wait_time = 4 + config.before(:each, type: :system) do driven_by :selenium, using: :headless_chrome, screen_size: [1366, 768] end