mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-29 21:17:17 +00:00
Ensure multiligual switcher specs run in large screen
This commit is contained in:
committed by
luisramos0
parent
3a781049ed
commit
98a5b40aec
@@ -4,6 +4,7 @@ feature 'Multilingual', js: true do
|
||||
include AuthenticationWorkflow
|
||||
include WebHelper
|
||||
include ShopWorkflow
|
||||
include UIComponentHelper
|
||||
include CookieHelper
|
||||
|
||||
it 'has two locales available' do
|
||||
@@ -97,6 +98,7 @@ feature 'Multilingual', js: true do
|
||||
end
|
||||
|
||||
describe "using the language switcher UI" do
|
||||
before { browse_as_large }
|
||||
context "when there is only one language available" do
|
||||
before do
|
||||
allow(ENV).to receive(:[]).and_call_original
|
||||
|
||||
Reference in New Issue
Block a user