-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Login - Error message doesn't appear in email page after tap Go back button #15488
Comments
Triggered auto assignment to @NicMendonca ( |
Bug0 Triage Checklist (Main S/O)
|
@NikkiWines can you gut check this for me? 🙏 Should the |
@Beamanator Can you also take a look? Looks like this is related to #14854 |
Ah, yeah there's a kind of specific flow here. From #14854 (cc: @dangrous)
Looks like the error for the email entry page isn't showing as expected. Going to check locally and see if maybe there's a difference in the throttle limit between the two. |
It's a little hard to tell from the video so wanted to confirm - the error should only show up once "Continue" is clicked on the email page. It won't show up just when you "go back," you have to try to log in again. Was "Continue" clicked here? |
@NikkiWines Checking now |
@dangrous Tester did not tap on Continue button on 1:07 of periods of time. |
Okay cool - can we test again including tapping on Continue and see if the error shows up in that case? I think we should be good if that passes. |
@dangrous Re-tested by tapping on Continue button and error message is still there. Screen_Recording_20230302_175440_New.Expensify.mp4 |
Okay cool - that's what we want for that page! However I noticed that the behavior for the second page (steps 2-4) does NOT match what we'd expect - no message change when clicking EDIT: I just tested this locally and it seems to be working fine? But would be good to confirm on prod... |
Yeah - again I think this gets a little tricky with the expected flow for two different error messages. I tested on prod using the following steps and I think this behavior is fine. But @dangrous since you introduced this logic you would know best I think 😅 what do you think about this behavior? Note: Internal domains have a higher threshold limit so it's probably good not to do this by a specific number of resendValidateCode requests but rather repeat the action until the user sees the error. Steps:
Video: (public domain) Screen.Recording.2023-03-03.at.11.57.12.movVideo: (internal domain) Screen.Recording.2023-03-03.at.11.57.57.mov |
Hm @NikkiWines so the steps you laid out make sense - and get the right results - except from your videos (and my testing) we're not getting the "Magic code sent!" message when you click "Didn't receive a magic code?" ... but that DOES work totally fine on dev. Any idea why that might be the case? Both sides (https://github.com/Expensify/Web-Expensify/pull/36370 and #14854) are on prod now so I don't know why it would be different. I confirmed it is sending the code, too... |
Yep, that PR is on prod now and the copy does get updated now. Video of Magic code sent copy updateScreen.Recording.2023-03-06.at.10.40.14.mov@kbecciv for testing this in the future can we use the following steps?
Also as a side note, if you need the test logins unthrottled, please as an internal Expensify employee as we have an internal tool to unthrottle test accounts 🙌 |
Either way, looks like this is fine and not a bug but just a factor of testing steps being unclear - closing. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Issue found when executing PR #14854
Action Performed:
Expected Result:
The correct error message shows on the email page - You need a magic code to sign in, but you've reached the maximum number of magic codes that can be sent. Please wait a few minutes and try again.
Actual Result:
Error message doesn't appear in email page after tap Go back button
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.2.76.7
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Screen_Recording_20230224_151718_New.Expensify.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: