Merge branch '25294-remove-signed-out-msg' into 'master'
fix: 25294 - remove signed_out notification Closes #25294 See merge request !7958
This commit is contained in:
commit
0f6964a385
3 changed files with 12 additions and 1 deletions
|
@ -37,6 +37,12 @@ class SessionsController < Devise::SessionsController
|
|||
end
|
||||
end
|
||||
|
||||
def destroy
|
||||
super
|
||||
# hide the signed_out notice
|
||||
flash[:notice] = nil
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
# Handle an "initial setup" state, where there's only one user, it's an admin,
|
||||
|
|
4
changelogs/unreleased/25294-remove-signed-out-msg.yml
Normal file
4
changelogs/unreleased/25294-remove-signed-out-msg.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
title: 'fix: removed signed_out notification'
|
||||
merge_request: 7958
|
||||
author: jnoortheen
|
|
@ -75,7 +75,8 @@ module LoginHelpers
|
|||
def logout
|
||||
find(".header-user-dropdown-toggle").click
|
||||
click_link "Sign out"
|
||||
expect(page).to have_content('Signed out successfully')
|
||||
# check the sign_in button
|
||||
expect(page).to have_button('Sign in')
|
||||
end
|
||||
|
||||
# Logout without JavaScript driver
|
||||
|
|
Loading…
Reference in a new issue