wp-e2e-tests
wp-e2e-tests copied to clipboard
Add cron job to "Log Out Everywhere" test user
Each time when a user logs in, a session token is saved to a database. When the number of these saved sessions becomes too big e2e tests can become flaky. Here is the one example of failed test with the error Unsuccessful HTTP response.
We need to add cron job which will log out default test user from all saved sessions.