mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-13 07:35:33 +03:00
fix(html-reporter): annotations.size rendered 0 on UI (#21635)
Co-authored-by: Max Schmitt <max@schmitt.mx>
This commit is contained in:
parent
8e7ec88462
commit
9c8d0822d6
@ -44,7 +44,7 @@ export const TestCaseView: React.FC<{
|
||||
{test && <div className='test-case-title'>{test?.title}</div>}
|
||||
{test && <div className='test-case-location'>{test.location.file}:{test.location.line}</div>}
|
||||
{test && !!test.projectName && <ProjectLink projectNames={projectNames} projectName={test.projectName}></ProjectLink>}
|
||||
{annotations.size && <AutoChip header='Annotations'>
|
||||
{annotations.size > 0 && <AutoChip header='Annotations'>
|
||||
{[...annotations].map(annotation => <TestCaseAnnotationView type={annotation[0]} descriptions={annotation[1]} />)}
|
||||
</AutoChip>}
|
||||
{test && <TabbedPane tabs={
|
||||
|
Loading…
Reference in New Issue
Block a user