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
c52afd16
Commit
c52afd16
authored
Feb 17, 2017
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'issue_26714' into 'master'
Fix 'reset-email' link spec Closes #26714 See merge request !9317
parents
0159de4a
4e84ec8a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
spec/features/issues_spec.rb
spec/features/issues_spec.rb
+4
-2
No files found.
spec/features/issues_spec.rb
View file @
c52afd16
...
@@ -382,7 +382,9 @@ describe 'Issues', feature: true do
...
@@ -382,7 +382,9 @@ describe 'Issues', feature: true do
it
'changes incoming email address token'
,
js:
true
do
it
'changes incoming email address token'
,
js:
true
do
find
(
'.issue-email-modal-btn'
).
click
find
(
'.issue-email-modal-btn'
).
click
previous_token
=
find
(
'input#issue_email'
).
value
previous_token
=
find
(
'input#issue_email'
).
value
find
(
'.incoming-email-token-reset'
).
click
find
(
'.incoming-email-token-reset'
).
trigger
(
'click'
)
wait_for_ajax
expect
(
page
).
to
have_no_field
(
'issue_email'
,
with:
previous_token
)
expect
(
page
).
to
have_no_field
(
'issue_email'
,
with:
previous_token
)
new_token
=
project1
.
new_issue_address
(
@user
.
reload
)
new_token
=
project1
.
new_issue_address
(
@user
.
reload
)
...
...
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