diff options
author | Kushal Pandya <kushalspandya@gmail.com> | 2017-05-05 13:57:29 +0300 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2017-05-05 13:57:29 +0300 |
commit | 645593e5af1fe9e7fa345788aeaa90d2313d6486 (patch) | |
tree | 514b8e8acbc10e915c50971c31b7fab6fdbcb18f /features/steps/shared | |
parent | a5347fe58f6ace1ced67fa32a8469ba4e2819606 (diff) |
Add instant comments support
Diffstat (limited to 'features/steps/shared')
-rw-r--r-- | features/steps/shared/note.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/features/steps/shared/note.rb b/features/steps/shared/note.rb index 7885cc7ab77..7d260025052 100644 --- a/features/steps/shared/note.rb +++ b/features/steps/shared/note.rb @@ -24,6 +24,8 @@ module SharedNote fill_in "note[note]", with: "XML attached" click_button "Comment" end + + wait_for_ajax end step 'I preview a comment text like "Bug fixed :smile:"' do @@ -37,6 +39,8 @@ module SharedNote page.within(".js-main-target-form") do click_button "Comment" end + + wait_for_ajax end step 'I write a comment like ":+1: Nice"' do |