summaryrefslogtreecommitdiff
path: root/spec/features/issues/user_sees_sidebar_updates_in_realtime_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/issues/user_sees_sidebar_updates_in_realtime_spec.rb')
-rw-r--r--spec/features/issues/user_sees_sidebar_updates_in_realtime_spec.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/spec/features/issues/user_sees_sidebar_updates_in_realtime_spec.rb b/spec/features/issues/user_sees_sidebar_updates_in_realtime_spec.rb
index 7a2b637e48e..6473fe01052 100644
--- a/spec/features/issues/user_sees_sidebar_updates_in_realtime_spec.rb
+++ b/spec/features/issues/user_sees_sidebar_updates_in_realtime_spec.rb
@@ -19,11 +19,14 @@ RSpec.describe 'Issues > Real-time sidebar', :js do
expect(page.find('.assignee')).to have_content 'None'
end
- gitlab_sign_in(user)
+ sign_in(user)
+
visit project_issue_path(project, issue)
expect(page.find('.assignee')).to have_content 'None'
click_button 'assign yourself'
+ wait_for_requests
+ expect(page.find('.assignee')).to have_content user.name
using_session :other_session do
expect(page.find('.assignee')).to have_content user.name