Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/renderer/components/fields/Tooltip.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ describe('renderer/components/fields/Tooltip.tsx', () => {

// Open tooltip
await userEvent.click(tooltipIconElement);
expect(screen.queryByText(props.tooltip as string)).toBeInTheDocument();
expect(screen.getByText(props.tooltip as string)).toBeInTheDocument();

// Close tooltip
await userEvent.click(tooltipIconElement);
Expand All @@ -39,7 +39,7 @@ describe('renderer/components/fields/Tooltip.tsx', () => {

// Open tooltip
await userEvent.click(tooltipIconElement);
expect(screen.queryByText(props.tooltip as string)).toBeInTheDocument();
expect(screen.getByText(props.tooltip as string)).toBeInTheDocument();

// Click outside to close
await userEvent.click(document.body);
Expand Down
Loading