Bug: The window "Forgot your password?" appears on user page right after changing a password and entering the account
Summary
Google Chrome 130.0.6723.92 (Официальная сборка), (64 бит) ОС Windows 10 Codebattle version: e827c58
Reproduction steps
1. Click on 'Sign In' button on the main page: https://codebattle.hexlet.io/
2. Click on 'Forgot your password?' under the authorization form
3. Enter the email of your existing account
4. Open the link sent to your email
5. Enter the new password
6. Log your account with a new password
Expected result
The main page of user account opens.
Actual result
The window "Forgot your password?" appears
Browsers
Chrome
OS
Windows
- summary: |
Открывается окно "Forgot your password?" после входа на аккаунт, на котором был восстановлен пароль
environment: |
Google Chrome Версия 133.0.6943.142 (Официальная сборка), (64 бит)
Windows 11 Pro 24 H2
steps-to-reproduce: |
- Нажимаем кнопку "Sing in"
- Нажимаем на гиперссылку "Forgot your password?"
- Вводим свой email
- Переходим в сообщения на своей почте
- Открываем письмо восстановления пароля
- Переходим по гиперссылке
- Вводим новый пароль
- Заходим на сайт под новым паролем expected-result: > Авторизируется аккаунт, открывается главная страница сайта actual-result: > Авторизируется аккаунт, открывается форма восстановления пароля
- summary: |
Проверка восстановления пароля
requirement: |
Пользователь может восстановить забытый пароль при переходе по ссылке "Забыли пароль?"
prerequisites: |
Открыта страница авторизации
test-data: |
Никнейм = May06 email = [email protected] Пароль = gawkan-qoxbi3-****
steps:
- нажать "Забыли пароль?"
- ввести существующий email
- В почтовом ящике введенного emaila открыть письмо от cdodebattle
- Перейти по ссылке указанной в письме
- В открывшемся окне ввести новый пароль
- Открытьстраницу авторизации пользователя
- Ввести свой email
- Ввести новый пароль expected-result: | Пользователь должен попасть на главную страницу actual-result: | Открывается окно с формой для восстановления пароля
Browser Yandex
ОС Windows
Version: 09ccbfe
summary: Password recovery does not work correctly
environment:
- Google Chrome 134.0.6998.36 (Official Build) (64-bit)
- OS: Windows 11 23H2 22631.5039
- Codebattle version: 9425fb5
steps-to-reproduce:
- Go to https://codebattle.hexlet.io/
- Click the "Sign in" button
- Click "Forgot your password?"
- Enter an email
- Click the "Submit" button
- In the inbox of the specified email, find an email from "[email protected]"
- Open the email and follow the link
- In the "Reset your password" window, enter a new password
- Click the "SAVE" button
- Go back to the game tab https://codebattle.hexlet.io/remind_password
- Click the "Sign in" button
- Enter the email
- Enter the password
- Click the "Submit" button
expected-result: The user should be logged in and redirected to the lobby page https://codebattle.hexlet.io/#lobby
actual-result: The user is logged in, but instead of being redirected to the lobby, the "Forget your password?" form is displayed in the browser
Summary
After setting a new password and successful authorisation, the user is again redirected a password reset window, instead of being redirected to the main page
Environment
- Yandex Browser: Version 25.2.4.955 (64-bit)
- OS Windows 10: Version 22H2 19045.5608
- Codebattle version: 9425fb5
Prerequisites:
- User has account and access to the email that is attached to his account
- Forgot your password window is open
Step to reproduce:
- Enter email that is attached to account
- Click "Submit" button
- Open the email that is sent and click the link
- Set new password
- Sign in with new password
Expected result:
User is authorised and redirected to main page
Actual result:
After authorisation with new password user is redirected again to "Forgot your password?" page
Bug: Incorrect operation of the password change function
Summary: After the user logs in with the changed password, a window Forgot your password appears
Reproduction steps
- Click on Sign in
- Click on Forgot your password ?
- Enter your email address
- Click on Send
- Go to your mailbox mail
- Open the email from "[email protected] ».
- Follow the link
- Enter a new password In the Reset Password field
- Click on Save
- Go back to the games tab https://codebattle.hexlet.io/remind_password
- Click on Sign in
- Enter your email address
- Enter the new password
- Click on Submit
Expected result: The user has been successfully authenticated The main page opens
Actual-result The user sign in the system The page Forgot your password opens
Browser: Google Chrome Версия 135 (Официальная сборка), (64 бит) ОS: Windows 10
Summary: Password recovery window after password reset
Screenshot:
Reproduction steps:
- Click on Sign in
- Click on Forgot your password ?
- Enter your email address
- Click on Send
- Go to your mailbox
- Click on the password recovery link from the letter
- Enter new password
- Click Save
- Go to the main page of CodeBattle
- Click Sign in
- Enter new user data
- Click Submit
Expected result: Redirect on main page of codebattle with authorized user
Actual result: User sign in the system The Forgot Password page opens
Browsers Google Chrome version 137.0.7151.120 (Official Build) (64 bit)
OS Windows 11 Home V.24H2 (Build 26100.4351)
App version Hexlet Codebattle version https://github.com/hexlet-codebattle/codebattle/commit/376ef8ed458f200e213c080ca239b77b8910a8b2