WA-238 Increasing time for rendering the Withdrawn component

This commit is contained in:
apanizo 2018-06-04 13:40:12 +02:00
parent 2018938f9b
commit 504e078101
1 changed files with 1 additions and 1 deletions

View File

@ -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