summaryrefslogtreecommitdiff
path: root/qa/qa/specs/features/browser_ui/2_plan/issue
diff options
context:
space:
mode:
authorRamya Authappan <rauthappan@gitlab.com>2018-11-08 05:55:18 +0000
committerSanad Liaquat <sliaquat@gitlab.com>2018-11-08 05:55:18 +0000
commitfedc6de3737f9e1163d199da819d849acaabe241 (patch)
treeb97b2149b5aac10734b7ad3a5c84bb28bba98843 /qa/qa/specs/features/browser_ui/2_plan/issue
parent8883cfcaa5b97a22c8f52bc7f5a2fb08eb8ea0b2 (diff)
downloadgitlab-ce-fedc6de3737f9e1163d199da819d849acaabe241.tar.gz
Fix for the filter spec failure
Diffstat (limited to 'qa/qa/specs/features/browser_ui/2_plan/issue')
-rw-r--r--qa/qa/specs/features/browser_ui/2_plan/issue/create_issue_spec.rb1
-rw-r--r--qa/qa/specs/features/browser_ui/2_plan/issue/filter_issue_comments_spec.rb5
2 files changed, 6 insertions, 0 deletions
diff --git a/qa/qa/specs/features/browser_ui/2_plan/issue/create_issue_spec.rb b/qa/qa/specs/features/browser_ui/2_plan/issue/create_issue_spec.rb
index f5002c8032f..7145b950b6c 100644
--- a/qa/qa/specs/features/browser_ui/2_plan/issue/create_issue_spec.rb
+++ b/qa/qa/specs/features/browser_ui/2_plan/issue/create_issue_spec.rb
@@ -31,6 +31,7 @@ module QA
create_issue
Page::Project::Issue::Show.perform do |show|
+ show.select_all_activities_filter
show.comment('See attached banana for scale', attachment: file_to_attach)
show.refresh
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 83603f1cda7..ac34f72bb8f 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
@@ -27,6 +27,11 @@ module QA
expect(show_page).to have_content("made the issue confidential")
expect(show_page).to have_content("My own comment")
+
+ show_page.select_history_only_filter
+
+ expect(show_page).to have_content("made the issue confidential")
+ expect(show_page).not_to have_content("My own comment")
end
end
end