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.
Ruby b2b-commercee-commerceecommerceecommerce-apiecommerce-frameworkecommerce-platformheadlessheadless-commerceheadless-ecommercemarketplacemulti-tenantmulti-vendormulti-vendor-ecommerceopen-sourcespree-commerce
Fix feature tests relying on string case (#12434)
Damian Legawiec184c50fec646
diff --git a/admin/app/views/spree/admin/shared/_head.html.erb b/admin/app/views/spree/admin/shared/_head.html.erbindex d328df44f8..66a468f4a5 100644--- a/admin/app/views/spree/admin/shared/_head.html.erb+++ b/admin/app/views/spree/admin/shared/_head.html.erb@@ -45,4 +45,12 @@<%= javascript_importmap_tags 'application-spree-admin' %>-<%= yield :head %>\ No newline at end of file+<%= yield :head %>++<% if Rails.env.test? %>+ <style>+ .text-uppercase {+ text-transform: none !important;+ }+ </style>+<% end %>\ No newline at end of filediff --git a/storefront/app/views/spree/shared/_head.html.erb b/storefront/app/views/spree/shared/_head.html.erbindex 55cdb80d6b..920165698b 100644--- a/storefront/app/views/spree/shared/_head.html.erb+++ b/storefront/app/views/spree/shared/_head.html.erb@@ -23,3 +23,12 @@<%= yield :head %><%= render_storefront_partials(:head_partials) unless page_builder_enabled? %>++<% if Rails.env.test? %>+ <% # for test environment we need to skip uppercase so we won't get false failures with different text transforms %>+ <style>+ .uppercase {+ text-transform: none !important;+ }+ </style>+<% end %>