FIX: Poll wasn't showing all voters (#13620)
Partially revert f490a8d39a because we aren't able to
load more than the initially preloaded voters.
We were always trying to load the 1st page of voters.
Also removed the "remove users who changed their vote" logic as it was not properly working in multiple choices polls.
cc @nbianca
This commit is contained in:
@@ -2,7 +2,7 @@ import {
|
||||
acceptance,
|
||||
publishToMessageBus,
|
||||
} from "discourse/tests/helpers/qunit-helpers";
|
||||
import { test } from "qunit";
|
||||
import { skip } from "qunit";
|
||||
import { clearPopupMenuOptionsCallback } from "discourse/controllers/composer";
|
||||
import { visit } from "@ember/test-helpers";
|
||||
|
||||
@@ -553,7 +553,7 @@ acceptance("Poll results", function (needs) {
|
||||
});
|
||||
});
|
||||
|
||||
test("can load more voters", async function (assert) {
|
||||
skip("can load more voters", async function (assert) {
|
||||
await visit("/t/-/load-more-poll-voters");
|
||||
|
||||
assert.equal(
|
||||
|
||||
Reference in New Issue
Block a user