There were a number of issues with this spec:
1. The deletion of the U2F device needed an `accept_confirm` block
2. The "We heard back from your U2F device" message is shown only briefly
before the JavaScript handler submits the form. The only way to fix this is
to put a delay in the submission.
3. The "Remember Me" field can't be checked in step 2 for the same reason.
FFaker can generate data that randomly break our test suite. This
simplifies our factories and use sequences which are more predictive.
Signed-off-by: Rémy Coutable <remy@rymai.me>
After this change the sign-in-success flash message will not be shown
refactor: set flash message to be nil while signing in
test: changed tests to reflect removal of sign-in message
refactor: adding signed_in message back
See Merge Request !7837
issue#24982
- Tab between register and sign in forms
- Add individual input validation error messages
- Validate username
- Update many styles for all login-box forms
- We weren't explicilty waiting for the page to load while navigating
to the "Manage two-factor authentication" page. This was probably
incidentally working for PhantomJS 1.x versions.