summaryrefslogtreecommitdiff
path: root/spec/features/issues
diff options
context:
space:
mode:
authorFelipe Artur <fcardozo@gitlab.com>2019-03-04 09:21:47 +0000
committerSean McGivern <sean@gitlab.com>2019-03-04 09:21:47 +0000
commit78dc1b58a64be03e6d3622aab5605e1d5f6a6643 (patch)
treed0dd8c328bb0c7ce2311c79f525f7f23db9e0ff0 /spec/features/issues
parent4b0036b87ee30ce0a3687dd052514b571f4d520f (diff)
downloadgitlab-ce-78dc1b58a64be03e6d3622aab5605e1d5f6a6643.tar.gz
Show commands applied message when promoting issues
Fix 'commands applied' messages not being shown when issue is promoted to epic using slash commands.
Diffstat (limited to 'spec/features/issues')
-rw-r--r--spec/features/issues/user_uses_quick_actions_spec.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/features/issues/user_uses_quick_actions_spec.rb b/spec/features/issues/user_uses_quick_actions_spec.rb
index 27cffdc5f8b..b5e7c3954e2 100644
--- a/spec/features/issues/user_uses_quick_actions_spec.rb
+++ b/spec/features/issues/user_uses_quick_actions_spec.rb
@@ -243,7 +243,9 @@ describe 'Issues > User uses quick actions', :js do
it 'does not move the issue' do
add_note("/move not/valid")
- 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