mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 04:03:57 -06:00
DEV: attempts to fix flakey spec (#21547)
The failure screenshot shows the message is on screen while the error is: ``` Failure/Error: example.run expected to find text "My favorite message" in "Community\nEverything\nMy Posts\nMore\nMessages\nInbox\nChannels\nPolitics 1\nPersonal chat\nPolitics 1". (However, it was found 1 time including non-visible text.) ``` I expect the arrow element might e slightly hiding the link, but not 100% sure of this.
This commit is contained in:
parent
53d99d1a26
commit
64971e5972
@ -69,7 +69,7 @@ RSpec.describe "Navigating to message", type: :system, js: true do
|
|||||||
|
|
||||||
click_button(class: "chat-scroll-to-bottom")
|
click_button(class: "chat-scroll-to-bottom")
|
||||||
|
|
||||||
expect(page).to have_content(link)
|
expect(page).to have_content(link, visible: :all)
|
||||||
|
|
||||||
click_link(link)
|
click_link(link)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user