mirror of
https://github.com/status-im/safe-react.git
synced 2025-02-19 21:18:09 +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]
|
const withdrawnButton = buttons[0]
|
||||||
expect(withdrawnButton.props.children).toEqual(WITHDRAWN_BUTTON_TEXT)
|
expect(withdrawnButton.props.children).toEqual(WITHDRAWN_BUTTON_TEXT)
|
||||||
TestUtils.Simulate.click(TestUtils.scryRenderedDOMComponentsWithTag(withdrawnButton, 'button')[0])
|
TestUtils.Simulate.click(TestUtils.scryRenderedDOMComponentsWithTag(withdrawnButton, 'button')[0])
|
||||||
|
await sleep(1200)
|
||||||
const Withdrawn = TestUtils.findRenderedComponentWithType(SafeDom, WithdrawnComponent)
|
const Withdrawn = TestUtils.findRenderedComponentWithType(SafeDom, WithdrawnComponent)
|
||||||
|
|
||||||
// $FlowFixMe
|
// $FlowFixMe
|
||||||
|
Loading…
x
Reference in New Issue
Block a user