Skip to content
Snippets Groups Projects
Commit 22a0cf6b authored by Taico Aerts's avatar Taico Aerts
Browse files

Fix logout helper

parent c56f0d06
Branches
Tags
2 merge requests!51Upgrade to latest qpixel,!50Update to latest codidact changes
......@@ -37,8 +37,9 @@ class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
def log_out
within :css, '.header' do
find(:css, 'i.far.fa-caret-square-down').find(:xpath, '..').click
click_on 'Sign Out'
end
find_link('Sign Out').click
end
# Pretends the user has clicked the confirmation link in the email they received.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment