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
59cb05c8
Commit
59cb05c8
authored
Jun 24, 2018
by
Sanad Liaquat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds test to cover the fix in #45575
parent
2bac2918
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
spec/features/users/signup_spec.rb
spec/features/users/signup_spec.rb
+9
-0
No files found.
spec/features/users/signup_spec.rb
View file @
59cb05c8
...
...
@@ -40,6 +40,15 @@ describe 'Signup' do
expect
(
find
(
'.username'
)).
to
have_css
'.gl-field-error-outline'
end
it
'shows an error message on submit if the username contains special characters'
do
fill_in
'new_user_username'
,
with:
'new$user!username'
wait_for_requests
click_button
"Register"
expect
(
page
).
to
have_content
(
"Please create a username with only alphanumeric characters."
)
end
end
context
'with no errors'
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