summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Eastwood <contact@ericeastwood.com>2018-06-13 17:09:50 -0500
committerEric Eastwood <contact@ericeastwood.com>2018-06-14 03:50:10 -0500
commitaef29d00fea11938587dceeb7a9abb2cb6afa74f (patch)
treedda9a81b63a2679c6816550b3480d294a6eae06a
parent69966fcb8d19f0ce219a498efb2855902a2895b1 (diff)
downloadgitlab-ce-aef29d00fea11938587dceeb7a9abb2cb6afa74f.tar.gz
Fix flakey move slash command with unauthorized projectfix-flakey-move-slash-command-unauthorized-project
-rw-r--r--spec/features/issues/user_uses_slash_commands_spec.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/features/issues/user_uses_slash_commands_spec.rb b/spec/features/issues/user_uses_slash_commands_spec.rb
index dacca494755..17818beb947 100644
--- a/spec/features/issues/user_uses_slash_commands_spec.rb
+++ b/spec/features/issues/user_uses_slash_commands_spec.rb
@@ -226,7 +226,9 @@ feature 'Issues > User uses quick actions', :js do
it 'does not move the issue' do
add_note("/move #{project_unauthorized.full_path}")
- expect(page).not_to have_content 'Commands applied'
+ wait_for_requests
+
+ expect(page).to have_content 'Commands applied'
expect(issue.reload).to be_open
end
end