WA-232 Increasing time in tests
This commit is contained in:
parent
1e57ed5d53
commit
3d0bcf2df5
|
@ -70,7 +70,7 @@ describe('DOM > Feature > Add new ERC 20 Tokens', () => {
|
||||||
let form = TestUtils.findRenderedDOMComponentWithTag(AddTokenComponent, 'form')
|
let form = TestUtils.findRenderedDOMComponentWithTag(AddTokenComponent, 'form')
|
||||||
// submit it
|
// submit it
|
||||||
TestUtils.Simulate.submit(form)
|
TestUtils.Simulate.submit(form)
|
||||||
await sleep(2500)
|
await sleep(5000)
|
||||||
|
|
||||||
inputs = TestUtils.scryRenderedDOMComponentsWithTag(AddTokenComponent, 'input')
|
inputs = TestUtils.scryRenderedDOMComponentsWithTag(AddTokenComponent, 'input')
|
||||||
expect(inputs.length).toBe(4)
|
expect(inputs.length).toBe(4)
|
||||||
|
@ -82,7 +82,7 @@ describe('DOM > Feature > Add new ERC 20 Tokens', () => {
|
||||||
TestUtils.Simulate.submit(form)
|
TestUtils.Simulate.submit(form)
|
||||||
TestUtils.Simulate.submit(form)
|
TestUtils.Simulate.submit(form)
|
||||||
|
|
||||||
await sleep(1200)
|
await sleep(3200)
|
||||||
const match: Match = buildMathPropsFrom(safeAddress)
|
const match: Match = buildMathPropsFrom(safeAddress)
|
||||||
const tokenList = tokenListSelector(store.getState(), { match })
|
const tokenList = tokenListSelector(store.getState(), { match })
|
||||||
expect(tokenList.count()).toBe(3)
|
expect(tokenList.count()).toBe(3)
|
||||||
|
|
Loading…
Reference in New Issue