From 9e5824df85a165920d938b8917421e1fe1ee219a Mon Sep 17 00:00:00 2001 From: Dessalines Date: Fri, 11 Dec 2020 15:24:28 -0500 Subject: [PATCH] Trying to fix post test. --- api_tests/src/post.spec.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api_tests/src/post.spec.ts b/api_tests/src/post.spec.ts index cf60987c6..6c7f7f4b9 100644 --- a/api_tests/src/post.spec.ts +++ b/api_tests/src/post.spec.ts @@ -179,6 +179,7 @@ test('Sticky a post', async () => { // Make sure that gamma cannot sticky the post on beta let searchGamma = await searchPost(gamma, postRes.post); let gammaPost = searchGamma.posts[0]; + await delay(); let gammaTrySticky = await stickyPost(gamma, true, gammaPost); await delay(); let searchBeta3 = await searchPost(beta, postRes.post); @@ -287,6 +288,7 @@ test('Remove a post from admin and community on different instance', async () => test('Remove a post from admin and community on same instance', async () => { let search = await searchForBetaCommunity(alpha); + await longDelay(); let postRes = await createPost(alpha, search.communities[0].id); await longDelay();