E2E: Wait for user to be deleted and start clean slate

What does this MR do and why?

Describe in detail what your merge request does and why.

Fixes Group SAML SSO e2e tests by waiting for users to be deleted. This is due to the user deletion happening in batches done by the Users::MigrateRecordsToGhostUserWorker and it takes some time for the deletion to get reflected. See related conversation.

Closes #382024 (closed), #381747 (closed)

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Sanad Liaquat

Merge request reports

Loading