diff options
author | Rubén Dávila <rdavila84@gmail.com> | 2016-01-22 17:54:37 -0500 |
---|---|---|
committer | Rubén Dávila <rdavila84@gmail.com> | 2016-01-22 17:54:37 -0500 |
commit | 9ef468922c2ed5a02250414576fcf98ad1ac23cb (patch) | |
tree | 486946a24a56d38681507e7498a7fd5dfe1d5195 /features/project | |
parent | 7c520c7803524de0eefb8fbcc79d4c943a80c4de (diff) | |
parent | 3982219d98da1578d9b61bf685a7389371778eee (diff) | |
download | gitlab-ce-9ef468922c2ed5a02250414576fcf98ad1ac23cb.tar.gz |
Merge branch 'master' into issue_5546
Diffstat (limited to 'features/project')
-rw-r--r-- | features/project/merge_requests.feature | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/features/project/merge_requests.feature b/features/project/merge_requests.feature index 6b43e7ffedf..2938a22caa2 100644 --- a/features/project/merge_requests.feature +++ b/features/project/merge_requests.feature @@ -117,6 +117,15 @@ Feature: Project Merge Requests And I leave a comment like "Line is wrong" on diff And I switch to the merge request's comments tab Then I should see a discussion has started on diff + And I should see a badge of "1" next to the discussion link + + @javascript + Scenario: I see a new comment on merge request diff from another user in the discussion tab + Given project "Shop" have "Bug NS-05" open merge request with diffs inside + And I visit merge request page "Bug NS-05" + And user "John Doe" leaves a comment like "Line is wrong" on diff + Then I should see a discussion by user "John Doe" has started on diff + And I should see a badge of "1" next to the discussion link @javascript Scenario: I edit a comment on a merge request diff @@ -134,9 +143,11 @@ Feature: Project Merge Requests And I visit merge request page "Bug NS-05" And I click on the Changes tab And I leave a comment like "Line is wrong" on diff + And I should see a badge of "1" next to the discussion link And I delete the comment "Line is wrong" on diff And I click on the Discussion tab Then I should not see any discussion + And I should see a badge of "0" next to the discussion link @javascript Scenario: I comment on a line of a commit in merge request |