FIX: increment wait to prevent a specific flakey spec (#19599)
I could repro the same failure by doing: `page.driver.browser.network_conditions = { offline: false, latency: 3000, throughput: 0 }` Wait shouldn't be needed as we wait for selector, but I couldn't find a better solution on this case for now.
This commit is contained in:
parent
86cafc7237
commit
2c295f76fe
|
@ -50,7 +50,7 @@ RSpec.describe "Channel - Info - Members page", type: :system, js: true do
|
|||
|
||||
scroll_to(find(".channel-members-view__list-item:nth-child(50)"))
|
||||
|
||||
expect(page).to have_selector(".channel-members-view__list-item", count: 100)
|
||||
expect(page).to have_selector(".channel-members-view__list-item", count: 100, wait: 5)
|
||||
|
||||
scroll_to(find(".channel-members-view__list-item:nth-child(100)"))
|
||||
|
||||
|
|
Loading…
Reference in New Issue