Automattic / wp-e2e-tests

Automated end-to-end tests for WordPress.com

Home Page:https://github.com/Automattic/wp-calypso

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add cron job to "Log Out Everywhere" test user

Stojdza opened this issue · comments

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.