Commit 2d363a19 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Merge branch '241123-add-wait-for-requests' into 'master'

Add `wait_for_requests` to a test in `spec/features/issues/user_views_issue_spec.rb`

Closes #241123

See merge request gitlab-org/gitlab!40874
parents 15648bee 94bb32b8
......@@ -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