Expensify / App

Welcome to New Expensify: a complete re-imagination of financial collaboration, centered around chat. Help us build the next generation of Expensify by sharing feedback and contributing to the code.
https://new.expensify.com
MIT License
3.47k stars 2.82k forks source link

[NetSuite] Add authentication error #48918

Closed mananjadhav closed 2 weeks ago

mananjadhav commented 1 month ago

Details

Fixed Issues

$ https://github.com/Expensify/App/issues/47493 PROPOSAL:

Tests

Prerequisite An accounting enabled workspace with NetSuite beta enabled.

  1. Go to the workspace > Accounting > NetSuite.
  2. Click on the Setup.
  3. One the RHP click next until you reach the credentials form.
  4. Enter any random credentials and click submit.
  5. You'll see the connection is in progress.
  6. After a while it should show error Can’t connect to NetSuite due to an authentication error. along with the learn more link.
  7. Verify the error in Spanish by updating the language.
  8. As a regression test, ensure valid credentials connect you to NetSuite.

Offline tests

NA

QA Steps

Same as QA steps.

PR Author Checklist

Screenshots/Videos

Android: Native android-netsuite-auth-error
Android: mWeb Chrome mweb-chrome-netsuite-auth-error
iOS: Native ios- netsuite-auth-error
iOS: mWeb Safari mweb-safari-netsuite-auth-error
MacOS: Chrome / Safari https://github.com/user-attachments/assets/2e856426-54a4-480e-aa3e-5691f1166d15
MacOS: Desktop https://github.com/user-attachments/assets/38f4ef2f-fac7-49c4-818a-477b1ca0d8a6
melvin-bot[bot] commented 1 month ago

@shubham1206agra Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button]

mananjadhav commented 3 weeks ago

I am a bit unwell, I'll fix the conflicts and work on the comments by later tonight.

mananjadhav commented 3 weeks ago

@shubham1206agra I removed one of the properties. Though I felt it was unrelated to this PR. @yuwenmemon @shubham1206agra I've asked two questions here - 1 and 2. Would be great if you folks can respond?

yuwenmemon commented 3 weeks ago

@shubham1206agra bump for a review please

shubham1206agra commented 2 weeks ago

Reviewer Checklist

Screenshots/Videos

Android: Native
Android: mWeb Chrome Screenshot 2024-09-23 at 5 59 10 PM
iOS: Native Screenshot 2024-09-23 at 6 07 05 PM
iOS: mWeb Safari Screenshot 2024-09-23 at 5 55 38 PM
MacOS: Chrome / Safari https://github.com/user-attachments/assets/8387093d-97b6-4677-8be5-60f23f9fc140
MacOS: Desktop Screenshot 2024-09-23 at 6 01 57 PM
OSBotify commented 2 weeks ago

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

OSBotify commented 2 weeks ago

🚀 Deployed to staging by https://github.com/yuwenmemon in version: 9.0.40-0 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅
github-actions[bot] commented 2 weeks ago

🚀 Deployed to production by https://github.com/AndrewGable in version: 9.0.40-6 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅