cal.com
cal.com copied to clipboard
Fix Integration Tests that require MSW server side mocking
/bounty 20
💎 $20 bounty created by cal
👉 No need to comment asking to work on it. Just open a PR and claim the bounty with /claim #4667 inside the PR
📝 Before proceeding, please make sure you can receive payouts in your country
💵 Payment arrives in your account 2-5 days after the bounty is rewarded
💯 You keep 100% of the bounty award
🙏 Thank you for contributing to calcom/cal.com!
I would like to work on this issue, I have some idea about it. /attempt #4667
@Rajashekarksreddy Sure please go ahead
/attempt #4667
Note: The user @Rajashekarksreddy is already attempting to complete issue #4667 and claim the bounty. If you attempt to complete the same issue, there is a chance that @Rajashekarksreddy will complete the issue first, and be awarded the bounty. We recommend discussing with @Rajashekarksreddy and potentially collaborating on the same solution versus creating an alternate solution.
@hariombalhara how to run these test to check what is the result ?
What do we need to do on this one?
Do we need to set it up MSW, remove it, or change it to a new tool?
We need to be able to mock test third party API endpoints. So, if MSW works, then that's perfect, but there was some issue with MSW due to which we had to disable it. I think @joeauyeung would be working on this, so I would suggest not to focus on this now.
Is this issue solved?
Not a priority for me a the moment. So, removing it from milestone.
I would love to fix this issue! Will give it a shot.
/attempt #4667
We need to be able to mock test third party API endpoints. So, if MSW works, then that's perfect, but there was some issue with MSW due to which we had to disable it. I think @joeauyeung would be working on this, so I would suggest not to focus on this now. @hariombalhara What is the issue with msw? Please describe. Thank you.
Options
I think we are instead focussing on real testing with third parties instead of mocking the responses.
We have some tests as well now for that flow. So, closing this one.