Can't log in or log out after timeout
What is the current bug behavior?
When we leave Meltano unattended for too long (putting laptop to sleep for example), it seems that the session times out and that you should be logged out.
What happens instead is that the page stays the same, without redirecting to the login page, and you just see errors popping up, whatever the links you try to click (/data
,/reports
,/dashboards
)
Plus, there is no Sign out button, so you have to manually destroy the session
cookie and reload.
What is the expected correct behavior?
Be automatically redirected to the login page.
Steps to reproduce
- Don't use Meltano for a while. Come back and see the page is not usable.
Relevant logs and/or screenshots
Error messages popping up
Errors 500
from all XHR
requests
Possible fixes
Maybe making sure that the Sign out
button is accessible all the time in case the redirect doesn't work?
Further regression test
Ensure we automatically catch similar issues in the future
-
Write additional adequate test cases and submit test results -
Test results should be reviewed by a person from the team