Matt-Yorkley
0c2fd4bfd2
Fix ensure_valid_locale_persisted and change public interface of service
2020-07-03 16:39:24 +02:00
Matt-Yorkley
cc7b5e2df3
Add pending test for setting locale from cookies during login
...
This test currently fails
2020-07-03 16:39:23 +02:00
Matt-Yorkley
4e08d2049f
Ensure a valid locale is persisted during login
...
This action has to be performed here and not in I18nHelper, as spree_current_user is not initialized yet during the other checks / setting the selected locale value in the app
2020-07-02 15:33:19 +02:00
Matt-Yorkley
3326366c6e
Add specs for applying stored locales during login
2020-07-02 14:35:58 +02:00
luisramos0
81f8b127db
Transpec spec/features/consumer/authentication_spec.rb and spec/features/consumer/producers_spec.rb
2019-09-20 09:53:23 +01:00
luisramos0
0460e7fc6c
Merge branch 'master' into 2-0-stable-jan-17th
2019-01-17 22:51:25 +00:00
Rob Harrington
98f4ae9b60
Change screen size back to large after authentication_spec
2019-01-16 16:21:30 +00:00
Pau Perez
6af8544c52
Restore perform_deliveries value in tests
2018-12-05 10:20:13 +01:00
Pau Perez
25eb297215
Perform delivery when checking deliveries in specs
2018-12-05 10:05:39 +01:00
Pau Perez
064d9cf183
Do not hide flaky tests under endless retries
...
If it fails, needs fixing, not hiding the problem and making the test
suite longer.
2018-12-05 10:05:39 +01:00
Maikel Linke
e6adb8a3b9
Extract email setup in specs for easy upgrade
...
The way we set up email sending completely changes with Spree 2. This
change encapsulates that code in a single method so that it can be
changed easily and doesn't create further merge conflicts while we are
still working on the master branch and the Spree upgrade.
2018-10-25 13:53:22 +11:00
Maikel Linke
600c8fcd4c
Send confirmation emails immediately
...
Using deferred methods on the user model breaks delayed jobs when the
user is deleted while the job still exists. We could create a proper job
referencing a user id for sending these emails instead. But since the
user has to wait for the confirmation email anyway, we can send it
within the current request. This should be revised if performance
becomes an issue.
Sending the email directly also has the advantage that we can tell the
user if emailing failed. See the following commits.
This change impacts a bunch of specs as we now need a working email
setup to create unconfirmed users. This commit introduces a custom
matcher to unify testing for confirmation emails.
2018-09-27 13:33:08 +10:00
Matt-Yorkley
e8bc87e62b
Ensure email validation link returns to /register paths properly
2018-03-14 12:13:45 +11:00
Matt-Yorkley
f5a0862655
Email confirmation modal specs
2018-03-14 12:13:45 +11:00
Matt-Yorkley
28ded1f0c2
Adjust user signup feedback
2018-02-07 10:41:51 +11:00
Pierre de Lacroix
4f0b20e8ad
Better tests
2018-02-07 10:41:51 +11:00
Pierre de Lacroix
eb1c598a6c
Fix tests
2018-02-07 10:41:51 +11:00
Matt-Yorkley
a76b64b80b
Spec for missing password confirmation
2017-08-18 13:59:54 +10:00
Diogo Matsubara
386d651678
Fix #1611 (Rephrase error message for people logging in with an existing user email)
...
update test to use new rspec syntax
2017-06-28 15:35:21 +10:00
Rob Harrington
7e932f091d
Use have_current_path rather than current_path.should ==
2016-05-25 08:10:20 +10:00
Rohan Mitchell
3eea002a0c
Put rspec-retry on flaky specs
2015-08-07 11:06:16 +10:00
Rohan Mitchell
835b56b222
Attempt to fix intermittent failures in spec/features/consumer/authentication_spec.rb
2015-05-29 09:44:57 +10:00
Rohan Mitchell
9d225142c8
Send password reset instructions asynchronously
2015-04-21 16:10:40 +10:00
Rohan Mitchell
ccc1f3df40
Feature specs test email sending through delayed jobs
2015-04-16 16:54:43 +10:00
Victor Nava
4e1eb33ff5
Redirect users to proper login page when they type /login
2015-03-05 11:25:35 +11:00
Rob H
043cc915e7
Removing save_screenshot calls
2014-09-11 22:40:03 +10:00
Will Marshall
2120ab96ca
Fixing bugs and spec regressions
2014-07-24 16:02:10 +10:00
Will Marshall
9d519f5f4b
Fixing a minor test regression
2014-07-10 11:52:32 +10:00
Will Marshall
638d6d2ac0
Moving around the authentication specs
2014-05-30 12:58:58 +10:00
Will Marshall
272cb0469f
Setting up after_login redirects
2014-05-22 12:40:46 +10:00
Will Marshall
9903e42811
Adding reset password stuff
2014-05-09 14:26:07 +10:00
Will Marshall
1297520051
Authentication steps test
2014-05-09 14:13:39 +10:00
Will Marshall
c52457505e
Fixing issues with offcanvas
2014-05-09 12:18:05 +10:00
Will Marshall
05f5e5562f
Adding menu helper, removing admin path
2014-05-09 10:05:09 +10:00
Will Marshall
19fa7200f3
Fixing the login redirection issue
2014-02-27 14:47:56 +11:00