add a sleep to the test
This commit is contained in:
parent
f6d1e5079a
commit
111d6201f3
|
@ -24,6 +24,7 @@ test('fills in a status posted while away from timeline', async t => {
|
|||
.click(localTimelineNavButton)
|
||||
.expect(getNthStatus(0).innerText).contains('posted this while you were away!', {timeout})
|
||||
.expect(getNthStatus(1).innerText).contains('heyo', {timeout})
|
||||
await sleep(2000)
|
||||
await postAs('admin', 'posted this while you were watching')
|
||||
await t.expect(getNthStatus(0).innerText).contains('posted this while you were watching', {timeout})
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue