Adapt test case
Signed-off-by: daliu <liudaax@126.com>
This commit is contained in:
parent
220a306444
commit
ac0c1d2977
1 changed files with 2 additions and 2 deletions
|
@ -221,7 +221,7 @@ describe('TopicTable Components', () => {
|
|||
).toEqual(2);
|
||||
// Internal topic action buttons are disabled
|
||||
const internalTopicRow = screen.getByRole('row', {
|
||||
name: '__internal.topic 1 0 1 0 0 Bytes',
|
||||
name: '__internal.topic 1 0 1 0 Bytes 0 Bytes 0 0 0 0 0 0 0 0 Bytes',
|
||||
});
|
||||
expect(internalTopicRow).toBeInTheDocument();
|
||||
expect(
|
||||
|
@ -231,7 +231,7 @@ describe('TopicTable Components', () => {
|
|||
).toBeDisabled();
|
||||
// External topic action buttons are enabled
|
||||
const externalTopicRow = screen.getByRole('row', {
|
||||
name: 'external.topic 1 0 1 0 1 KB',
|
||||
name: 'external.topic 1 0 1 0 Bytes 0 Bytes 0 0 0 0 0 0 0 1 KB',
|
||||
});
|
||||
expect(externalTopicRow).toBeInTheDocument();
|
||||
const extBtn = within(externalTopicRow).getByRole('button', {
|
||||
|
|
Loading…
Add table
Reference in a new issue