From 111d6201f30626b9d554438beea63179849ca81f Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Mon, 19 Mar 2018 20:10:20 -0700 Subject: [PATCH] add a sleep to the test --- tests/spec/107-streaming-gap.js | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/spec/107-streaming-gap.js b/tests/spec/107-streaming-gap.js index ac2a2d83..e1f8426b 100644 --- a/tests/spec/107-streaming-gap.js +++ b/tests/spec/107-streaming-gap.js @@ -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}) })