Commit 61d6ea09 authored by Robert Speicher's avatar Robert Speicher
Browse files

Merge branch 'qa-160' into 'master'

Add a QA scenario for creating an issue

Closes gitlab-qa#160

See merge request gitlab-org/gitlab-ce!16802
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
Page::Menu::Side.act { click_issues }
expect(page).to have_content(issue_title)
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