parent
10211a51ef
commit
a13f70ea1a
5 changed files with 100 additions and 20 deletions
|
@ -15,6 +15,8 @@ class SessionsTest < ApplicationSystemTestCase
|
|||
login(@user.email)
|
||||
|
||||
visit root_url
|
||||
# Open the user dropdown by clicking the checkbox label
|
||||
find('label[for="user-dropdown"]').click
|
||||
click_on "Log out", match: :first
|
||||
|
||||
assert_text "Session was successfully destroyed"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue