mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
chore: fix html report layout (takes half the screen) (#35967)
This commit is contained in:
parent
932b6e6a56
commit
e9de07a556
@ -57,4 +57,8 @@
|
||||
border-left: none;
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
.header-title, .header-superheader {
|
||||
margin: 0 8px;
|
||||
}
|
||||
}
|
||||
|
||||
@ -132,16 +132,16 @@ const TestCaseViewLoader: React.FC<{
|
||||
}, [test, report, testId, testIdToFileIdMap]);
|
||||
|
||||
if (test === 'loading')
|
||||
return <div className='test-case-column vbox'></div>;
|
||||
return <div className='test-case-column'></div>;
|
||||
|
||||
if (test === 'not-found') {
|
||||
return <div className='test-case-column vbox'>
|
||||
return <div className='test-case-column'>
|
||||
<HeaderView title='Test not found' />
|
||||
<div className='test-case-location'>Test ID: {testId}</div>
|
||||
</div>;
|
||||
}
|
||||
|
||||
return <div className='test-case-column vbox'>
|
||||
return <div className='test-case-column'>
|
||||
<TestCaseView
|
||||
projectNames={report.json().projectNames}
|
||||
next={next}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user