Skip to content

Commit

Permalink
undo decommenting test lines
Browse files Browse the repository at this point in the history
  • Loading branch information
doralchan committed Dec 17, 2024
1 parent 79aeac1 commit c0d5287
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions static/app/views/performance/newTraceDetails/trace.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1103,16 +1103,16 @@ describe('trace view', () => {

expect(await screen.findByText('No Instrumentation')).toBeInTheDocument();

// // Toggle no instrumentation off
// await userEvent.click(await screen.findByText('No Instrumentation'));
// Toggle no instrumentation off
await userEvent.click(await screen.findByText('No Instrumentation'));

// await waitFor(() => {
// expect(screen.queryByText('No Instrumentation')).not.toBeInTheDocument();
// });
await waitFor(() => {
expect(screen.queryByText('No Instrumentation')).not.toBeInTheDocument();
});

// // Toggle no instrumentation on
// await userEvent.click(await screen.findByText('No Instrumentation'));
// expect(await screen.findAllByText('No Instrumentation')).toHaveLength(1);
// Toggle no instrumentation on
await userEvent.click(await screen.findByText('No Instrumentation'));
expect(await screen.findAllByText('No Instrumentation')).toHaveLength(1);
});
});
});
Expand Down

0 comments on commit c0d5287

Please sign in to comment.