Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit 0c2b5bf

Browse files
authored
DEV: re-enable empty state test (#245)
1 parent 4a85501 commit 0c2b5bf

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

test/javascripts/acceptance/user-activity-votes-test.js

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { visit } from "@ember/test-helpers";
2-
import { skip } from "qunit";
2+
import { test } from "qunit";
33
import { acceptance, query } from "discourse/tests/helpers/qunit-helpers";
44
import { i18n } from "discourse-i18n";
55

@@ -23,20 +23,18 @@ acceptance(
2323
});
2424
});
2525

26-
/* disabled temporarily for core updates https://github.com/discourse/discourse/pull/33455 */
27-
28-
skip("When looking at the own activity page", async function (assert) {
26+
test("When looking at the own activity page", async function (assert) {
2927
await visit(`/u/${currentUser}/activity/votes`);
3028
assert.equal(
31-
query("div.empty-state span.empty-state-title").innerText,
29+
query(".empty-state .empty-state__title").innerText,
3230
i18n("topic_voting.no_votes_title_self")
3331
);
3432
});
3533

36-
skip("When looking at another user's activity page", async function (assert) {
34+
test("When looking at another user's activity page", async function (assert) {
3735
await visit(`/u/${anotherUser}/activity/votes`);
3836
assert.equal(
39-
query("div.empty-state span.empty-state-title").innerText,
37+
query(".empty-state .empty-state__title").innerText,
4038
i18n("topic_voting.no_votes_title_others", { username: anotherUser })
4139
);
4240
});

0 commit comments

Comments
 (0)