mirror of
https://github.com/discourse/discourse.git
synced 2026-08-19 01:14:56 -05: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:
@@ -69,7 +69,7 @@ RSpec.describe "Navigating to message", type: :system, js: true do
|
||||
|
||||
click_button(class: "chat-scroll-to-bottom")
|
||||
|
||||
expect(page).to have_content(link)
|
||||
expect(page).to have_content(link, visible: :all)
|
||||
|
||||
click_link(link)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user