Skip to content

Commit

Permalink
[test] Improve visual screenshot canva (#708)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari authored Oct 7, 2024
1 parent 3b1017f commit f7abe23
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions test/regressions/TestViewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,7 @@ function TestViewer(props) {
{/* eslint-disable-next-line react/no-danger */}
<style dangerouslySetInnerHTML={{ __html: globalStyles }} />
<React.Suspense fallback={<div aria-busy />}>
<div
aria-busy={!ready}
data-testid="testcase"
style={{ backgroundColor: '#fff', display: 'inline-block', padding: '8px' }}
>
<div aria-busy={!ready} data-testid="testcase" style={{ display: 'block', padding: '8px' }}>
{children}
</div>
</React.Suspense>
Expand Down

0 comments on commit f7abe23

Please sign in to comment.