Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzegorz.bizon@ntsn.pl>2015-12-13 02:39:47 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2015-12-15 16:19:35 +0300
commit9470d05c70c15df75ae6be45812967abf89ae59a (patch)
tree1be0edd00d237885917b485d51cf7ce3df3cc550 /features/project
parent7c14541d2bb9735402086c951730344fa5203278 (diff)
Add spinach test for note polling
This also increases capybara timeout to 15 seconds (note polling interval). Capybara will look for new note for this period of time.
Diffstat (limited to 'features/project')
-rw-r--r--features/project/issues/issues.feature6
1 files changed, 6 insertions, 0 deletions
diff --git a/features/project/issues/issues.feature b/features/project/issues/issues.feature
index f08b30e0b88..ab234bc7507 100644
--- a/features/project/issues/issues.feature
+++ b/features/project/issues/issues.feature
@@ -197,3 +197,9 @@ Feature: Project Issues
And I should not see labels field
And I submit new issue "500 error on profile"
Then I should see issue "500 error on profile"
+
+ @javascript
+ Scenario: Another user adds a comment to issue I'm currently viewing
+ Given I visit issue page "Release 0.4"
+ And another user adds a comment with text "Yay!" to issue "Release 0.4"
+ Then I should see a new comment with text "Yay!"