From 223982f57194c3d4ce613341e1d6b4de16f5dfed Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Fri, 11 Jan 2019 17:35:57 +1100 Subject: [PATCH] Prepare spec for Chrome testing --- spec/features/admin/variant_overrides_spec.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/spec/features/admin/variant_overrides_spec.rb b/spec/features/admin/variant_overrides_spec.rb index a10617e393..b4633cc7d7 100644 --- a/spec/features/admin/variant_overrides_spec.rb +++ b/spec/features/admin/variant_overrides_spec.rb @@ -289,6 +289,11 @@ feature %q{ # Clearing values by 'inheriting' toggle_columns "Inherit?" check "variant-overrides-#{variant3.id}-inherit" + # Hide the Inherit column again. When that column is visible, the + # size of the Tags column is too short and tags can't be removed. + # This is a bug and the next line can be removed once it is fixed: + # https://github.com/openfoodfoundation/openfoodnetwork/issues/3310 + toggle_columns "Inherit?" # Clearing values manually fill_in "variant-overrides-#{variant.id}-price", with: ''