mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Attempt to fix intermittent failures in spec/features/consumer/authentication_spec.rb
This commit is contained in:
@@ -3,6 +3,11 @@ require 'spec_helper'
|
||||
feature "Authentication", js: true do
|
||||
include UIComponentHelper
|
||||
|
||||
# Attempt to address intermittent failures in these specs
|
||||
around do |example|
|
||||
Capybara.using_wait_time(120) { example.run }
|
||||
end
|
||||
|
||||
describe "login" do
|
||||
let(:user) { create(:user, password: "password", password_confirmation: "password") }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user