public void waitForPageReloadWith(final String categoryName) {
waitForPageReload();
changeImplicitWait(0, TimeUnit.SECONDS);
try {
new FluentWait<>(getPost())
<BUG>.withTimeout(DiscussionsConstants.TIMEOUT, TimeUnit.SECONDS)
.until(new Predicate<Post>() {
@Override
public boolean apply(@Nullable Post post) {
return post.getPosts().stream()
.allMatch(postEntity -> postEntity.findCategory().endsWith(categoryName));

}
});</BUG>
} finally {

public void waitForPageReloadWith(final String categoryName) {
waitForPageReload();
changeImplicitWait(0, TimeUnit.SECONDS);
try {
new FluentWait<>(getPost())
.withTimeout(DiscussionsConstants.TIMEOUT, TimeUnit.SECONDS)
.until((Predicate<Post>) post -> post.getPosts().stream()
.allMatch(postEntity -> postEntity.findCategory().endsWith(categoryName)));
} finally {
