Skip to content

Commit ca162d0

Browse files
committed
fix tests
1 parent 4955fac commit ca162d0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

static/app/views/replays/detail/header/replayDetailsUserBadge.spec.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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,

0 commit comments

Comments
 (0)