11import { visit } from "@ember/test-helpers" ;
2- import { skip } from "qunit" ;
2+ import { test } from "qunit" ;
33import { acceptance } from "discourse/tests/helpers/qunit-helpers" ;
44import { i18n } from "discourse-i18n" ;
55
@@ -14,28 +14,26 @@ acceptance(
1414 ) ;
1515 } ) ;
1616
17- /* disabled temporarily for core updates https://github.com/discourse/discourse/pull/33455 */
18-
19- skip ( "When looking at own activity" , async function ( assert ) {
17+ test ( "When looking at own activity" , async function ( assert ) {
2018 await visit ( `/u/eviltrout/activity/solved` ) ;
2119
2220 assert
23- . dom ( "div .empty-state span .empty-state-title " )
21+ . dom ( ".empty-state .empty-state__title " )
2422 . hasText ( i18n ( "solved.no_solved_topics_title" ) ) ;
2523 assert
26- . dom ( "div .empty-state div .empty-state-body " )
24+ . dom ( ".empty-state .empty-state__body " )
2725 . hasText ( i18n ( "solved.no_solved_topics_body" ) ) ;
2826 } ) ;
2927
30- skip ( "When looking at another user's activity" , async function ( assert ) {
28+ test ( "When looking at another user's activity" , async function ( assert ) {
3129 await visit ( `/u/charlie/activity/solved` ) ;
3230
33- assert . dom ( "div .empty-state span .empty-state-title " ) . hasText (
31+ assert . dom ( ".empty-state .empty-state__title " ) . hasText (
3432 i18n ( "solved.no_solved_topics_title_others" , {
3533 username : "charlie" ,
3634 } )
3735 ) ;
38- assert . dom ( "div .empty-state div .empty-state-body " ) . hasNoText ( ) ;
36+ assert . dom ( ".empty-state .empty-state__body " ) . doesNotExist ( ) ;
3937 } ) ;
4038 }
4139) ;
0 commit comments