From 3ed1528327194aaec1769d5a1fc2050bb985dcce Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Mon, 4 Dec 2023 12:46:53 +0100 Subject: [PATCH] FIX: failing spec in sidebar tags (#24682) The modal is now larger and more tags will be shown by default, we need more tags to correctly test the scroll behavior. --- spec/system/editing_sidebar_tags_navigation_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/system/editing_sidebar_tags_navigation_spec.rb b/spec/system/editing_sidebar_tags_navigation_spec.rb index 54d510fa1f2..ab42089375b 100644 --- a/spec/system/editing_sidebar_tags_navigation_spec.rb +++ b/spec/system/editing_sidebar_tags_navigation_spec.rb @@ -181,7 +181,7 @@ RSpec.describe "Editing sidebar tags navigation", type: :system do Tag.delete_all tags = - (TagsController::LIST_LIMIT + 1).times.map.with_index do |index| + (TagsController::LIST_LIMIT + 50).times.map.with_index do |index| Fabricate(:tag, name: "Tag #{sprintf("%03d", index)}") end