-
Notifications
You must be signed in to change notification settings - Fork 307
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
fix(content-sidebar): remove dependency on isSignRemoveInterstitialEnabled #3734
base: master
Are you sure you want to change the base?
fix(content-sidebar): remove dependency on isSignRemoveInterstitialEnabled #3734
Conversation
const { getByTestId } = renderComponent({}, features); | ||
fireEvent.click(getByTestId('sign-button')); | ||
fireEvent.click(getByTestId('sign-request-signature-button')); | ||
const wrapper = renderComponent({}, features); |
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.
nit: is it possible to use screen instead of calling methods on the return value of the render function?
https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-screen
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.
agree, let's update it 👍
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.
One question and one small followup, if possible (can be another PR)
aea92d0
to
1020007
Compare
1020007
to
bdba5eb
Compare
bdba5eb
to
3b5d387
Compare
3b5d387
to
a982541
Compare
a982541
to
f4855fe
Compare
f4855fe
to
8fd8f2e
Compare
The isSignRemoveInterstitialEnabled feature flag was recently cleaned up on the application side, causing a production defect due to a dependency in this components. This commit removes the dependency in BUIE components to align with the application.