From 9318e269b13b48691e375589c6e885f6fd2c3885 Mon Sep 17 00:00:00 2001 From: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> Date: Fri, 9 Sep 2022 06:30:01 -0500 Subject: [PATCH] test: Fix act error in PropertyModal test (#21400) --- .../components/PropertiesModal/PropertiesModal.test.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/superset-frontend/src/explore/components/PropertiesModal/PropertiesModal.test.tsx b/superset-frontend/src/explore/components/PropertiesModal/PropertiesModal.test.tsx index 4ea1327603..9b8d4ec2ed 100644 --- a/superset-frontend/src/explore/components/PropertiesModal/PropertiesModal.test.tsx +++ b/superset-frontend/src/explore/components/PropertiesModal/PropertiesModal.test.tsx @@ -269,6 +269,9 @@ test('Empty "Certified by" should clear "Certification details"', async () => { }; renderModal(noCertifiedByProps); + expect( + await screen.findByRole('textbox', { name: 'Certification details' }), + ).toBeInTheDocument(); expect( screen.getByRole('textbox', { name: 'Certification details' }), ).toHaveValue('');