diff --git a/web/src/layout/package/SignKeyInfo.test.tsx b/web/src/layout/package/SignKeyInfo.test.tsx index 49a52c633..ee8ef5aef 100644 --- a/web/src/layout/package/SignKeyInfo.test.tsx +++ b/web/src/layout/package/SignKeyInfo.test.tsx @@ -67,7 +67,7 @@ describe('SignKeyInfo', () => { expect(screen.getByText('Fingerprint')).toBeInTheDocument(); expect(await screen.findByText('0011223344')).toBeInTheDocument(); expect(screen.getByText('URL')).toBeInTheDocument(); - expect(screen.getByText('https://key.url')).toBeInTheDocument(); + expect(await screen.findByText('https://key.url')).toBeInTheDocument(); expect(screen.getByText('Close')).toBeInTheDocument(); expect(screen.getAllByRole('button', { name: 'Copy command to clipboard' })).toHaveLength(2); });