11import { visit } from "@ember/test-helpers" ;
2- import { skip } from "qunit" ;
2+ import { test } from "qunit" ;
33import { acceptance , query } from "discourse/tests/helpers/qunit-helpers" ;
44import { 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