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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
2269061e
Commit
2269061e
authored
Jan 05, 2019
by
rubenmoya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add specs
Co-Authored-By:
André Luis
<
aluis@gitlab.com
>
parent
ca84c8e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
spec/features/boards/new_issue_spec.rb
spec/features/boards/new_issue_spec.rb
+21
-0
No files found.
spec/features/boards/new_issue_spec.rb
View file @
2269061e
...
...
@@ -86,6 +86,27 @@ describe 'Issue Boards new issue', :js do
expect
(
page
).
to
have_selector
(
'.issue-boards-sidebar'
)
end
it
'successfuly loads labels to be added to newly created issue'
do
page
.
within
(
first
(
'.board'
))
do
find
(
'.issue-count-badge-add-button'
).
click
end
page
.
within
(
first
(
'.board-new-issue-form'
))
do
find
(
'.form-control'
).
set
(
'new issue'
)
click_button
'Submit issue'
end
wait_for_requests
page
.
within
(
first
(
'.issue-boards-sidebar'
))
do
find
(
'.labels .edit-link'
).
click
wait_for_requests
expect
(
page
).
to
have_selector
(
'.labels .dropdown-content li a'
)
end
end
end
context
'unauthorized user'
do
...
...
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