DEV: Always await for publishToMessageBus (#17626)

(+ typos)
This commit is contained in:
Jarek Radosz
2022-07-24 19:55:58 +02:00
committed by GitHub
parent ff16ba1fc0
commit 6cae26c499
17 changed files with 174 additions and 243 deletions
@@ -571,7 +571,7 @@ acceptance("Poll results", function (needs) {
0
);
publishToMessageBus("/polls/134", {
await publishToMessageBus("/polls/134", {
post_id: "156",
polls: [
{
@@ -619,7 +619,6 @@ acceptance("Poll results", function (needs) {
},
],
});
await visit("/t/-/load-more-poll-voters");
assert.strictEqual(
count(".poll-container .results li:nth-child(1) .poll-voters li"),