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.
This commit is contained in:
Joffrey JAFFEUX 2023-12-04 12:46:53 +01:00 committed by GitHub
parent e9e6c4e5d6
commit 3ed1528327
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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