diff options
author | Robert Speicher <robert@gitlab.com> | 2018-06-15 17:38:04 +0300 |
---|---|---|
committer | Robert Speicher <robert@gitlab.com> | 2018-06-15 17:38:04 +0300 |
commit | 66bff49b9bccb8f0fce915b93fa6ae142b62698f (patch) | |
tree | 33827f32045370b5cd81e33fe8d40b703ebe7520 | |
parent | 0e76badd761ecb07adea7744957d17744d0ca7d2 (diff) | |
parent | aef29d00fea11938587dceeb7a9abb2cb6afa74f (diff) |
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
-rw-r--r-- | spec/features/issues/user_uses_slash_commands_spec.rb | 4 |
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 |