test: Fix act error in PropertyModal test (#21400)

This commit is contained in:
Lyndsi Kay Williams 2022-09-09 06:30:01 -05:00 committed by GitHub
parent 714196e745
commit 9318e269b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -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('');