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.01k stars 2.52k forks source link

feat create automated tests for Workspace Taxes page #41059

Closed tienifr closed 2 weeks ago

tienifr commented 1 month ago

Details

Add automated tests for the commands below:

melvin-bot[bot] commented 1 month ago

@dukenv0307 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]

dukenv0307 commented 3 weeks ago

@tienifr Pls complete the checklist above. Then write down the reason that we don't need to create tests for OpenPolicyTaxesPage (if you think it's not necessary).

Pls note that we don't need to record the videos/screenshots

dukenv0307 commented 3 weeks ago

Overall, the tests look good. Can you add Onyx.set(`${ONYXKEYS.COLLECTION.POLICY}${fakePolicy.id}`, fakePolicy) to beforeAll?

tienifr commented 3 weeks ago

@dukenv0307 I resolved all your comments

dukenv0307 commented 2 weeks ago

@tienifr can you resolve the comment above?

tienifr commented 2 weeks ago

@luacmartins Should we try to fix this comment in this PR? I see that you approved this PR below that comment

luacmartins commented 2 weeks ago

I think it's fine as is since the types don't really match yet and that's beyond the scope of this issue.

dukenv0307 commented 2 weeks ago

Reviewer Checklist

Screenshots/Videos

Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop
kavimuru commented 2 weeks ago

@luacmartins Could you explain the QA steps a bit more?

OSBotify commented 2 weeks ago

πŸš€ Deployed to staging by https://github.com/luacmartins in version: 1.4.72-0 πŸš€

platform result
πŸ€– android πŸ€– success βœ…
πŸ–₯ desktop πŸ–₯ success βœ…
🍎 iOS 🍎 success βœ…
πŸ•Έ web πŸ•Έ success βœ…
luacmartins commented 2 weeks ago

@kavimuru this should be No QA. This is just adding automated tests, so no need to manually test anything here.

OSBotify commented 1 week ago

πŸš€ Deployed to production by https://github.com/Beamanator in version: 1.4.72-1 πŸš€

platform result
πŸ€– android πŸ€– success βœ…
πŸ–₯ desktop πŸ–₯ success βœ…
🍎 iOS 🍎 success βœ…
πŸ•Έ web πŸ•Έ success βœ