DEV: flakey members list spec (#23917)

No repro but, it's possible that we were at the limit of triggering the scroll, this should ensure we correctly trigger the scroll more.
This commit is contained in:
Joffrey JAFFEUX 2023-10-12 22:32:03 +02:00 committed by GitHub
parent 526d2dc582
commit b122e69ed3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,7 +46,7 @@ RSpec.describe "Channel - Info - Members page", type: :system do
expect(page).to have_selector(".chat-channel-members__list-item", count: 60)
scroll_to(find(".chat-channel-members__list-item:nth-child(50)"))
scroll_to(find(".chat-channel-members__list-item:nth-child(60)"))
expect(page).to have_selector(".chat-channel-members__list-item", count: 100)