@@ -151,7 +151,7 @@ module('Acceptance | clients | counts', function (hooks) {
151151 await click ( CLIENT_COUNT . dateRange . edit ) ;
152152 await click ( CLIENT_COUNT . dateRange . dropdownOption ( 1 ) ) ;
153153 assert
154- . dom ( CLIENT_COUNT . activityTimestamp )
154+ . dom ( GENERAL . hdsPageHeaderSubtitle )
155155 . hasTextContaining ( `Dashboard last updated: ${ format ( STATIC_NOW , 'MMM d yyyy' ) } ` ) ;
156156 // Save URL with query params before clicking refresh
157157 const url = currentURL ( ) ;
@@ -163,7 +163,7 @@ module('Acceptance | clients | counts', function (hooks) {
163163 assert . true ( this . refreshSpy . calledOnce , 'router.refresh() is called once' ) ;
164164 assert . strictEqual ( currentURL ( ) , url , 'url is the same after clicking refresh' ) ;
165165 assert
166- . dom ( CLIENT_COUNT . activityTimestamp )
166+ . dom ( GENERAL . hdsPageHeaderSubtitle )
167167 . hasTextContaining ( `Dashboard last updated: ${ format ( fakeUpdatedNow , 'MMM d yyyy' ) } ` ) ;
168168 } ) ;
169169
@@ -178,7 +178,7 @@ module('Acceptance | clients | counts', function (hooks) {
178178 await click ( CLIENT_COUNT . dateRange . edit ) ;
179179 await click ( CLIENT_COUNT . dateRange . dropdownOption ( 1 ) ) ;
180180 assert
181- . dom ( CLIENT_COUNT . activityTimestamp )
181+ . dom ( GENERAL . hdsPageHeaderSubtitle )
182182 . hasTextContaining ( `Dashboard last updated: ${ format ( STATIC_NOW , 'MMM d yyyy' ) } ` ) ;
183183 // Save URL with query params before clicking refresh
184184 const url = currentURL ( ) ;
@@ -190,7 +190,7 @@ module('Acceptance | clients | counts', function (hooks) {
190190 assert . true ( this . refreshSpy . calledOnce , 'router.refresh() is called once' ) ;
191191 assert . strictEqual ( currentURL ( ) , url , 'url is the same after clicking refresh' ) ;
192192 assert
193- . dom ( CLIENT_COUNT . activityTimestamp )
193+ . dom ( GENERAL . hdsPageHeaderSubtitle )
194194 . hasTextContaining ( `Dashboard last updated: ${ format ( fakeUpdatedNow , 'MMM d yyyy' ) } ` ) ;
195195 } ) ;
196196 } ) ;
0 commit comments