Skip to content

Commit

Permalink
For pass test cases
Browse files Browse the repository at this point in the history
Signed-off-by: daliu <[email protected]>
  • Loading branch information
liudaac committed Feb 4, 2024
1 parent b6818f6 commit 1b37162
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,13 @@ describe('TopicTable Components', () => {
screen.getByRole('link', { name: '__internal.topic' })
).toBeInTheDocument();
expect(
screen.getByRole('row', { name: '__internal.topic 1 0 1 0 0 Bytes' })
screen.getByRole('row', { name: '__internal.topic 1 0 1 0 Bytes 0 Bytes 0 0 0 0 0 0 0 0 Bytes' })

Check warning on line 101 in kafka-ui-react-app/src/components/Topics/List/__tests__/TopicTable.spec.tsx

View workflow job for this annotation

GitHub Actions / build-and-test

Replace `·name:·'__internal.topic·1·0·1·0·Bytes·0·Bytes·0·0·0·0·0·0·0·0·Bytes'` with `⏎··········name:·'__internal.topic·1·0·1·0·Bytes·0·Bytes·0·0·0·0·0·0·0·0·Bytes',⏎·······`
).toBeInTheDocument();
expect(
screen.getByRole('link', { name: 'external.topic' })
).toBeInTheDocument();
expect(
screen.getByRole('row', { name: 'external.topic 1 0 1 0 1 KB' })
screen.getByRole('row', { name: 'external.topic 1 0 1 0 Bytes 0 Bytes 0 0 0 0 0 0 0 1 KB' })

Check warning on line 107 in kafka-ui-react-app/src/components/Topics/List/__tests__/TopicTable.spec.tsx

View workflow job for this annotation

GitHub Actions / build-and-test

Replace `·name:·'external.topic·1·0·1·0·Bytes·0·Bytes·0·0·0·0·0·0·0·1·KB'` with `⏎··········name:·'external.topic·1·0·1·0·Bytes·0·Bytes·0·0·0·0·0·0·0·1·KB',⏎·······`
).toBeInTheDocument();

expect(screen.getAllByRole('checkbox').length).toEqual(3);
Expand Down

0 comments on commit 1b37162

Please sign in to comment.