Commit 09d25b04 authored by Mark Lapierre's avatar Mark Lapierre

Merge branch 'move-details-of-e2e-tests-to-the-bottom' into 'master'

Move details of e2e tests to the bottom

See merge request gitlab-org/gitlab-ce!26494
parents 3eba3a18 93ed9de1
......@@ -5,15 +5,6 @@ module QA
describe 'Issue creation' do
let(:issue_title) { 'issue title' }
def create_issue
Runtime::Browser.visit(:gitlab, Page::Main::Login)
Page::Main::Login.act { sign_in_using_credentials }
Resource::Issue.fabricate! do |issue|
issue.title = issue_title
end
end
it 'user creates an issue' do
create_issue
......@@ -46,6 +37,15 @@ module QA
end
end
end
def create_issue
Runtime::Browser.visit(:gitlab, Page::Main::Login)
Page::Main::Login.act { sign_in_using_credentials }
Resource::Issue.fabricate! do |issue|
issue.title = issue_title
end
end
end
end
end
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