mirror of
https://github.com/status-im/safe-react.git
synced 2025-01-29 02:45:02 +00:00
WA-238 Increasing time for rendering the Withdrawn component
This commit is contained in:
parent
2018938f9b
commit
504e078101
@ -48,7 +48,7 @@ describe('React DOM TESTS > Withdrawn funds from safe', () => {
|
||||
const withdrawnButton = buttons[0]
|
||||
expect(withdrawnButton.props.children).toEqual(WITHDRAWN_BUTTON_TEXT)
|
||||
TestUtils.Simulate.click(TestUtils.scryRenderedDOMComponentsWithTag(withdrawnButton, 'button')[0])
|
||||
|
||||
await sleep(1200)
|
||||
const Withdrawn = TestUtils.findRenderedComponentWithType(SafeDom, WithdrawnComponent)
|
||||
|
||||
// $FlowFixMe
|
||||
|
Loading…
x
Reference in New Issue
Block a user