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

[PAID] [HOLD for payment 2023-02-14] [$1000] Login - The line is green when incorrect password entered #14622

Closed
2 tasks done
kbecciv opened this issue Jan 27, 2023 · 25 comments
Closed
2 tasks done
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Internal Requires API changes or must be handled by Expensify staff

Comments

@kbecciv
Copy link

kbecciv commented Jan 27, 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 app
  2. Enter email
  3. Click continue
  4. Enter wrong password

Expected Result:

The line should be red or no focus when an invalid password is entered

Actual Result:

The line is green when incorrect password entered

Workaround:

Unknown

Platforms:

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

  • Android / native
  • iOS / native

Version Number: 1.2.60.0

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

Expensify/Expensify Issue URL:

Issue reported by: Applause - Internal Team

Slack conversation:

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~017759eff2106d5a57
  • Upwork Job ID: 1619028067084832768
  • Last Price Increase: 2023-02-02
@kbecciv kbecciv added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Jan 27, 2023
@melvin-bot melvin-bot bot locked and limited conversation to collaborators Jan 27, 2023
@luacmartins luacmartins self-assigned this Jan 27, 2023
@luacmartins luacmartins added the Internal Requires API changes or must be handled by Expensify staff label Jan 27, 2023
@melvin-bot melvin-bot bot unlocked this conversation Jan 27, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jan 27, 2023

Job added to Upwork: https://www.upwork.com/jobs/~017759eff2106d5a57

@melvin-bot
Copy link

melvin-bot bot commented Jan 27, 2023

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

@strepanier03
Copy link
Contributor

strepanier03 commented Jan 28, 2023

Bug0 Triage Checklist

Note: see this SO for more information.

  • The "bug" is actually a bug
  • The bug is not a duplicate report of an existing GH.
  • The bug is reproducible, following the reproduction steps.
  • The GH template is filled out as fully as possible
  • The GH was created by an Expensify employee or a QA tester
  • If the bug is an OldDot issue, you should decide whether it is widespread enough to justify fixing or it is better to wait for reunification. If it’s better to wait, close the GH & provide this justification
  • If there's a link to Slack, check the discussion to see if we decided not to fix it
  • Decide if the GH should be resolved by an External contributor or Internal engineer, add the appropriate label

@strepanier03
Copy link
Contributor

I couldn't recreate this and realized I didn't have NewDot app on my android on staging. I'm working on getting it downloaded and then I'll finish testing.

@melvin-bot melvin-bot bot added the Overdue label Jan 30, 2023
@luacmartins
Copy link
Contributor

I have a draft PR up for this and should work some more on it today!

@melvin-bot melvin-bot bot removed the Overdue label Jan 30, 2023
@strepanier03
Copy link
Contributor

strepanier03 commented Jan 31, 2023

@luacmartins I assume you were able to recreate this okay then right? I am struggling to get newdot staging app on my phone so I was going to ask in Slack for someone to test. It's not recreatable on prod for me.

If you can recreate and feel it's a legit bug I will take your testing as confirmation and move this forward.

@luacmartins
Copy link
Contributor

luacmartins commented Jan 31, 2023

@strepanier03 yes, I can reproduce this and I'm working on a fix for it. What issues are you having with installing the staging App?

@melvin-bot melvin-bot bot added the Reviewing Has a PR in review label Jan 31, 2023
@strepanier03
Copy link
Contributor

strepanier03 commented Jan 31, 2023

Thanks for your help in Echat @luacmartins - I'm all set on staging now and can recreate this as well.

@strepanier03 strepanier03 changed the title Login - The line is green when incorrect password entered [$1000] Login - The line is green when incorrect password entered Feb 2, 2023
@melvin-bot
Copy link

melvin-bot bot commented Feb 2, 2023

⚠️ This issue has had its price increased by 4x or more. Please review the issue and ensure the price is correct.

@melvin-bot
Copy link

melvin-bot bot commented Feb 2, 2023

Upwork job price has been updated to $1000

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 labels Feb 7, 2023
@melvin-bot melvin-bot bot changed the title [$1000] Login - The line is green when incorrect password entered [HOLD for payment 2023-02-14] [$1000] Login - The line is green when incorrect password entered Feb 7, 2023
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Feb 7, 2023
@MelvinBot
Copy link

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

@MelvinBot
Copy link

MelvinBot commented Feb 7, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.66-0 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-02-14. 🎊

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 - None, internal report
  • Contributor that fixed the issue - None, internal fix
  • Contributor+ that helped on the issue and/or PR - @aimane-chnaif
  • Note: No speed bonus applies here.

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 Feb 7, 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:

  • [@aimane-chnaif / @luacmartins] The PR that introduced the bug has been identified. Link to the PR: Unable to find a PR that caused this bug. Pretty sure it existed from the beginning.
  • [@aimane-chnaif / @luacmartins] 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:
  • [@aimane-chnaif / @luacmartins] 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:
  • [@aimane-chnaif] Propose regression test steps to ensure the same bug will not reach production again.
  • [@strepanier03] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@strepanier03 strepanier03 added Daily KSv2 and removed Weekly KSv2 labels Feb 7, 2023
@strepanier03
Copy link
Contributor

Updated the payment checklist and am working on the reg test step now.

@luacmartins
Copy link
Contributor

@aimane-chnaif would you mind working on the BZ checklist?

@aimane-chnaif
Copy link
Contributor

I don't think any PR caused this regression. This bug existed from the beginning when sign in pages are implemented.

@aimane-chnaif
Copy link
Contributor

Regression Test Proposal

  • I think this test should be applied to all inputs across the app.
  • So when invalid value entered on any input and form error message shows below it, border bottom line should also become red.
  • Do we agree 👍 or 👎

@strepanier03
Copy link
Contributor

Oooh, I didn't realize that the regression proposal changed to the C+ now and wasn't part of my steps in the checklist.

The way our regression tests are written we'd need to add tests for every input or update every test that has an input step. I'm not 100% sure what the best practice is there. I'll wait for @luacmartins to weigh in but I'm thinking our options are:

  • Look at TestRail for all scenarios dealing with inputs and add steps to check for the bottom border being red in each one,
  • Find the reg test in TestRail that looks at this input specifically and update it,
  • Or I guess potentially having a mini-project to check each input and ensure we're consistent across them all?

@luacmartins
Copy link
Contributor

IIRC the way we handle these is to add a description under the Expected results section in TestRail for tests handling inputs with validation.

@strepanier03
Copy link
Contributor

@luacmartins - Sounds good. How do I know which field inputs have validation on them so I can narrow down which tests we need to update?

@melvin-bot melvin-bot bot added the Overdue label Feb 13, 2023
@luacmartins
Copy link
Contributor

luacmartins commented Feb 13, 2023

I think that we should include the pages below, because they don't use our Form component but should behave similarly. Other inputs are handled by the Form component and I don't think we need to worry about those here.

  • Add secondary login page - Settings > Profile > Phone number
  • New password page - Settings > Security > Change password
  • Add PayPal.me page - Settings > Payments > Add payment method > Paypal.me
  • Email input in Login page
  • Password input in Login page
  • Validate input in Login page

@melvin-bot melvin-bot bot added Daily KSv2 and removed Overdue Daily KSv2 labels Feb 13, 2023
@strepanier03
Copy link
Contributor

Thank you @luacmartins - I'll work on the GH for this tomorrow.

I've also updated the checklist with Aimane's comment regarding the PR that intro'd the bug and will be ready to pay out Upwork tomorrow.

@strepanier03
Copy link
Contributor

@aimane-chnaif - I've sent an invite to the job directly to you, once you accept I'll send the offer and check back in this afternoon to see if I can pay it out.

@strepanier03
Copy link
Contributor

Just sent the offer @aimane-chnaif - Before I leave today I'll check again and if it's accepted I'll pay out, otherwise I'll check again tomorrow.

@strepanier03 strepanier03 changed the title [HOLD for payment 2023-02-14] [$1000] Login - The line is green when incorrect password entered [PAID] [HOLD for payment 2023-02-14] [$1000] Login - The line is green when incorrect password entered Feb 16, 2023
@strepanier03
Copy link
Contributor

GH for the reg test is here. I'm still discussing some things on the reg test buddy check but I made the GH so this GH could be closed.

Thanks again @aimane-chnaif!

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. Daily KSv2 Internal Requires API changes or must be handled by Expensify staff
Projects
None yet
Development

No branches or pull requests

5 participants