You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ly...@apache.org on 2022/09/09 06:54:58 UTC
[superset] 01/01: 1 act error removed from FilterInput test
This is an automated email from the ASF dual-hosted git repository.
lyndsi pushed a commit to branch lyndsi/FilterInput-act-cleanup
in repository https://gitbox.apache.org/repos/asf/superset.git
commit 6750dd0472953567a2f9cdae91aeb1dcc7cd690a
Author: lyndsiWilliams <kc...@gmail.com>
AuthorDate: Fri Sep 9 01:54:40 2022 -0500
1 act error removed from FilterInput test
---
.../src/explore/components/DataTableControl/FilterInput.test.tsx | 1 +
1 file changed, 1 insertion(+)
diff --git a/superset-frontend/src/explore/components/DataTableControl/FilterInput.test.tsx b/superset-frontend/src/explore/components/DataTableControl/FilterInput.test.tsx
index fb77c21d7a..e059642855 100644
--- a/superset-frontend/src/explore/components/DataTableControl/FilterInput.test.tsx
+++ b/superset-frontend/src/explore/components/DataTableControl/FilterInput.test.tsx
@@ -29,6 +29,7 @@ jest.mock('lodash/debounce', () => ({
test('Render a FilterInput', async () => {
const onChangeHandler = jest.fn();
render(<FilterInput onChangeHandler={onChangeHandler} />);
+ expect(await screen.findByRole('textbox')).toBeInTheDocument();
expect(onChangeHandler).toBeCalledTimes(0);
userEvent.type(screen.getByRole('textbox'), 'test');