Skip to content

Use random passwords in specs

Our specs use static passwords, many of them are weak. Ideally there would be no way in our codebase to set static passwords, even for test purposes.

We should adopt a pattern where we generate a random password in a before or let block, and then use that value in subsequent tests.

The first MR, Remove weak and/or hardcoded user passwords fro... (!92845 - closed), was too big, so we will break it out into smaller MRs:

Edited by Nick Malcolm