Skip to content

Commit

Permalink
fix(pipelines): fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
karthikjeeyar committed Dec 6, 2024
1 parent 98f329e commit 46f7531
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ describe('ComponentFilter', () => {
toggleCheckBoxByValue('component-2');

act(() => {
fireEvent.click(screen.getByRole('button', { name: 'Close chip group Component' }));
fireEvent.click(screen.getByRole('button', { name: 'Close label group Component' }));
});

waitFor(() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ describe('CveIdFilter', () => {
await toggleCheckboxByValue('count-2');

act(() => {
fireEvent.click(screen.getByRole('button', { name: 'close id2' }));
fireEvent.click(screen.getByRole('button', { name: 'Close id2' }));
});

waitFor(() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ describe('StatusFilter', () => {
});

act(() => {
fireEvent.click(screen.getByRole('button', { name: 'close key2' }));
fireEvent.click(screen.getByRole('button', { name: 'Close key2' }));
});

waitFor(() => {
Expand Down

0 comments on commit 46f7531

Please sign in to comment.