Commit 94bb32b8 authored by Rémy Coutable's avatar Rémy Coutable

Add `wait_for_requests` to spec/features/issues/user_views_issue_spec.rb

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 81bbe24d
......@@ -57,10 +57,14 @@ RSpec.describe "User views issue" do
let_it_be(:status) { create(:user_status, user: user, emoji: 'smirk', message: "#{message} :#{message_emoji}:") }
it 'correctly renders the emoji' do
wait_for_requests
tooltip_span = page.first(".user-status-emoji[title^='#{message}']")
tooltip_span.hover
wait_for_requests
tooltip = page.find('.tooltip .tooltip-inner')
page.within(tooltip) do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment