Bug #201
Feature #83: [Authentication]
Feature #181: [Authentication] Test
[Reset Account Password] [Bug] Sai nội dung thông báo lỗi khi validate từng trường.
0%
Description
◆ Môi trường test: https://7de30e.myshopify.com/
◆ Step tái hiện bug:
1. Truy cập hệ thống: https://7de30e.myshopify.com/
2. Tại màn hình Reset Account Password.
3. Kiểm tra reset khi bỏ trống Password.
4. Kiểm tra reset khi bỏ trống Confirm Password.
5. Kiểm tra nhập Confirm Password không match với Password.
6. Kiểm tra nhập Password có chứa space đầu cuối.
7. Kiểm tra login với Password cũ sau khi đã reset 1 Password mới.
◆ Kết quả hiện tại:
3. Thông báo lỗi "Password can't be blank".
4. Thông báo lỗi "The password confirmation must match the provided password and can't be blank".
5. Thông báo lỗi "The password confirmation must match the provided password".
6. Không hiển thị thông báo lỗi, cả 2 trường được reset về blank.
7. Login không thành công, không hiển thị thông báo lỗi.
◆ Kết quả mong muốn:
3. Thông báo lỗi "Please complete all the required fields."
4. Thông báo lỗi "Please complete all the required fields."
5. Thông báo lỗi "The password must match with its confirmation."
6. Thông báo lỗi "Password reset error."
7. Login không thành công, hiển thị thông báo lỗi: "Incorrect email or password.", cả 2 trường được reset về blank.
◆ Nguyên nhân (Để dev điền)
◆ Phạm vi ảnh hưởng (Để dev điền)