UX: allow users to click thread title to open it (#24816)

This commit is contained in:
Joffrey JAFFEUX
2023-12-11 13:54:00 +01:00
committed by GitHub
parent 549513e25d
commit 54724f7c09
5 changed files with 37 additions and 16 deletions

View File

@ -9,7 +9,9 @@ module PageObjects
end
def open_thread(thread)
find(".chat__user-threads__thread-container[data-id='#{thread.id}']").click
find(
".chat__user-threads__thread-container[data-id='#{thread.id}'] .chat__thread-title__name",
).click
end
end
end