Skip to content

Commit c9ed88c

Browse files
RI-7217 fix test
1 parent 872be01 commit c9ed88c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

redisinsight/ui/src/pages/rdi/pipeline-management/components/validation-errors-list/ValidationErrorsList.spec.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
import React from 'react'
32
import { render, screen } from 'uiSrc/utils/test-utils'
43

@@ -57,7 +56,7 @@ describe('ValidationErrorsList', () => {
5756

5857
const list = screen.getByRole('list')
5958
expect(list.tagName).toBe('UL')
60-
expect(list.parentElement?.tagName).toBe('P') // Text component renders as p tag
59+
expect(list.parentElement?.tagName).toBe('DIV')
6160

6261
const listItems = screen.getAllByRole('listitem')
6362
expect(listItems).toHaveLength(2)

0 commit comments

Comments
 (0)