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
Jérome Perrin
gitlab-ce
Commits
c8d29d17
Commit
c8d29d17
authored
Oct 20, 2017
by
Luke "Jared" Bennett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added group milestones form spec
parent
c44dff99
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
spec/features/groups/milestone_spec.rb
spec/features/groups/milestone_spec.rb
+10
-3
No files found.
spec/features/groups/milestone_spec.rb
View file @
c8d29d17
...
...
@@ -19,9 +19,9 @@ feature 'Group milestones', :js do
end
it
'renders description preview'
do
form
=
find
(
'.gfm-form
'
)
description
=
find
(
'.note-textarea
'
)
form
.
fill_in
(
:milestone_description
,
with:
''
)
description
.
native
.
send_keys
(
''
)
click_link
(
'Preview'
)
...
...
@@ -31,7 +31,7 @@ feature 'Group milestones', :js do
click_link
(
'Write'
)
form
.
fill_in
(
:milestone_description
,
with:
':+1: Nice'
)
description
.
native
.
send_keys
(
':+1: Nice'
)
click_link
(
'Preview'
)
...
...
@@ -51,6 +51,13 @@ feature 'Group milestones', :js do
expect
(
find
(
'.start_date'
)).
to
have_content
(
Date
.
today
.
at_beginning_of_month
.
strftime
(
'%b %-d, %Y'
))
end
it
'description input does not support autocomplete'
do
description
=
find
(
'.note-textarea'
)
description
.
native
.
send_keys
(
'!'
)
expect
(
page
).
not_to
have_selector
(
'.atwho-view'
)
end
end
context
'milestones list'
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