diff options
author | Stan Hu <stanhu@gmail.com> | 2018-05-30 03:51:30 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-05-30 06:48:21 +0300 |
commit | 294ab0fffd8776f9b79a458a276cdce89b0d2fa6 (patch) | |
tree | 8225b2596386268b0353c4114ea2da1ee82c3825 /spec | |
parent | d3b39a835f1ef42d71ba7b478d9e7320c4167b4e (diff) |
Fix local storage not being cleared after creating a new issue
Creating a new issue will always result in a 302 redirect to the newly-created
issue. This reverts the change introduced in
https://gitlab.com/gitlab-org/gitlab-ce/commit/7684217d6806408cd338260119364419260d1720
to handle the case where a user is in the middle of creating a new form and
redirected to accepting the terms of service.
Closes #37162
Diffstat (limited to 'spec')
-rw-r--r-- | spec/features/users/terms_spec.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/features/users/terms_spec.rb b/spec/features/users/terms_spec.rb index f9469adbfe3..1efa5cd5490 100644 --- a/spec/features/users/terms_spec.rb +++ b/spec/features/users/terms_spec.rb @@ -62,7 +62,8 @@ describe 'Users > Terms' do expect(current_path).to eq(project_issues_path(project)) end - it 'redirects back to the page the user was trying to save' do + # Disabled until https://gitlab.com/gitlab-org/gitlab-ce/issues/37162 is solved properly + xit 'redirects back to the page the user was trying to save' do visit new_project_issue_path(project) fill_in :issue_title, with: 'Hello world, a new issue' |