summaryrefslogtreecommitdiff
path: root/qa/qa/specs/features/browser_ui/2_plan/issue/filter_issue_comments_spec.rb
diff options
context:
space:
mode:
authorSanad Liaquat <sliaquat@gitlab.com>2019-06-11 18:26:42 +0500
committerSanad Liaquat <sliaquat@gitlab.com>2019-06-11 21:51:08 +0500
commita154d9db2018e8034e3c0d25c34502aabf3701c0 (patch)
treeaa5f1aa0040ae5357e7ad547dae791d412d85e3c /qa/qa/specs/features/browser_ui/2_plan/issue/filter_issue_comments_spec.rb
parent3efd59b9208400f08867a72cce19a042dc0f1402 (diff)
downloadgitlab-ce-a154d9db2018e8034e3c0d25c34502aabf3701c0.tar.gz
Comment will select all activites filter by defaultqa-nightly-107-fix-comment-on-issue-ce
Diffstat (limited to 'qa/qa/specs/features/browser_ui/2_plan/issue/filter_issue_comments_spec.rb')
-rw-r--r--qa/qa/specs/features/browser_ui/2_plan/issue/filter_issue_comments_spec.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/qa/qa/specs/features/browser_ui/2_plan/issue/filter_issue_comments_spec.rb b/qa/qa/specs/features/browser_ui/2_plan/issue/filter_issue_comments_spec.rb
index c0d597af076..b2164bb5fab 100644
--- a/qa/qa/specs/features/browser_ui/2_plan/issue/filter_issue_comments_spec.rb
+++ b/qa/qa/specs/features/browser_ui/2_plan/issue/filter_issue_comments_spec.rb
@@ -16,9 +16,8 @@ module QA
expect(page).to have_content(issue_title)
Page::Project::Issue::Show.perform do |show_page|
- show_page.select_comments_only_filter
- show_page.comment('/confidential')
- show_page.comment('My own comment')
+ show_page.comment('/confidential', filter: :comments_only)
+ show_page.comment('My own comment', filter: :comments_only)
expect(show_page).not_to have_content("made the issue confidential")
expect(show_page).to have_content("My own comment")