corbinrobb commented on code in PR #22093:
URL: https://github.com/apache/superset/pull/22093#discussion_r1019598984
##########
superset-frontend/src/SqlLab/components/SqlEditor/SqlEditor.test.jsx:
##########
@@ -263,8 +262,8 @@ describe('SqlEditor', () => {
it('render a Limit Dropdown', async () => {
const defaultQueryLimit = 101;
const updatedProps = { ...mockedProps, defaultQueryLimit };
- const wrapper = buildWrapper(updatedProps);
- await waitForComponentToPaint(wrapper);
- expect(wrapper.find(AntdDropdown)).toExist();
+ const { findByText } = setup(updatedProps, store);
+ fireEvent.click(await findByText('LIMIT:'));
Review Comment:
I think we should! I will switch that over and push up the changes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]