summaryrefslogtreecommitdiff
path: root/spec/features
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2018-06-15 14:38:04 +0000
committerRobert Speicher <robert@gitlab.com>2018-06-15 14:38:04 +0000
commit66bff49b9bccb8f0fce915b93fa6ae142b62698f (patch)
tree33827f32045370b5cd81e33fe8d40b703ebe7520 /spec/features
parent0e76badd761ecb07adea7744957d17744d0ca7d2 (diff)
parentaef29d00fea11938587dceeb7a9abb2cb6afa74f (diff)
downloadgitlab-ce-66bff49b9bccb8f0fce915b93fa6ae142b62698f.tar.gz
Merge branch 'fix-flakey-move-slash-command-unauthorized-project' into 'master'
Fix flakey time-sensitive move slash command with unauthorized project Closes #47936 See merge request gitlab-org/gitlab-ce!19793
Diffstat (limited to 'spec/features')
-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