Commit graph

18 commits

Author SHA1 Message Date
Robert Speicher
044f09d807 Change logout uses to gitlab_sign_out
Change `logout_direct` uses to `gitlab_sign_out_direct`
2017-06-19 18:59:02 -05:00
Robert Speicher
018ed2c42f Change login_with uses to gitlab_sign_in
Change single `login_via` use to `gitlab_sign_in_via`
2017-06-19 18:59:01 -05:00
Robert Speicher
45fb1f9542 Change login_as uses to gitlab_sign_in 2017-06-19 18:59:01 -05:00
Robert Speicher
a6ec5121f0 Correct RSpec/SingleLineHook cop offenses 2017-06-14 13:18:56 -05:00
Oswaldo Ferreira
2338785ec9 Use wait_for_requests to wait all JS request 2017-05-22 20:39:49 -03:00
Jacopo
ff76adb547 Unnecessary "include WaitForAjax" and "include ApiHelpers"
Removed all the unnecessary include of `WaitForAjax` and `ApiHelpers` in the specs.
Removed unnecessary usage of `api:true`
2017-04-21 22:32:02 +02:00
Jose Ivan Vargas
7592137f21 Fix rspec and spinach tests 2017-04-06 14:58:57 -05:00
Jose Ivan Vargas
eb2d6a6ed5 Fixed rspec tests 2017-04-06 14:58:57 -05:00
Rémy Coutable
4e3516788f Don't use FFaker in factories, use sequences instead
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>
2017-04-03 18:54:48 +02:00
Luke "Jared" Bennett
b285abeccc
Improved the u2f flow
Added tests
2016-12-27 00:18:17 +00:00
jnoortheen
6ab74b1cb3 fix: 24982- Remove'Signed in successfully' message
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
2016-12-07 20:30:28 +05:30
Bryce Johnson
1dd826d4aa Make UX upgrades to SignIn/Register views.
- Tab between register and sign in forms
- Add individual input validation error messages
- Validate username
- Update many styles for all login-box forms
2016-10-15 08:27:21 +02:00
DJ Mountney
9224f031cf Pass the remember_me option into the u2f form and support it while authenticating
Matches the changes done for non-u2f two-factor auth
2016-09-01 17:11:42 -07:00
Timothy Andrew
961e86bf24 Add feature specs to cover naming and deleting U2F devices. 2016-08-18 22:12:02 +05:30
Timothy Andrew
2675c9d632 Fix U2fSpec for PhantomJS versions > 2.
- 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.
2016-08-13 00:57:40 -05:00
Timothy Andrew
341d8bc3f7 Add a U2F feature spec for multiple devices owned by the same user.
1. This scenario was previously tested for the registration flow, but
   not authentication.
2016-07-14 08:19:09 +05:30
Timothy Andrew
298eb449f3 Update u2f_spec to cover U2F being disabled until authenticator is set up. 2016-06-15 08:16:54 +05:30
Timothy Andrew
7232bdb9ad Add feature specs covering U2F registration and authentication. 2016-06-06 12:50:31 +05:30