-
Couldn't load subscription status.
- Fork 1.8k
test: add integration tests for paytm modals #3469
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
Conversation
bd0db75 to
c9a7a09
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Your new test is failing, please fix.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM now 👍
|
@kushthedude @mrsaicharan1 Please review |
|
This needs to be updated once #3476 is updated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess it can be merged now since the dependent PR is merged.
|
@Anupam-dagar I will update this PR today itself and ping you to review. |
badfdb3
|
@shreyanshdwivedi @mrsaicharan1 @kushthedude @Anupam-dagar Please review |
tests/integration/components/modals/paytm-payment-options-test.js
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Travis was failing. I've restarted the build
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The tests look fine 👍
| 'isOpen' : false, | ||
| 'currency' : 'USD', | ||
| 'amount' : 100, | ||
| 'verifyOtp' : () => {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks fine but what does this test exactly?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the current state, it checks rendering of the modal without actually hitting the API (gotta save the API calls xD )
Fixes #3468
Short description of what this resolves:
Add integration tests for paytm modals\
Checklist
developmentbranch.