Automattic / wp-e2e-tests

Automated end-to-end tests for WordPress.com
https://github.com/Automattic/wp-calypso
GNU General Public License v2.0
110 stars 25 forks source link

Add cron job to "Log Out Everywhere" test user #1801

Open Stojdza opened 5 years ago

Stojdza commented 5 years ago

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.