Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

Remove flaky duplicated test

Damian Legawiec119d1889fc34
diff --git a/frontend/spec/features/locale_spec.rb b/frontend/spec/features/locale_spec.rb
index 30322fb0cb..8fea25fedf 100644
--- a/frontend/spec/features/locale_spec.rb
+++ b/frontend/spec/features/locale_spec.rb
@@ -81,19 +81,6 @@ describe 'setting locale', type: :feature, js: true do
it_behaves_like 'translates cart page'
end
- context 'via set_locale endpoint' do
- before do
- visit spree.set_locale_path(switch_to_locale: 'fr')
- first('a.cart-icon').click
- end
-
- after do
- I18n.locale = 'en'
- end
-
- it_behaves_like 'translates cart page'
- end
-
context 'locales list endpoint', js: false do
before do
visit spree.locales_path