Skip to content
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

[Add Regression Test] DEV: @expensify.sms shown on sign up page when entering phone number #15291

Closed
6 tasks
kavimuru opened this issue Feb 19, 2023 · 24 comments
Closed
6 tasks
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Improvement Item broken or needs improvement. Internal Requires API changes or must be handled by Expensify staff Weekly KSv2

Comments

@kavimuru
Copy link

kavimuru commented Feb 19, 2023

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Action Performed:

  1. Open NewDot
  2. Enter any phone number which does not have account

Expected Result:

Page should not show @expensify.sms

Actual Result:

Page show with expensify.sms

Workaround:

unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome / Safari
  • MacOS / Desktop

Version Number: dev on main
Reproducible in staging?: Only occurs in dev on main
Reproducible in production?: Only occurs in dev on main
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:
image

Expensify/Expensify Issue URL:
Issue reported by: @puneetlath
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1676666826794699

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~015abf53198e3aa940
  • Upwork Job ID: 1628354733573238784
  • Last Price Increase: 2023-02-22
@kavimuru kavimuru added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Feb 19, 2023
@melvin-bot melvin-bot bot locked and limited conversation to collaborators Feb 19, 2023
@MelvinBot
Copy link

Triggered auto assignment to @twisterdotcom (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@MelvinBot
Copy link

MelvinBot commented Feb 19, 2023

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@kavimuru kavimuru added the Needs Reproduction Reproducible steps needed label Feb 19, 2023
@kavimuru kavimuru changed the title DEV: we shouldn’t show @expensify.sms on this page when someone signs up with a phone number. We should just show the phone number DEV: @expensify.sms shown on sign up page when entering phone number Feb 19, 2023
@Julesssss Julesssss self-assigned this Feb 22, 2023
@Julesssss
Copy link
Contributor

Taking this. There are a few usages of the isSMSLogin ? toLocalPhone | Str.removeSMSDomain function that can be refactored into a helper funciton.

@Julesssss
Copy link
Contributor

My guess is that this wasn't reproducible on staging because an old phone number was used. We show a different message depending on whether you are a new or returning user (and this also requires you are on the passwordless beta)

@twisterdotcom
Copy link
Contributor

Should I label this internal Jules?

@Julesssss
Copy link
Contributor

Yeah, I'll fix it today 👍

@Julesssss Julesssss added Improvement Item broken or needs improvement. and removed Needs Reproduction Reproducible steps needed labels Feb 22, 2023
@twisterdotcom twisterdotcom added the Internal Requires API changes or must be handled by Expensify staff label Feb 22, 2023
@melvin-bot melvin-bot bot unlocked this conversation Feb 22, 2023
@MelvinBot
Copy link

Job added to Upwork: https://www.upwork.com/jobs/~015abf53198e3aa940

@MelvinBot
Copy link

Triggered auto assignment to Contributor Plus for review of internal employee PR - @mollfpr (Internal)

@Julesssss
Copy link
Contributor

PR in review: #15351

@MelvinBot
Copy link

@twisterdotcom, @Julesssss, @mollfpr Whoops! This issue is 2 days overdue. Let's get this updated quick!

@twisterdotcom
Copy link
Contributor

How is it overdue? Get out of here! Just waiting for it to deploy right?

@Julesssss
Copy link
Contributor

Yeah 👍

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Daily KSv2 labels Mar 2, 2023
@melvin-bot melvin-bot bot added the Awaiting Payment Auto-added when associated PR is deployed to production label Mar 2, 2023
@melvin-bot melvin-bot bot changed the title DEV: @expensify.sms shown on sign up page when entering phone number [HOLD for payment 2023-03-09] DEV: @expensify.sms shown on sign up page when entering phone number Mar 2, 2023
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Mar 2, 2023
@MelvinBot
Copy link

Reviewing label has been removed, please complete the "BugZero Checklist".

@MelvinBot
Copy link

MelvinBot commented Mar 2, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.77-4 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

If no regressions arise, payment will be issued on 2023-03-09. 🎊

After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

  • Merged PR within 3 business days of assignment - 50% bonus
  • Merged PR more than 9 business days after assignment - 50% penalty

@MelvinBot
Copy link

MelvinBot commented Mar 2, 2023

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

  • [@mollfpr / @Julesssss] The PR that introduced the bug has been identified. Link to the PR:
  • [@mollfpr / @Julesssss] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
  • [@mollfpr / @Julesssss] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
  • [@mollfpr] Propose regression test steps to ensure the same bug will not reach production again.
  • [@twisterdotcom] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@Julesssss
Copy link
Contributor

Couldn't locate the regression, but here's a test we can create:

Confirm SMS login is aligned and has no suffix

  • Sign out
  • Sign in using an SMS number (for example, +17474744747)
  • The welcome message should not include the @expensify.sms suffix
  • Both the welcome message and the 'Not XYZ, go back' messages should show the same login

@melvin-bot melvin-bot bot added Daily KSv2 Overdue and removed Weekly KSv2 labels Mar 9, 2023
@Julesssss
Copy link
Contributor

@twisterdotcom please feel free to make the testcase when you have a chance.

@melvin-bot melvin-bot bot removed the Overdue label Mar 13, 2023
@twisterdotcom
Copy link
Contributor

This is paid. I'm going to make it weekly.

@twisterdotcom twisterdotcom added Weekly KSv2 and removed Daily KSv2 labels Mar 13, 2023
@mollfpr
Copy link
Contributor

mollfpr commented Mar 21, 2023

@twisterdotcom May I confirm if I already accept the offer? I forgot if I already get paid or not 😅

@mollfpr
Copy link
Contributor

mollfpr commented Mar 27, 2023

Bump @twisterdotcom to help clarify the above comment. Thank you!

@twisterdotcom
Copy link
Contributor

Hmm, I don't think you did no. The Upwork job I closed: https://www.upwork.com/jobs/~015abf53198e3aa940

I am just going to send over an offer.

@twisterdotcom
Copy link
Contributor

@twisterdotcom
Copy link
Contributor

The [HOLD is confusing that this is on me in my K2. Removing it.

@twisterdotcom twisterdotcom changed the title [HOLD for payment 2023-03-09] DEV: @expensify.sms shown on sign up page when entering phone number [Add Regression Test] DEV: @expensify.sms shown on sign up page when entering phone number Mar 27, 2023
@mollfpr
Copy link
Contributor

mollfpr commented Mar 27, 2023

@twisterdotcom Accepted thank you!

@melvin-bot melvin-bot bot added the Overdue label Apr 5, 2023
@melvin-bot melvin-bot bot removed the Overdue label Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Improvement Item broken or needs improvement. Internal Requires API changes or must be handled by Expensify staff Weekly KSv2
Projects
None yet
Development

No branches or pull requests

5 participants