File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ describe('replayDetailsUserBadge', () => {
8080 ) ;
8181
8282 render ( < ReplayDetailsUserBadge readerResult = { result . current } /> ) ;
83- expect ( screen . queryByTestId ( 'refresh-button' ) ) . not . toBeVisible ( ) ;
83+ expect ( screen . queryByTestId ( 'refresh-button' ) ) . not . toBeInTheDocument ( ) ;
8484 } ) ;
8585
8686 it ( 'should show refresh button when replay record is outdated' , async ( ) => {
@@ -140,7 +140,7 @@ describe('replayDetailsUserBadge', () => {
140140
141141 render ( < ReplayDetailsUserBadge readerResult = { result . current } /> , { organization} ) ;
142142
143- expect ( screen . queryByTestId ( 'refresh-button' ) ) . not . toBeVisible ( ) ;
143+ expect ( screen . queryByTestId ( 'refresh-button' ) ) . not . toBeInTheDocument ( ) ;
144144
145145 const updatedReplayRecord = replayRecordFixture ( {
146146 started_at : STARTED_AT ,
@@ -386,7 +386,7 @@ describe('replayDetailsUserBadge', () => {
386386 )
387387 ) ;
388388
389- expect ( screen . queryByTestId ( 'refresh-button' ) ) . not . toBeVisible ( ) ;
389+ expect ( screen . queryByTestId ( 'refresh-button' ) ) . not . toBeInTheDocument ( ) ;
390390
391391 const updatedReplayRecord = replayRecordFixture ( {
392392 started_at : STARTED_AT ,
You can’t perform that action at this time.
0 commit comments