@@ -101,7 +101,7 @@ describe('App (mock data, jsdom)', () => {
|
||||
if (!m) throw new Error('modal not open')
|
||||
return m as HTMLElement
|
||||
})
|
||||
const input = within(modal).getByPlaceholderText(/Search content/i)
|
||||
const input = within(modal).getByPlaceholderText(/Search this file/i)
|
||||
fireEvent.change(input, { target: { value: 'balance' } })
|
||||
await waitFor(() => expect(modal.querySelectorAll('.sr-file').length).toBeGreaterThan(0))
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user