Commit abc09651 authored by Rémy Coutable's avatar Rémy Coutable
Browse files

Add a QA scenario for creating an issue


Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 257e6547a667
require 'securerandom'
module QA
module Factory
module Resource
......
module QA
feature 'creates issue', :core do
let(:issue_title) { 'issue title' }
scenario 'user creates issue' do
Runtime::Browser.visit(:gitlab, Page::Main::Login)
Page::Main::Login.act { sign_in_using_credentials }
Factory::Resource::Issue.fabricate! do |issue|
issue.title = issue_title
end
Page::Menu::Side.act { click_issues }
expect(page).to have_content(issue_title)
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