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:57 UTC

[superset] branch lyndsi/FilterInput-act-cleanup created (now 6750dd0472)

This is an automated email from the ASF dual-hosted git repository.

lyndsi pushed a change to branch lyndsi/FilterInput-act-cleanup
in repository https://gitbox.apache.org/repos/asf/superset.git


      at 6750dd0472 1 act error removed from FilterInput test

This branch includes the following new commits:

     new 6750dd0472 1 act error removed from FilterInput test

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[superset] 01/01: 1 act error removed from FilterInput test

Posted by ly...@apache.org.
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');