Fix error when users try to logout #603
Reference in New Issue
Block a user
Delete Branch "fix-broken-log-out-flow"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Steps to reproduce
On the dashboard page, after logging it, when the user tries to logouts an internal error is shown.
@@ -14,2 +14,3 @@endassert_text "Dashboard"assert_text "Dashboard", wait: 5find('[data-controller="menu"]').clickWhile adding a test to cover the broken functionality, I ran into some flakiness running the test. The dashboard page was taking a bit longer to load and the default 2 seconds waiting time was not enough.
I increased the default Capybara waiting time from up to 2 seconds to up to 5 seconds to make the test more stable.
Thanks for the fix, looks good 👍