Skip to content

Commit

Permalink
Fixed test issues
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexisD02 committed Sep 16, 2024
1 parent df90635 commit 0397034
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ describe('Connectors List', () => {
it('renders', async () => {
renderComponent();
expect(screen.getByRole('table')).toBeInTheDocument();
expect(screen.getAllByRole('row').length).toEqual(3);
expect(screen.getAllByRole('row').length).toEqual(4);
});

it('opens broker when row clicked', async () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,6 @@ describe('Connectors List Page', () => {
});
});

it('renders search input', async () => {
await renderComponent();
expect(
screen.getByPlaceholderText('Search by Connect Name, Status or Type')
).toBeInTheDocument();
});

it('renders list', async () => {
await renderComponent();
expect(screen.getByText('Connectors List')).toBeInTheDocument();
Expand Down

0 comments on commit 0397034

Please sign in to comment.