Trying to fix post test.

This commit is contained in:
Dessalines 2020-12-11 15:24:28 -05:00
parent 543be801ab
commit 9e5824df85

View File

@ -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();