On our fork at Stanford, we override the template for the login lockout to provide additional information. This means that the second sentence here, `Try again later.` does not immediately follow the first in our rendering. As a result, this test fails for us. Instead, by checking for the most important part of the message (the first sentence), we're able to ensure that: - the user is still locked out - the lockout message is shown on the template - the test does not fail unnecessarily
16 KiB
16 KiB