Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
17f1cc20
Commit
17f1cc20
authored
Dec 18, 2018
by
Ramya Authappan
Committed by
Sanad Liaquat
Dec 18, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue Suggestions E2E Tests
parent
fe01846a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
0 deletions
+35
-0
qa/qa/specs/features/browser_ui/2_plan/issue/issue_suggestions_spec.rb
...eatures/browser_ui/2_plan/issue/issue_suggestions_spec.rb
+35
-0
No files found.
qa/qa/specs/features/browser_ui/2_plan/issue/issue_suggestions_spec.rb
0 → 100644
View file @
17f1cc20
# frozen_string_literal: true
module
QA
context
'Plan'
do
describe
'issue suggestions'
do
let
(
:issue_title
)
{
'Issue Lists are awesome'
}
it
'user sees issue suggestions when creating a new issue'
do
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
Page
::
Main
::
Login
.
perform
(
&
:sign_in_using_credentials
)
project
=
Resource
::
Project
.
fabricate!
do
|
resource
|
resource
.
name
=
'project-for-issue-suggestions'
resource
.
description
=
'project for issue suggestions'
end
Resource
::
Issue
.
fabricate!
do
|
issue
|
issue
.
title
=
issue_title
issue
.
project
=
project
end
project
.
visit!
Page
::
Project
::
Show
.
perform
(
&
:go_to_new_issue
)
Page
::
Project
::
Issue
::
New
.
perform
do
|
new_issue_page
|
new_issue_page
.
add_title
(
"issue"
)
expect
(
new_issue_page
).
to
have_content
(
issue_title
)
new_issue_page
.
add_title
(
"Issue Board"
)
expect
(
new_issue_page
).
not_to
have_content
(
issue_title
)
end
end
end
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment