summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanad Liaquat <sliaquat@gitlab.com>2019-07-19 11:49:21 +0000
committerSanad Liaquat <sliaquat@gitlab.com>2019-07-19 11:49:21 +0000
commit4ef648cda46632012ac10243a29e956430e8d36e (patch)
treecc97fe7ee3ff8b8040f42a2fcd0f82ff76b18db0
parent2c3cc79672b66f8959df81131f2c2d844cfccd3f (diff)
parent854f7eff12e6eeb44edbe8972c63459dabdb4112 (diff)
downloadgitlab-ce-4ef648cda46632012ac10243a29e956430e8d36e.tar.gz
Merge branch 'qa/better-scope-one-more-test' into 'master'
Better scope end-to-end test See merge request gitlab-org/gitlab-ce!30897
-rw-r--r--qa/qa/specs/features/browser_ui/2_plan/issue/comment_issue_spec.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/qa/qa/specs/features/browser_ui/2_plan/issue/comment_issue_spec.rb b/qa/qa/specs/features/browser_ui/2_plan/issue/comment_issue_spec.rb
index 2e71ecb5718..78919561a89 100644
--- a/qa/qa/specs/features/browser_ui/2_plan/issue/comment_issue_spec.rb
+++ b/qa/qa/specs/features/browser_ui/2_plan/issue/comment_issue_spec.rb
@@ -3,7 +3,7 @@
module QA
context 'Plan' do
describe 'Issue comments' do
- it 'user comments on an issue and edits the comment' do
+ before do
Runtime::Browser.visit(:gitlab, Page::Main::Login)
Page::Main::Login.perform(&:sign_in_using_credentials)
@@ -11,7 +11,9 @@ module QA
issue.title = 'issue title'
end
issue.visit!
+ end
+ it 'user comments on an issue and edits the comment' do
Page::Project::Issue::Show.perform do |issue_show_page|
first_version_of_comment = 'First version of the comment'
second_version_of_comment = 'Second version of the comment'