Commit ed9a8239 authored by GitLab Bot's avatar GitLab Bot

Automatic merge of gitlab-org/gitlab-ce master

parents 98e3a1d1 4ef648cd
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
module QA module QA
context 'Plan' do context 'Plan' do
describe 'Issue comments' 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) Runtime::Browser.visit(:gitlab, Page::Main::Login)
Page::Main::Login.perform(&:sign_in_using_credentials) Page::Main::Login.perform(&:sign_in_using_credentials)
...@@ -11,7 +11,9 @@ module QA ...@@ -11,7 +11,9 @@ module QA
issue.title = 'issue title' issue.title = 'issue title'
end end
issue.visit! issue.visit!
end
it 'user comments on an issue and edits the comment' do
Page::Project::Issue::Show.perform do |issue_show_page| Page::Project::Issue::Show.perform do |issue_show_page|
first_version_of_comment = 'First version of the comment' first_version_of_comment = 'First version of the comment'
second_version_of_comment = 'Second version of the comment' second_version_of_comment = 'Second version of the comment'
......
...@@ -5,7 +5,7 @@ module QA ...@@ -5,7 +5,7 @@ module QA
describe 'filter issue comments activities' do describe 'filter issue comments activities' do
let(:issue_title) { 'issue title' } let(:issue_title) { 'issue title' }
it 'user filters comments and activities in an issue' do before do
Runtime::Browser.visit(:gitlab, Page::Main::Login) Runtime::Browser.visit(:gitlab, Page::Main::Login)
Page::Main::Login.perform(&:sign_in_using_credentials) Page::Main::Login.perform(&:sign_in_using_credentials)
...@@ -14,9 +14,9 @@ module QA ...@@ -14,9 +14,9 @@ module QA
end end
issue.visit! issue.visit!
end
expect(page).to have_content(issue_title) it 'user filters comments and activities in an issue' do
Page::Project::Issue::Show.perform do |show_page| Page::Project::Issue::Show.perform do |show_page|
my_own_comment = "My own comment" my_own_comment = "My own comment"
made_the_issue_confidential = "made the issue confidential" made_the_issue_confidential = "made the issue confidential"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment